:root {
  --sp-green-dark: #0f2e1d;
  --sp-green: #163f27;
  --sp-gold: #e8b93c;
  --sp-red: #d62828;
  --sp-yellow: #e8b93c;
  --sp-black: #14261b;
  --sp-cream: #faf7f0;
  --sp-white: #ffffff;
  --sp-ink: #1a1a1a;
  --radius: 14px;
  --shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  --max-width: 1200px;
  font-size: 16px;
}

/* ---------- Fly-to-cart ---------- */
.fly-to-cart {
  position: fixed;
  z-index: 10000;
  border-radius: 50%;
  object-fit: cover;
  pointer-events: none;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
  opacity: 1;
  will-change: transform, opacity;
  animation: fly-to-cart-arc 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fly-to-cart-arc {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate3d(var(--fly-x), var(--fly-y), 0) scale(0.15);
    opacity: 0;
  }
}

@keyframes nav-cart-pop {
  0%,
  100% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.35);
  }
  70% {
    transform: scale(0.9);
  }
}

.nav-cart-btn-pop {
  animation: nav-cart-pop 0.35s ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .fly-to-cart {
    display: none;
  }
}

/* ---------- Scroll-in reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- First-visit loading screen ---------- */
.site-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}

.site-loader-panel {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--sp-green-dark);
  transition: transform 1.1s cubic-bezier(0.76, 0, 0.24, 1);
}

.site-loader-panel-top {
  top: 0;
}

.site-loader-panel-bottom {
  bottom: 0;
}

.site-loader-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 1;
  transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.6s ease;
}

.site-loader-logo {
  width: 200px;
  height: auto;
  animation: site-loader-pulse 1.4s ease-in-out infinite;
}

.site-loader-text {
  color: var(--sp-gold);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 0.9rem;
  text-transform: uppercase;
}

@keyframes site-loader-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

.site-loader-exit .site-loader-panel-top {
  transform: translateY(-100%);
}

.site-loader-exit .site-loader-panel-bottom {
  transform: translateY(100%);
}

.site-loader-exit .site-loader-content {
  opacity: 0;
  transform: translate(-50%, -50%) scale(1.6);
}

@media (max-width: 480px) {
  .site-loader-logo {
    width: 140px;
  }
}

* {
  box-sizing: border-box;
}

/* Remove the default blue/gray tap-highlight rectangle mobile browsers
   draw on links and buttons when tapped (before any hover/active styles
   kick in). Each element still gets its own :active/:hover feedback. */
a,
button,
input,
textarea,
select,
[role="button"] {
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
}

/* ---------- Smooth cross-page navigation ---------- */
/* Native browser page transitions (Chrome/Edge). Falls back to an
   instant swap everywhere else — no JS, no risk. */
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: sp-page-fade-out 0.18s ease-out both;
}

::view-transition-new(root) {
  animation: sp-page-fade-in 0.22s ease-out both;
}

@keyframes sp-page-fade-out {
  to {
    opacity: 0;
  }
}

@keyframes sp-page-fade-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  background: var(--sp-cream);
  color: var(--sp-black);
  line-height: 1.5;
}

body > section {
  flex: 1;
}

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 780px) {
  section {
    padding: 32px 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  section {
    padding: 28px 0;
  }
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--sp-black);
  color: var(--sp-white);
  box-shadow: var(--shadow);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 40px;
  max-width: 1440px;
  margin: 0 auto;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 52px;
  width: auto;
}

.brand-mascot {
  height: 44px !important;
  width: auto;
  margin-right: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.nav-links li {
  display: flex;
  align-items: center;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--sp-yellow);
  border-color: var(--sp-yellow);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.nav-order-label-short {
  display: none;
}

.nav-cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: inherit;
  flex-shrink: 0;
}

.nav-right .nav-social {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
}

.nav-right .nav-social a {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-right .nav-social a svg {
  width: 16px;
  height: 16px;
}

.cart-badge {
  display: none;
  background: var(--sp-red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
  min-width: 18px;
  text-align: center;
  margin-left: 6px;
}

@media (max-width: 780px) {
  .nav-links {
    display: none;
  }
  .nav-right .nav-social {
    display: none;
  }
  .nav-cart-btn {
    display: none;
  }
}

@media (max-width: 480px) {
  .nav-wrap {
    padding: 10px 16px;
  }
  .brand img {
    height: 40px;
  }
  .nav-order-btn {
    padding: 0 14px;
    font-size: 0.75rem;
  }
  .nav-order-label-full {
    display: none;
  }
  .nav-order-label-short {
    display: inline;
  }
}

/* ---------- Mobile bottom nav ---------- */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 780px) {
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    left: 12px;
    right: 12px;
    max-width: calc(100vw - 24px);
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 100;
    background: rgba(15, 46, 29, 0.82);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(232, 185, 60, 0.18);
    border-radius: 999px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    padding: 8px 6px;
    box-sizing: border-box;
  }

  body {
    padding-bottom: 0;
  }

  .site-footer {
    padding-bottom: calc(84px + 24px);
  }

  .nav-indicator {
    position: absolute;
    top: 8px;
    left: 0;
    bottom: 8px;
    background: rgba(232, 185, 60, 0.15);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), width 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    z-index: 0;
  }

  .mobile-bottom-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 2px;
    border-radius: 999px;
    color: #9fb0a4;
    position: relative;
    z-index: 1;
    transition: color 0.2s, background 0.2s, transform 0.15s;
    -webkit-tap-highlight-color: transparent;
    outline: none;
  }

  .mobile-bottom-nav a:active {
    transform: scale(0.94);
  }

  .mobile-bottom-nav a svg {
    width: 21px;
    height: 21px;
    transition: transform 0.2s;
  }

  .mobile-bottom-nav a.active svg {
    transform: translateY(-1px);
  }

  .mobile-bottom-nav a span {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2px;
  }

  .mobile-bottom-nav a.active {
    color: var(--sp-gold);
  }

  .mobile-bottom-nav .bottom-nav-badge {
    position: absolute;
    top: 0;
    right: 18%;
    margin: 0;
    background: var(--sp-gold);
    color: var(--sp-black);
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn-primary {
  background: var(--sp-gold);
  color: var(--sp-black);
}

.btn-primary:hover {
  background: #d6a52c;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--sp-gold);
  color: var(--sp-gold);
}

.btn-secondary:hover {
  background: var(--sp-gold);
  color: var(--sp-black);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.nav-order-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 34px;
  padding: 0 20px;
  font-size: 0.85rem;
  line-height: 1;
  white-space: nowrap;
}

.nav-cart-btn svg {
  width: 20px;
  height: 20px;
}

.nav-cart-btn .cart-badge {
  position: absolute;
  top: -2px;
  right: -4px;
  margin: 0;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--sp-black);
  color: var(--sp-black);
}

.btn-outline:hover {
  background: var(--sp-black);
  color: #fff;
}

.btn-block {
  width: 100%;
  text-align: center;
}

.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.55);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  padding: 40px 20px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 16px;
  color: var(--sp-yellow);
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

.hero-content p {
  font-size: 1.2rem;
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

/* ---------- Sections ---------- */
section {
  padding: 50px 0;
}

.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  margin: 0 0 10px;
  color: var(--sp-black);
}

.section-sub {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
  color: #555;
  font-size: 1.05rem;
}

.alt-bg {
  background: var(--sp-white);
}

/* ---------- Cards / Grids ---------- */
.grid {
  display: grid;
  gap: 28px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1100px) {
  .grid-4,
  .grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .grid-3,
  .grid-4,
  .grid-5 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 620px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5 {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* ---------- Menu grid size toggle ---------- */
.menu-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.menu-toolbar .menu-filters {
  margin-bottom: 0;
  justify-content: flex-start;
  flex: 1;
}

.grid-size-toggle {
  display: flex;
  gap: 4px;
  background: #fff;
  border: 1px solid #e6e2d8;
  border-radius: 10px;
  padding: 4px;
  flex-shrink: 0;
}

.grid-size-toggle button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 30px;
  border: none;
  background: transparent;
  border-radius: 7px;
  color: #999;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.grid-size-toggle button svg {
  width: 18px;
  height: 14px;
}

.grid-size-toggle button:hover {
  background: #f2efe6;
  color: var(--sp-black);
}

.grid-size-toggle button.active {
  background: var(--sp-green-dark);
  color: #fff;
}

@media (max-width: 700px) {
  .grid-size-toggle {
    display: none;
  }
}

/* ---------- Home: Menu coverflow (mobile) ---------- */
.menu-coverflow {
  display: none;
}

@media (max-width: 620px) {
  .menu-coverflow {
    display: block;
  }

  .menu-coverflow-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(2px, 1.5vw, 4px);
    padding: 34px 0 14px;
    width: 100%;
    max-width: 100%;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
  }

  .coverflow-item {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
  }

  .coverflow-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.18));
    -webkit-user-drag: none;
    pointer-events: none;
  }

  .coverflow-side {
    width: clamp(64px, 22vw, 100px);
    height: clamp(96px, 33vw, 150px);
    flex-shrink: 0;
    opacity: 0.5;
    transition: opacity 0.2s, transform 0.2s;
  }

  .coverflow-side:active {
    opacity: 0.8;
    transform: scale(0.96);
  }

  .coverflow-center {
    width: clamp(160px, 56vw, 250px);
    height: clamp(180px, 63vw, 280px);
    flex-shrink: 0;
    display: block;
    cursor: pointer;
    animation: coverflow-pop 0.35s ease-out;
  }

  @keyframes coverflow-pop {
    0% {
      clip-path: circle(0% at 50% 50%);
      transform: scale(0.85);
      opacity: 0;
    }
    100% {
      clip-path: circle(75% at 50% 50%);
      transform: scale(1);
      opacity: 1;
    }
  }

  .menu-coverflow-name {
    display: inline-block;
    text-align: center;
    margin: 18px auto 0;
    padding: 8px 22px;
    background: var(--sp-green-dark);
    color: #fff;
    border-radius: 999px;
    font-size: 1.05rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    box-shadow: var(--shadow);
  }

  .menu-coverflow {
    text-align: center;
  }

  .menu-coverflow-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
  }

  .menu-coverflow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d8d2c2;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
  }

  .menu-coverflow-dot.active {
    background: var(--sp-green-dark);
    transform: scale(1.3);
  }
}

.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-4px);
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  background: var(--sp-cream);
}

.card-body {
  padding: 18px 20px 22px;
}

.card-body h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}

.card-body p {
  margin: 0 0 14px;
  color: #666;
  font-size: 0.92rem;
}

.card-price {
  font-weight: 800;
  color: var(--sp-red);
  font-size: 1.1rem;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

/* ---------- Why section ---------- */
.why-item {
  text-align: center;
  padding: 20px;
}

.why-item .icon {
  font-size: 2.6rem;
  margin-bottom: 12px;
}

.why-item h3 {
  margin: 0 0 8px;
}

.why-item p {
  color: #666;
  margin: 0;
}

/* ---------- Menu Page ---------- */
.menu-filters {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 2px solid var(--sp-black);
  background: transparent;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--sp-black);
  color: #fff;
}

/* ---------- Order page ---------- */
.order-section {
  padding-top: 44px;
}

.cart-page-layout {
  max-width: 460px;
  margin: 0 auto;
}

.cart-page-layout .cart-panel {
  position: static;
}

.order-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  margin-bottom: 30px;
  border-bottom: 1px solid #e6e2d8;
}

.order-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--sp-black);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.order-filter-btn svg {
  width: 18px;
  height: 18px;
}

.order-filter-btn:hover {
  background: rgba(20, 38, 27, 0.06);
}

.order-filter-btn.active {
  background: var(--sp-green-dark);
  color: #fff;
}

.order-layout {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 900px) {
  .order-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .order-layout .cart-panel {
    display: none;
  }
}

/* Cards are a simple thumbnail + name + price + Add button — the item
   detail popup (see .size-sheet-overlay) is what shows description and
   size options, opened by clicking anywhere on the card. */
.order-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.order-card .card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Pin price to the top of the leftover space and the Add button to the
   bottom, so both line up across row siblings regardless of how long a
   name wraps to. */
.order-card .card-body > .single-price {
  margin-top: auto;
}

.order-card .card-body > .order-add-btn {
  margin-bottom: auto;
}

.order-card .single-price {
  margin-bottom: 0;
}

.size-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.size-option {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid #e6e2d8;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.size-option > span:first-child {
  margin-right: auto;
  padding-right: 8px;
  min-width: 0;
}

.size-option:hover {
  border-color: #c9c2af;
  transform: translateY(-1px);
}

.size-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.size-option-radio {
  position: relative;
  width: 18px;
  height: 18px;
  margin-left: 10px;
  border-radius: 50%;
  border: 2px solid #cfc9ba;
  flex-shrink: 0;
  transition: border-color 0.2s ease;
}

.size-option-radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--sp-green-dark);
  transform: scale(0);
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.size-option.checked .size-option-radio {
  border-color: var(--sp-green-dark);
}

.size-option.checked .size-option-radio::after {
  transform: scale(1);
}

.size-option-price {
  font-weight: 700;
  margin-left: 10px;
  white-space: nowrap;
  flex-shrink: 0;
  color: var(--sp-black);
}

.size-option.checked {
  border-color: var(--sp-green-dark);
  background: rgba(22, 63, 39, 0.05);
  box-shadow: 0 2px 8px rgba(22, 63, 39, 0.1);
}

.single-price {
  font-weight: 800;
  margin: 4px 0 14px;
}

/* .card-body p (and .order-card .card-body p inside the >=901px media
   block) both set their own color/font-size and beat the plain
   .single-price class rule above on specificity, regardless of source
   order. .order-card .card-body p is (0,2,1) — matching this selector's
   own specificity — so it can still win at a tie by sitting later in
   the file (e.g. inside a later media query). Scope through
   .order-card too so this rule is never lower specificity than any
   variant of the selector it needs to beat, at any viewport width. */
.order-card .card-body p.single-price {
  color: #000;
  font-size: 1.15rem;
}

.order-add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.15s ease;
}

.order-add-btn svg {
  width: 16px;
  height: 16px;
}

.order-add-btn.added {
  background: var(--sp-green-dark);
  color: #fff;
  transform: scale(0.98);
}

[data-order-now-link] {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

[data-order-now-link] svg {
  width: 18px;
  height: 18px;
}

/* ---------- Cart panel ---------- */
.cart-panel {
  background: var(--sp-green-dark);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  position: sticky;
  top: 100px;
}

.cart-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.cart-panel-head svg {
  width: 22px;
  height: 22px;
  color: var(--sp-gold);
}

.cart-panel-head h2 {
  margin: 0;
  font-size: 1.2rem;
  flex: 1;
}

.cart-panel-count {
  background: var(--sp-gold);
  color: var(--sp-black);
  font-weight: 800;
  font-size: 0.8rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-clear-link {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
  transition: color 0.15s;
}

.cart-clear-link:hover {
  color: var(--sp-red);
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-control button {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}

.qty-control button:hover {
  background: rgba(232, 185, 60, 0.15);
  border-color: var(--sp-gold);
}

.qty-control button:active {
  transform: scale(0.9);
}

.cart-line {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  gap: 12px;
  overflow: hidden;
  max-height: 100px;
  transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.35s ease, margin 0.35s ease;
}

.cart-line-removing {
  opacity: 0;
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-bottom-color: transparent;
}

.cart-line-img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.cart-line-info {
  flex: 1;
  min-width: 0;
}

.cart-line-info strong {
  display: block;
  font-size: 0.9rem;
}

.cart-line-info span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
}

.cart-line-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.cart-line-subtotal {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--sp-gold);
}

.remove-line {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  display: inline-flex;
  padding: 4px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}

.remove-line:hover {
  color: var(--sp-red);
  background: rgba(214, 40, 40, 0.12);
}

.remove-line svg {
  width: 16px;
  height: 16px;
}

.cart-totals {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.cart-totals-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
}

.cart-totals-row.grand {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--sp-gold);
  margin-top: 4px;
}

.empty-cart {
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  padding: 30px 0;
}

.fulfillment-toggle {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.fulfillment-toggle button {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.fulfillment-toggle button svg {
  width: 16px;
  height: 16px;
}

.fulfillment-toggle button.active {
  background: var(--sp-gold);
  border-color: var(--sp-gold);
  color: var(--sp-black);
}

.cart-secure {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
  line-height: 1.4;
}

.cart-secure svg {
  width: 20px;
  height: 20px;
  color: var(--sp-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.cart-secure strong {
  color: #fff;
}

/* ---------- Order modal ---------- */
.order-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 20, 14, 0);
  transition: background 0.25s ease;
}

.order-modal-overlay[hidden] {
  display: none;
}

.order-modal-overlay.open {
  background: rgba(10, 20, 14, 0.6);
}

.order-modal {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--sp-green-dark);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  padding: 28px;
  transform: translateY(24px) scale(0.97);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.order-modal-overlay.open .order-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* ---------- Fulfillment prompt (menu.html, shown only when the homepage
   picker was skipped) — same overlay mechanics as .order-modal-overlay,
   but a light card instead of the dark order modal since there's no cart
   context to show alongside it here. ---------- */
.fulfillment-prompt-overlay {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 20, 14, 0.55);
}

.fulfillment-prompt-overlay[hidden] {
  display: none;
}

.fulfillment-prompt {
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  padding: 28px;
  text-align: center;
}

.fulfillment-prompt h3 {
  margin: 0 0 6px;
  font-size: 1.3rem;
  font-weight: 900;
}

.fulfillment-prompt > p {
  margin: 0 0 20px;
  color: #666;
}

.fulfillment-prompt .fulfillment-picker {
  margin-bottom: 0;
  text-align: left;
}

.order-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.order-modal-back {
  background: none;
  border: none;
  color: var(--sp-gold);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0;
  margin-bottom: 16px;
}

.order-modal h2 {
  margin: 0 0 4px;
}

.order-modal .form-group label {
  color: rgba(255, 255, 255, 0.8);
}

.order-modal .form-group input,
.order-modal .form-group select,
.order-modal .form-group textarea {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.order-modal .form-group input::placeholder,
.order-modal .form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.order-modal .form-group select option {
  color: var(--sp-black);
}

/* ---------- Forms ---------- */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #ddd;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
}

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

/* ---------- Floating labels ----------
   Markup: .form-group.form-float > input/textarea (placeholder=" ") + label
   The label sits inside the field until the field is focused or has a
   value, then it floats up above the border. Selects keep their normal
   top-aligned label since they always show a value. */
.form-group.form-float {
  position: relative;
  margin-bottom: 20px;
}

.form-group.form-float input,
.form-group.form-float textarea {
  padding: 18px 14px 8px;
}

.form-group.form-float textarea {
  padding-top: 20px;
}

.form-group.form-float label {
  position: absolute;
  left: 15px;
  top: 13px;
  margin: 0;
  font-weight: 500;
  font-size: 1rem;
  color: #8a8577;
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.15s ease, color 0.15s ease, top 0.15s ease;
}

.form-group.form-float input:focus + label,
.form-group.form-float input:not(:placeholder-shown) + label,
.form-group.form-float textarea:focus + label,
.form-group.form-float textarea:not(:placeholder-shown) + label {
  top: 6px;
  font-size: 0.72rem;
  transform: translateY(0);
  color: var(--sp-green);
}

.form-group.form-float input:focus + label,
.form-group.form-float textarea:focus + label {
  color: var(--sp-green);
}

.form-group.form-float .form-hint {
  margin: 6px 0 0;
  font-size: 0.82rem;
  color: #777;
}

.order-modal .form-group.form-float label {
  color: rgba(255, 255, 255, 0.55);
}

.order-modal .form-group.form-float input:focus + label,
.order-modal .form-group.form-float input:not(:placeholder-shown) + label,
.order-modal .form-group.form-float textarea:focus + label,
.order-modal .form-group.form-float textarea:not(:placeholder-shown) + label {
  color: var(--sp-gold);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 420px) {
  .form-row {
    gap: 10px;
  }
}

/* ---------- Find the Truck ---------- */
.status-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--sp-black);
  color: #fff;
  padding: 20px 26px;
  border-radius: var(--radius);
  margin-bottom: 36px;
}

.status-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sp-green);
  box-shadow: 0 0 0 4px rgba(42, 157, 92, 0.3);
}

.map-frame {
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.schedule-table th,
.schedule-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.schedule-table th {
  background: var(--sp-black);
  color: #fff;
}

.schedule-table tr:last-child td {
  border-bottom: none;
}

.schedule-location-name {
  display: block;
  font-weight: 600;
}

.schedule-location-address {
  display: block;
  color: #777;
  font-weight: 400;
}

@media (max-width: 620px) {
  .schedule-table {
    font-size: 0.8rem;
  }

  .schedule-table th,
  .schedule-table td {
    padding: 10px 8px;
  }

  .schedule-location-name {
    font-size: 0.85rem;
  }

  .schedule-location-address {
    font-size: 0.72rem;
    line-height: 1.3;
  }
}

@media (max-width: 420px) {
  .schedule-table {
    font-size: 0.74rem;
  }

  .schedule-table th,
  .schedule-table td {
    padding: 8px 6px;
  }

  /* Hide the full street address on very small screens — the location
     name plus the Weekly Schedule context is enough, and dropping it
     keeps the Day/Hours columns from being squeezed. */
  .schedule-location-address {
    display: none;
  }
}

.event-card {
  display: flex;
  gap: 18px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  margin-bottom: 16px;
  align-items: center;
}

.event-date {
  background: var(--sp-yellow);
  border-radius: 10px;
  padding: 10px 16px;
  text-align: center;
  font-weight: 800;
  min-width: 70px;
}

/* ---------- About ---------- */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 800px) {
  .about-hero {
    grid-template-columns: 1fr;
  }
}

.about-hero img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-hero .badge {
  display: inline-block;
  background: var(--sp-gold);
  color: var(--sp-black);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.about-hero p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #444;
  margin: 0 0 22px;
}

.about-hero p:last-child {
  margin-bottom: 0;
}

.belief-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .belief-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.belief-item {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.belief-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(22, 63, 39, 0.08);
  color: var(--sp-green-dark);
  margin-bottom: 12px;
}

.belief-icon svg {
  width: 22px;
  height: 22px;
}

.belief-item h3 {
  display: flex;
  align-items: center;
  margin: 0 0 8px;
}

@media (max-width: 620px) {
  .belief-grid {
    gap: 14px;
  }

  .belief-item {
    padding: 16px;
  }

  .belief-icon {
    width: 34px;
    height: 34px;
    margin-bottom: 8px;
  }

  .belief-icon svg {
    width: 17px;
    height: 17px;
  }

  .belief-item h3 {
    font-size: 0.95rem;
    margin: 0 0 4px;
  }

  .belief-item p {
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
  }
}

.social-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 20px;
}

/* ---------- Contact card (about page) ---------- */
.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 980px;
  margin: 0 auto;
  background: var(--sp-green-dark);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

@media (max-width: 800px) {
  .contact-card {
    grid-template-columns: 1fr;
  }
}

.contact-info {
  color: #fff;
  padding: 48px 40px;
}

.contact-info h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.2rem);
  font-weight: 900;
  margin: 6px 0 14px;
}

.contact-info p {
  color: #d9e3da;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 28px;
}

.contact-info .social-links {
  justify-content: flex-start;
  margin-top: 28px;
}

.contact-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-info-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: #d9e3da;
}

.contact-info-list svg {
  width: 18px;
  height: 18px;
  color: var(--sp-gold);
  flex-shrink: 0;
}

.contact-form {
  background: #fff;
  padding: 48px 40px;
}

.contact-form .form-group:last-of-type {
  margin-bottom: 24px;
}

.social-links a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--sp-black);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, color 0.2s ease;
}

.social-links a svg {
  width: 20px;
  height: 20px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-links a:hover {
  transform: translateY(-5px) scale(1.12);
  color: var(--sp-gold);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.25);
}

.social-links a:hover svg {
  transform: scale(1.08);
}

.social-links a:active {
  transform: translateY(-2px) scale(0.96);
}

.nav-right .nav-social a:hover {
  transform: scale(1.12);
  box-shadow: none;
}

.nav-right .nav-social a:active {
  transform: scale(0.96);
}

/* ---------- Confirmation / Stripe-redirect ---------- */
.confirm-section {
  display: flex;
  align-items: center;
  padding: 36px 0;
  position: relative;
  overflow: hidden;
}

.confirm-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 12% 15%, rgba(232, 185, 60, 0.14) 0%, rgba(232, 185, 60, 0) 55%),
    radial-gradient(circle at 88% 85%, rgba(22, 63, 39, 0.1) 0%, rgba(22, 63, 39, 0) 55%);
  pointer-events: none;
}

.confirm-section .container {
  position: relative;
  z-index: 1;
}

.confirm-box {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  padding: 32px 28px;
  border-radius: 20px;
  box-shadow: 0 12px 34px rgba(20, 38, 27, 0.14);
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  animation: confirm-box-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes confirm-box-in {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.confirm-box .icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  font-size: 1.8rem;
  background: linear-gradient(145deg, var(--sp-cream), #fff);
  box-shadow: inset 0 0 0 2px rgba(232, 185, 60, 0.35), 0 10px 24px rgba(20, 38, 27, 0.1);
}

/* Pending / processing state — gentle pulse */
.confirm-box .icon.icon-pending {
  animation: icon-pulse 1.8s ease-in-out infinite;
}

@keyframes icon-pulse {
  0%, 100% {
    box-shadow: inset 0 0 0 2px rgba(232, 185, 60, 0.35), 0 10px 24px rgba(20, 38, 27, 0.1);
    transform: scale(1);
  }
  50% {
    box-shadow: inset 0 0 0 2px rgba(232, 185, 60, 0.6), 0 10px 30px rgba(232, 185, 60, 0.25);
    transform: scale(1.05);
  }
}

.confirm-box .icon.icon-pending::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(232, 185, 60, 0.45);
  animation: icon-ring 1.8s ease-out infinite;
}

@keyframes icon-ring {
  0% {
    transform: scale(0.85);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

/* Success state — draw-on checkmark burst */
.confirm-box .icon.icon-success {
  background: linear-gradient(145deg, #e9f6ee, #fff);
  box-shadow: inset 0 0 0 2px rgba(22, 63, 39, 0.18), 0 10px 24px rgba(20, 38, 27, 0.12);
  animation: icon-pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}

@keyframes icon-pop {
  0% {
    transform: scale(0.4);
    opacity: 0;
  }
  70% {
    transform: scale(1.12);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

.confirm-box .icon.icon-success::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid var(--sp-green);
  opacity: 0;
  animation: icon-success-ring 0.9s ease-out 0.15s both;
}

@keyframes icon-success-ring {
  0% {
    transform: scale(0.7);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.confirm-box h1 {
  font-size: 1.5rem;
  margin: 0 0 8px;
  opacity: 0;
  animation: confirm-fade-up 0.5s ease 0.15s forwards;
}

.confirm-box > p {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0;
  animation: confirm-fade-up 0.5s ease 0.25s forwards;
}

@keyframes confirm-fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Progress bar for the "redirecting" state */
.confirm-progress {
  height: 5px;
  border-radius: 999px;
  background: rgba(22, 63, 39, 0.08);
  overflow: hidden;
  margin: 14px 0 0;
  opacity: 0;
  animation: confirm-fade-up 0.5s ease 0.3s forwards;
}

.confirm-progress-bar {
  height: 100%;
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sp-gold), #d6a52c);
  transform-origin: left;
  transform: scaleX(0);
  animation: confirm-progress-fill 1.6s cubic-bezier(0.4, 0, 0.2, 1) 0.4s infinite;
}

@keyframes confirm-progress-fill {
  0% {
    transform: scaleX(0);
  }
  60% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(1);
    opacity: 0;
  }
}

.order-summary {
  text-align: left;
  background: var(--sp-cream);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 16px 0;
  opacity: 0;
  animation: confirm-fade-up 0.5s ease 0.35s forwards;
}

.order-summary .cart-totals-row {
  color: var(--sp-black);
  opacity: 0.78;
  font-size: 0.88rem;
  padding: 2px 0;
  opacity: 0;
  animation: confirm-row-in 0.4s ease forwards;
}

.order-summary .cart-totals-row.grand {
  color: var(--sp-green);
  border-top: 1px dashed rgba(20, 38, 27, 0.15);
  margin-top: 6px;
  padding-top: 8px;
}

.order-summary .cart-totals-row:nth-child(1) { animation-delay: 0.4s; }
.order-summary .cart-totals-row:nth-child(2) { animation-delay: 0.46s; }
.order-summary .cart-totals-row:nth-child(3) { animation-delay: 0.52s; }
.order-summary .cart-totals-row:nth-child(4) { animation-delay: 0.58s; }
.order-summary .cart-totals-row:nth-child(5) { animation-delay: 0.64s; }
.order-summary .cart-totals-row:nth-child(6) { animation-delay: 0.7s; }
.order-summary .cart-totals-row:nth-child(n+7) { animation-delay: 0.76s; }

@keyframes confirm-row-in {
  from {
    opacity: 0;
    transform: translateX(-6px);
  }
  to {
    opacity: 0.78;
    transform: translateX(0);
  }
}

.order-summary hr {
  border: none;
  border-top: 1px solid rgba(20, 38, 27, 0.1);
  margin: 8px 0;
}

.confirm-box .btn,
.confirm-box form {
  opacity: 0;
  animation: confirm-fade-up 0.5s ease 0.5s forwards;
}

.confirm-box .btn.mt-24 {
  margin-top: 14px;
}

.confirm-box .btn-block + .btn-block {
  margin-top: 10px;
}

.confirm-box .btn.btn-block {
  padding: 12px 24px;
  font-size: 0.95rem;
}

.confirm-box .btn-primary.btn-block {
  position: relative;
  overflow: hidden;
}

.confirm-box .btn-primary.btn-block:active {
  transform: translateY(0) scale(0.98);
}

.confirm-box .fine-print {
  font-size: 0.78rem;
  line-height: 1.4;
  color: #888;
  margin: 12px 0 0;
  opacity: 0;
  animation: confirm-fade-up 0.5s ease 0.4s forwards;
}

.confirm-box .fine-print code {
  background: rgba(20, 38, 27, 0.06);
  padding: 1px 6px;
  border-radius: 6px;
}

/* Confetti burst for successful order confirmation */
.confetti-piece {
  position: fixed;
  top: -10px;
  z-index: 9999;
  pointer-events: none;
  border-radius: 2px;
  animation: confetti-fall linear forwards;
}

@keyframes confetti-fall {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translate3d(var(--confetti-x, 0), 100vh, 0) rotate(var(--confetti-spin, 360deg));
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .confirm-box,
  .confirm-box h1,
  .confirm-box > p,
  .confirm-box .icon,
  .confirm-box .icon::after,
  .confirm-progress,
  .confirm-progress-bar,
  .order-summary,
  .order-summary .cart-totals-row,
  .confirm-box .btn,
  .confirm-box .fine-print,
  .confetti-piece {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 780px) {
  .confirm-section {
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 600px) {
  .confirm-section {
    padding-top: 20px;
    align-items: flex-start;
  }

  .confirm-box {
    padding: 26px 18px 22px;
    border-radius: 16px;
  }

  .confirm-box .icon {
    width: 56px;
    height: 56px;
    font-size: 1.6rem;
    margin-bottom: 10px;
  }

  .confirm-box h1 {
    font-size: 1.25rem;
    line-height: 1.3;
  }

  .order-summary {
    padding: 12px 14px;
    margin: 14px 0;
  }
}

/* ---------- Home: Hero (dark green) ---------- */
.home-hero {
  position: relative;
  background: radial-gradient(circle at 15% 20%, #16472c 0%, var(--sp-green-dark) 55%);
  color: #fff;
  padding: 64px 0;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
  z-index: 0;
}

.hero-blob-1 {
  width: 420px;
  height: 420px;
  top: -180px;
  right: -120px;
  background: radial-gradient(circle, rgba(232, 185, 60, 0.16) 0%, rgba(232, 185, 60, 0) 70%);
}

.hero-blob-2 {
  width: 320px;
  height: 320px;
  bottom: -160px;
  left: 8%;
  background: radial-gradient(circle, rgba(232, 185, 60, 0.1) 0%, rgba(232, 185, 60, 0) 70%);
}

.home-hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.home-hero .container img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  max-height: 480px;
  object-fit: contain;
  margin: 0 auto;
  border-radius: var(--radius);
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.35));
}

.hero-float {
  position: absolute;
  z-index: 1;
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  padding: 10px;
  opacity: 0.95;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.35));
  animation: float-bob 4s ease-in-out infinite;
  pointer-events: none;
}

.hero-float-mascot {
  top: 50%;
  left: 3%;
  width: 150px;
  height: 150px;
  transform: translateY(-50%);
  background: none;
  padding: 0;
  animation-delay: 0.4s;
}

.hero-float-wings {
  top: 6%;
  right: 8%;
  animation: float-bob-a 5.5s ease-in-out infinite;
  animation-delay: 0s;
}

.hero-float-fish {
  bottom: 8%;
  right: 12%;
  width: 76px;
  height: 76px;
  animation: float-bob-b 6.5s ease-in-out infinite;
  animation-delay: 1s;
}

.hero-float-fries {
  top: 58%;
  right: 1%;
  width: 70px;
  height: 70px;
  animation: float-bob-c 5s ease-in-out infinite;
  animation-delay: 1.8s;
}

.hero-float-drinks {
  top: 28%;
  right: 0.5%;
  width: 64px;
  height: 64px;
  animation: float-bob-a 7s ease-in-out infinite;
  animation-delay: 2.6s;
}

.hero-float-soup {
  top: 42%;
  right: 8%;
  width: 78px;
  height: 78px;
  animation: float-bob-b 6s ease-in-out infinite;
  animation-delay: 0.6s;
}

@keyframes float-bob-a {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(6px, -18px) rotate(8deg);
  }
}

@keyframes float-bob-b {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-10px, -14px) rotate(-7deg);
  }
}

@keyframes float-bob-c {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-8px, 16px) rotate(6deg);
  }
}

@media (max-width: 1100px) {
  .hero-float-fish,
  .hero-float-fries,
  .hero-float-drinks,
  .hero-float-soup {
    display: none;
  }
}

@media (max-width: 850px) {
  .hero-float-fish,
  .hero-float-soup {
    display: none;
  }
  .hero-float-wings,
  .hero-float-drinks,
  .hero-float-fries {
    display: block;
    width: 52px;
    height: 52px;
  }
  .hero-float-wings {
    top: 2%;
    left: 6%;
    right: auto;
  }
  .hero-float-drinks {
    top: 4%;
    right: 6%;
    left: auto;
  }
  .hero-float-fries {
    bottom: auto;
    top: 46%;
    right: 4%;
  }
  .hero-float-mascot {
    display: block;
    position: absolute;
    top: 40%;
    bottom: auto;
    left: 4%;
    transform: none;
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 850px) {
  .home-hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .home-hero .hero-image-wrap {
    order: -1;
  }
  .hero-fulfillment-options {
    justify-content: center;
  }
  .hero-trust {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .home-hero {
    padding: 14px 0 24px;
  }
  .home-hero .container img {
    max-width: 240px;
    max-height: 240px;
  }
  .hero-heading-group {
    margin-top: -18px;
  }
  .home-hero .container {
    gap: 10px;
  }
  .hero-copy p,
  .hero-copy .hero-trust {
    margin-top: 18px;
  }
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(232, 185, 60, 0.12);
  border: 1px solid rgba(232, 185, 60, 0.35);
  color: var(--sp-gold);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.4px;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.home-hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.08;
  margin: 0 0 20px;
}

.home-hero h1 .accent {
  color: var(--sp-gold);
}

.home-hero p {
  font-size: 1.1rem;
  color: #d9e3da;
  margin: 0 0 30px;
  max-width: 480px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}

.hero-trust-item {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.hero-trust-item strong {
  color: var(--sp-gold);
  font-size: 1.05rem;
  font-weight: 800;
}

.hero-trust-item span {
  color: #b9c6bc;
  font-size: 0.78rem;
}

.hero-trust-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.18);
}

@media (min-width: 1101px) {
  .home-hero h1 {
    font-size: clamp(3.8rem, 4.8vw, 4.8rem);
  }
  .home-hero p {
    font-size: 1.3rem;
    max-width: 560px;
  }
  .hero-trust-item strong {
    font-size: 1.25rem;
  }
  .hero-trust-item span {
    font-size: 0.92rem;
  }
}

/* ---------- Hero order-type picker (replaces the old "Order Now" button) ---------- */
.hero-fulfillment-picker {
  margin: 0 0 30px;
}

.hero-fulfillment-prompt {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--sp-gold);
}

.hero-fulfillment-options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-fulfillment-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  background: var(--sp-gold);
  color: var(--sp-black);
  font-weight: 800;
  font-size: 1.02rem;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.hero-fulfillment-btn svg {
  width: 20px;
  height: 20px;
}

.hero-fulfillment-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(232, 185, 60, 0.35);
}

.hero-fulfillment-btn.selected {
  background: transparent;
  border-color: var(--sp-gold);
  color: var(--sp-gold);
}

@media (max-width: 480px) {
  .home-hero {
    padding: 14px 0 24px;
  }
  .hero-blob-1 {
    width: 260px;
    height: 260px;
    top: -110px;
    right: -100px;
  }
  .hero-blob-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
  }
  .home-hero .container {
    gap: 10px;
  }
  .home-hero p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-trust {
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 24px;
  }
  .hero-trust-divider {
    display: none;
  }
  .home-hero .container img {
    max-width: 220px;
    max-height: 220px;
  }
  .home-hero h1 {
    font-size: 1.7rem;
    margin-bottom: 12px;
  }
  .home-hero p {
    font-size: 0.92rem;
    margin-bottom: 20px;
  }
  .hero-copy p {
    margin-bottom: 0;
  }
  .hero-fulfillment-picker {
    width: 100%;
    margin-bottom: 18px;
  }
  .hero-fulfillment-prompt {
    font-size: 0.7rem;
  }
  .hero-fulfillment-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .hero-fulfillment-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 10px;
    font-size: 0.9rem;
  }
}

.hero-image-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-glow {
  position: absolute;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 185, 60, 0.25) 0%, rgba(232, 185, 60, 0) 70%);
  filter: blur(10px);
  z-index: 0;
}

.hero-tag {
  position: absolute;
  z-index: 2;
  bottom: 8%;
  right: 4%;
  background: var(--sp-gold);
  color: var(--sp-black);
  border-radius: 14px;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  transform: rotate(-4deg);
}

.hero-tag-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.hero-tag-price {
  font-size: 1.2rem;
  font-weight: 900;
}

@media (max-width: 850px) {
  .hero-tag {
    right: 50%;
    transform: translateX(50%) rotate(-4deg);
  }
}

.hero-mascot {
  position: absolute;
  z-index: 2;
  bottom: -6%;
  left: -8%;
  width: 34%;
  max-width: 170px;
  transform: rotate(-6deg);
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.35));
  pointer-events: none;
}

@media (max-width: 850px) {
  .hero-mascot {
    left: -2%;
    bottom: -4%;
    width: 28%;
    max-width: 120px;
  }
}

/* ---------- Home: Menu preview strip ---------- */
.menu-eyebrow {
  color: var(--sp-gold);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.menu-preview-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.menu-preview-head h2 {
  margin: 6px 0 0;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 900;
  color: var(--sp-black);
}

.menu-preview-head .tag {
  font-style: italic;
  color: #777;
}

.menu-card {
  display: block;
  background: #fff;
  border-radius: var(--radius);
  /* White cards on the near-white --sp-cream page background (#faf7f0)
     don't have enough contrast for the shadow alone to read as a crisp
     edge — it just looks like a soft blur. A thin border gives the card
     a defined boundary regardless of shadow softness/browser rendering. */
  border: 1px solid rgba(20, 38, 27, 0.08);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.menu-card:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 38, 27, 0.14);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

/* ---------- Home: featured menu marquee (desktop) ---------- */
.menu-marquee {
  display: none;
}

@media (min-width: 901px) {
  .menu-marquee {
    display: block;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
  }

  .menu-marquee-track {
    display: flex;
    gap: 28px;
    width: max-content;
    animation: menu-marquee-scroll 32s linear infinite;
  }

  .menu-marquee:hover .menu-marquee-track {
    animation-play-state: paused;
  }

  .menu-marquee .menu-card {
    flex: 0 0 auto;
    width: 220px;
  }
}

@keyframes menu-marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-1 * var(--marquee-distance, 50%)));
  }
}

.menu-card img {
  width: 100%;
  height: 170px;
  object-fit: contain;
  object-position: center;
  background: var(--sp-cream);
}

.menu-card-body {
  padding: 16px 18px 20px;
}

.menu-card-body h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.menu-card-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding: 3px 0;
  color: #444;
}

.menu-card-row strong {
  color: var(--sp-black);
}

@media (max-width: 620px) {
  .menu-preview-head {
    text-align: center;
    justify-content: center;
    margin-bottom: 8px;
  }
  .menu-preview-head > div {
    width: 100%;
  }
  .menu-preview-head .tag {
    width: 100%;
    text-align: center;
    margin-top: 4px;
  }
}

@media (max-width: 480px) {
  .menu-card img {
    height: 200px;
  }
}

/* ---------- Home: About / mascot band ---------- */
.about-band {
  position: relative;
  background: var(--sp-green-dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1.3fr auto;
  gap: 30px;
  align-items: center;
  overflow: hidden;
}

.about-band-photo {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.about-band > div {
  padding: 20px 0;
}

.about-band-mascot {
  align-self: end;
  max-width: 360px;
  height: auto;
  padding-right: 18px;
  transform-origin: 50% 100%;
  animation: mascot-wiggle 3.2s ease-in-out infinite;
}

@keyframes mascot-wiggle {
  0%,
  55%,
  100% {
    transform: rotate(0deg);
  }
  60% {
    transform: rotate(-4deg);
  }
  65% {
    transform: rotate(3deg);
  }
  70% {
    transform: rotate(-3deg);
  }
  75% {
    transform: rotate(2deg);
  }
  80% {
    transform: rotate(0deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-band-mascot {
    animation: none;
  }
}

.about-band-float {
  position: absolute;
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  padding: 10px;
  opacity: 0.95;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.35));
  animation: float-bob 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.about-band-float-1 {
  top: 6%;
  right: 35%;
  width: 90px;
  height: 90px;
  animation-delay: 0s;
}

.about-band-float-2 {
  top: 11%;
  right: 24%;
  width: 70px;
  height: 70px;
  animation-delay: 1.3s;
}

.about-band-float-3 {
  top: 29%;
  right: 30%;
  width: 70px;
  height: 70px;
  animation-delay: 2.4s;
}

@keyframes float-bob {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-14px) rotate(6deg);
  }
}

@media (max-width: 850px) {
  .about-band-float {
    width: 74px;
    height: 74px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(232, 185, 60, 0.3);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.4);
  }

  .about-band-float-1 {
    top: 4%;
    right: 5%;
    width: 74px;
    height: 74px;
  }

  .about-band-float-2 {
    top: 22%;
    right: 22%;
    width: 60px;
    height: 60px;
  }

  .about-band-float-3 {
    display: none;
  }
}

@media (max-width: 850px) {
  .about-band {
    display: block;
    padding: 28px 24px;
    text-align: left;
  }
  .about-band-photo {
    display: none;
  }
  .about-band > div {
    padding: 0;
    padding-right: 130px;
  }
  .about-band-mascot {
    position: absolute;
    right: -5px;
    bottom: 19px;
    max-width: 230px;
    padding: 0;
  }
  .about-band-icons {
    flex-direction: column;
    gap: 12px;
    justify-content: flex-start;
    margin-top: 18px;
  }
}

@media (max-width: 480px) {
  .about-band {
    padding: 24px 20px;
    border-radius: 0;
    margin: 0 -16px;
  }
  .about-band > div {
    padding-right: 100px;
  }
  .about-band-mascot {
    right: 12px;
    bottom: 16px;
    max-width: 150px;
  }
}

.about-band h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 900;
  margin: 6px 0 16px;
}

.about-band p {
  color: #d9e3da;
  margin: 0 0 20px;
}

.about-band-icons {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.about-band-icon-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: #d9e3da;
}

.about-band-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(232, 185, 60, 0.15);
  color: var(--sp-gold);
  flex-shrink: 0;
}

.about-band-icon-badge svg {
  width: 18px;
  height: 18px;
}

.about-band-icon-row span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.about-band-icon-row strong {
  color: #fff;
  font-weight: 700;
}

.about-band-icon-row em {
  font-style: normal;
  color: #b9c6bc;
  font-size: 0.8rem;
}

/* ---------- Home: Delivery ---------- */
.delivery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.delivery-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  text-align: left;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}

.delivery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
}

.delivery-logo {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

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

.delivery-logo.doordash {
  border: 1px solid #eee;
  background: #fafafa;
}

.delivery-card-body {
  flex: 1;
}

.delivery-card-body h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.delivery-card-body p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.4;
}

.delivery-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--sp-green-dark);
  transition: gap 0.2s;
}

.delivery-card-cta svg {
  width: 16px;
  height: 16px;
}

.delivery-card:hover .delivery-card-cta {
  gap: 10px;
}

@media (max-width: 480px) {
  .delivery-grid {
    gap: 12px;
  }
  .delivery-card {
    padding: 18px;
  }
  .delivery-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    margin-bottom: 12px;
  }
  .delivery-card-body h3 {
    font-size: 0.95rem;
  }
  .delivery-card-body p {
    font-size: 0.8rem;
  }
  .delivery-card-cta {
    margin-top: 12px;
    font-size: 0.82rem;
  }
}

/* ---------- Home: Truck CTA band ---------- */
.truck-band {
  position: relative;
  background: var(--sp-green-dark);
  color: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 40px 50px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
  align-items: center;
}

.truck-band-side {
  display: flex;
  align-items: center;
  gap: 20px;
}

.truck-band > * {
  position: relative;
  z-index: 1;
}

.truck-band-photo {
  max-width: 220px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.4));
}

.truck-band-copy .btn svg {
  width: 16px;
  height: 16px;
  margin-left: 6px;
  vertical-align: -2px;
}

.truck-band-location {
  display: block;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  min-width: 160px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}

.truck-band-location:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.truck-band-map {
  display: block;
  width: 100%;
  height: 90px;
  border: 0;
  pointer-events: none;
}

.truck-band-location-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  font-size: 0.8rem;
  white-space: nowrap;
}

.truck-band-location-label svg {
  width: 16px;
  height: 16px;
  color: var(--sp-gold);
  flex-shrink: 0;
}

.truck-band-location-label strong {
  font-size: 0.85rem;
}

.truck-band-location-label em {
  font-style: normal;
  font-size: 0.78rem;
  color: var(--sp-gold);
}

@media (max-width: 1100px) {
  .truck-band-photo {
    display: none;
  }
  .truck-band {
    grid-template-columns: 1fr auto;
  }
}

@media (max-width: 850px) {
  .truck-band {
    grid-template-columns: 1fr;
    padding: 36px 24px;
    text-align: center;
  }
  .truck-band-copy {
    text-align: left;
  }
  .truck-band-side {
    flex-direction: column;
    align-items: stretch;
  }
  .truck-band-location {
    order: 2;
  }
  .truck-band-schedule {
    order: 1;
  }
}

@media (max-width: 480px) {
  .truck-band {
    padding: 30px 20px;
    border-radius: 0;
    margin: 0 -16px;
  }
  .truck-band-schedule {
    width: 100%;
  }
}

.truck-band-schedule {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 20px 24px;
  min-width: 220px;
  max-width: 100%;
  box-sizing: border-box;
}

.truck-band-schedule h4 {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  color: var(--sp-gold);
  font-size: 0.9rem;
}

.truck-band-schedule h4 svg {
  width: 15px;
  height: 15px;
}

.truck-band-schedule .row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: #d9e3da;
}

.truck-band-directions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}

.truck-band-directions svg {
  width: 14px;
  height: 14px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--sp-green-dark);
  color: #d9e3da;
  padding: 40px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
  align-items: start;
  padding-bottom: 30px;
}

.footer-grid > * {
  min-width: 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

.footer-logo img {
  height: 140px;
  width: auto;
}

@media (max-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1;
    grid-row: 1;
    align-items: flex-start;
  }
  .footer-logo img {
    height: 100px;
  }
  .footer-col-follow {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
  }
  .footer-col-contact {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 420px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-brand,
  .footer-col-follow,
  .footer-col-contact {
    grid-column: 1;
  }
  .footer-brand {
    grid-row: 1;
  }
  .footer-col-follow {
    grid-row: 2;
  }
  .footer-col-contact {
    grid-row: 3;
  }
}

.footer-grid h4 {
  color: var(--sp-gold);
  margin: 0 0 14px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 10px;
}

.footer-grid a:hover {
  color: var(--sp-gold);
}

.footer-info-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  min-width: 0;
}

.footer-info-list li span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.footer-info-list svg {
  width: 16px;
  height: 16px;
  color: var(--sp-gold);
  flex-shrink: 0;
}

.site-footer .social-links {
  display: flex;
  gap: 10px;
  margin-top: 6px;
  justify-content: flex-start;
}

.site-footer .social-links a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.site-footer .social-links a:hover {
  background: var(--sp-gold);
  color: var(--sp-black);
}

.site-footer .social-links a svg {
  width: 15px;
  height: 15px;
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.footer-bottom {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.6px;
  color: rgba(217, 227, 218, 0.6);
  padding: 20px 0 6px;
}

.footer-copyright {
  text-align: center;
  font-size: 0.78rem;
  color: rgba(217, 227, 218, 0.5);
  padding-bottom: 20px;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
  padding-bottom: 14px;
}

.footer-legal-links a {
  font-size: 0.78rem;
  color: rgba(217, 227, 218, 0.65);
  text-decoration: none;
}

.footer-legal-links a:hover {
  color: var(--sp-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- Utility ---------- */
.center {
  text-align: center;
}

.mt-24 {
  margin-top: 24px;
}

.badge {
  display: inline-block;
  background: var(--sp-yellow);
  color: var(--sp-black);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 10px;
}

/* ============================================================
   Order page — desktop redesign (901px+ only; mobile untouched)
   ============================================================ */
@media (min-width: 901px) {
  .order-section {
    padding-top: 36px;
    padding-bottom: 70px;
  }

  /* ---- Header row: title + sticky filter pills ---- */
  .order-section .container > .order-filters {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #ece7d9;
    border-radius: 999px;
    padding: 8px;
    margin: 0 0 36px;
    box-shadow: 0 4px 16px rgba(20, 38, 27, 0.06);
  }

  .order-filter-btn {
    padding: 11px 20px;
    border-radius: 999px;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
  }

  .order-filter-btn:hover {
    background: rgba(22, 63, 39, 0.08);
  }

  .order-filter-btn.active {
    background: var(--sp-green-dark);
    color: #fff;
    box-shadow: 0 3px 10px rgba(15, 46, 29, 0.28);
  }

  /* ---- Layout: menu grid + sticky cart rail ---- */
  .order-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 40px;
  }

  #menu-grid.grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  /* ---- Product cards ---- */
  .order-card {
    border-radius: 18px;
    border: 1px solid #efeadd;
    box-shadow: 0 2px 10px rgba(20, 38, 27, 0.05);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  }

  .order-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(20, 38, 27, 0.14);
    border-color: #e2dbc7;
  }

  .order-card img {
    height: 190px;
    padding: 14px;
    box-sizing: border-box;
  }

  .order-card .card-body {
    padding: 16px 20px 20px;
  }

  .order-card .card-body h3 {
    font-size: 1.08rem;
    letter-spacing: -0.01em;
  }

  .order-card .card-body p {
    font-size: 0.87rem;
    line-height: 1.5;
    min-height: 0;
  }

  .single-price {
    font-size: 1.25rem;
  }

  .size-option {
    padding: 9px 12px;
    border-radius: 10px;
  }

  .order-add-btn {
    padding: 12px 24px;
    font-size: 0.92rem;
  }

  /* ---- Sticky cart rail ---- */
  .order-layout .cart-panel {
    top: 110px;
    border-radius: 20px;
    padding: 28px 24px;
    background: linear-gradient(165deg, var(--sp-green-dark) 0%, #0d2417 100%);
    box-shadow: 0 20px 44px rgba(15, 46, 29, 0.28);
  }

  .cart-panel-head h2 {
    font-size: 1.25rem;
    letter-spacing: -0.01em;
  }

  .order-layout [data-order-now-link] {
    padding: 14px 24px;
  }

  .cart-line {
    padding: 14px 0;
  }

  .cart-line-img {
    width: 52px;
    height: 52px;
    border-radius: 10px;
  }

  .cart-line-info strong {
    font-size: 0.94rem;
  }

  .cart-totals {
    margin-top: 20px;
    padding-top: 16px;
  }

  .cart-totals-row {
    font-size: 0.94rem;
  }

  .cart-totals-row.grand {
    font-size: 1.35rem;
  }

  .order-layout [data-open-order-modal] {
    padding: 15px 24px;
    font-size: 1rem;
  }

  .order-layout [data-open-order-modal]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(232, 185, 60, 0.35);
  }

  .cart-secure {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
}

/* ==========================================================================
   Pickup & Local Delivery System — fulfillment UI, delivery panel, toasts
   ========================================================================== */

/* ---------- Toasts ---------- */
.sp-toast-container {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(360px, calc(100vw - 40px));
}

.sp-toast {
  background: var(--sp-black);
  color: #fff;
  padding: 14px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  border-left: 4px solid var(--sp-gold);
}

.sp-toast-in {
  opacity: 1;
  transform: translateX(0);
}

.sp-toast-success {
  border-left-color: var(--sp-green);
}

.sp-toast-error {
  border-left-color: var(--sp-red);
}

@media (max-width: 480px) {
  .sp-toast-container {
    left: 16px;
    right: 16px;
    top: 80px;
    max-width: none;
  }
}

/* ---------- Inline form errors ---------- */
.sp-inline-error {
  color: var(--sp-red);
  font-size: 0.85rem;
  font-weight: 600;
  margin: 6px 0 0;
}

.form-group.sp-has-error input,
.form-group.sp-has-error select,
.form-group.sp-has-error textarea {
  border-color: var(--sp-red);
}

/* ---------- Checkout page ---------- */
.checkout-header {
  text-align: center;
  margin-bottom: 28px;
}

.checkout-header h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 900;
  margin: 0 0 6px;
  color: var(--sp-black);
}

.checkout-header p {
  color: #666;
  font-size: 0.98rem;
  margin: 0;
}

.checkout-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(20, 38, 27, 0.08);
  padding: 22px;
  margin-bottom: 20px;
}

/* On mobile, the Pickup/Delivery summary badge and its location/address
   card visually move to right after "Your Info" instead of sitting at the
   top of the page (spec: don't lead with it on a small screen — lead with
   the form). checkout-main and the form share one flex column via
   `display: contents` on the form, so every .checkout-card in the funnel
   (summary badge, pickup/delivery step, info, payment) becomes orderable
   against each other regardless of the form/wrapper split in the markup.
   Desktop keeps normal DOM order — the summary badge stays first there. */
@media (max-width: 780px) {
  .checkout-main {
    display: flex;
    flex-direction: column;
  }
  .checkout-main > form {
    display: contents;
  }
  .checkout-fulfillment-card {
    order: 2;
  }
  .checkout-info-card {
    order: 1;
  }
  .checkout-main .checkout-card:not(.checkout-fulfillment-card):not(.checkout-info-card) {
    order: 3;
  }
}

.checkout-card-title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9a9585;
  margin: 0 0 16px;
}

.checkout-card .fulfillment-picker,
.checkout-card .form-group:last-child,
.checkout-card .form-row:last-child {
  margin-bottom: 0;
}

/* Mobile-only total + Continue bar, shown in place of the desktop submit
   button — sits in normal page flow directly under the payment picker,
   not floating/fixed, so it never overlaps the footer or bottom nav. */
.checkout-mobile-submit-bar {
  display: none;
}

@media (max-width: 780px) {
  .checkout-submit-desktop {
    display: none;
  }

  .checkout-mobile-submit-bar:not([hidden]) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 24px;
    background: var(--sp-green-dark);
    color: #fff;
    border-radius: 14px;
    padding: 14px 16px;
  }

  .checkout-mobile-submit-total {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .checkout-mobile-submit-total span:first-child {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.2;
  }

  .checkout-mobile-submit-total strong {
    font-size: 1.05rem;
    color: var(--sp-gold);
    line-height: 1.2;
  }

  .checkout-mobile-submit-bar .btn {
    padding: 10px 20px;
    font-size: 0.88rem;
    flex-shrink: 0;
  }

  /* A clearly "disabled" look on the dark bar instead of washed-out
     50%-opacity gold, which reads as broken rather than inactive. */
  .checkout-mobile-submit-bar .btn[disabled] {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.45);
    opacity: 1;
  }
}

/* ---------- Fulfillment method selector (checkout) ---------- */
.fulfillment-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

@media (max-width: 480px) {
  .fulfillment-picker {
    gap: 8px;
  }
}

.fulfillment-option {
  display: block;
  text-align: left;
  background: #fff;
  border: 2px solid #e5e0d5;
  border-radius: 12px;
  padding: 14px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  width: 100%;
}

.fulfillment-option:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.fulfillment-option.selected {
  border-color: var(--sp-gold);
  box-shadow: 0 0 0 3px rgba(232, 185, 60, 0.25);
}

.fulfillment-option-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--sp-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 8px;
}

.fulfillment-option-icon svg {
  width: 15px;
  height: 15px;
  color: var(--sp-green);
}

.order-modal .fulfillment-option-icon svg {
  color: var(--sp-gold);
}

.fulfillment-option h3 {
  margin: 0 0 3px;
  font-size: 0.92rem;
  font-weight: 800;
}

.fulfillment-option p {
  margin: 0;
  color: #666;
  font-size: 0.78rem;
  line-height: 1.35;
}

.fulfillment-option-price {
  display: inline-block;
  margin-top: 6px;
  font-weight: 700;
  color: var(--sp-green);
  font-size: 0.76rem;
}

/* ---------- Read-only fulfillment summary (menu/cart/checkout, once the
   choice was already made on the homepage) with a "Change" link back to
   the homepage picker. ---------- */
.fulfillment-summary {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fulfillment-summary-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--sp-cream);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fulfillment-summary-icon svg {
  width: 17px;
  height: 17px;
  color: var(--sp-green);
}

.fulfillment-summary-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.fulfillment-summary-text strong {
  font-size: 0.95rem;
}

.fulfillment-summary-text span {
  font-size: 0.78rem;
  color: #666;
}

.fulfillment-summary-change {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--sp-green);
  text-decoration: underline;
  white-space: nowrap;
}

/* ---------- Today's location card (checkout pickup step, home, find-the-truck) ---------- */
.today-location-card {
  background: var(--sp-cream);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.today-location-card .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--sp-green);
  margin: 0 0 8px;
}

.today-location-card h3 {
  margin: 0 0 4px;
  font-size: 1.25rem;
  font-weight: 800;
}

.today-location-card .address {
  margin: 0 0 10px;
  color: #555;
}

.today-location-card .hours {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.today-location-card.closed {
  background: #fbeaea;
  border-color: rgba(214, 40, 40, 0.25);
}

.today-location-card.closed h3 {
  color: var(--sp-red);
}

/* ---------- Delivery address form + result panel ---------- */
.delivery-result {
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-top: 18px;
  border: 2px solid transparent;
}

.delivery-result.eligible {
  background: rgba(22, 63, 39, 0.06);
  border-color: var(--sp-green);
}

.delivery-result.ineligible {
  background: rgba(214, 40, 40, 0.06);
  border-color: var(--sp-red);
}

.delivery-result h4 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
}

.delivery-result.eligible h4 {
  color: var(--sp-green);
}

.delivery-result.ineligible h4 {
  color: var(--sp-red);
}

.delivery-result p {
  margin: 0 0 6px;
  color: #444;
  font-size: 0.92rem;
}

.delivery-result-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.partner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  color: #fff;
}

.partner-btn img {
  height: 18px;
}

.partner-btn.doordash {
  background: #d62828;
}

.partner-btn.ubereats {
  background: #14261b;
}

.closed-banner {
  background: var(--sp-black);
  color: #fff;
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
  margin-bottom: 30px;
}

.closed-banner h3 {
  color: var(--sp-gold);
  margin: 0 0 8px;
}

.closed-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- Fulfillment/payment picker inside the dark order modal ---------- */
.fulfillment-picker-modal {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 0;
}

.order-modal .fulfillment-option {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  padding: 12px;
}

.order-modal .fulfillment-option-icon {
  background: rgba(255, 255, 255, 0.1);
}

.order-modal .fulfillment-option p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.76rem;
}

.order-modal .fulfillment-option.selected {
  border-color: var(--sp-gold);
  background: rgba(232, 185, 60, 0.12);
  box-shadow: 0 0 0 2px rgba(232, 185, 60, 0.3);
}

.order-modal .fulfillment-option-price {
  color: var(--sp-gold);
}

/* ---------- Read-only fulfillment summary inside the dark order modal ---------- */
.fulfillment-summary-modal {
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 14px;
  margin: 20px 0 4px;
}

.fulfillment-summary-modal .fulfillment-summary-icon {
  background: rgba(255, 255, 255, 0.1);
}

.fulfillment-summary-modal .fulfillment-summary-icon svg {
  color: var(--sp-gold);
}

.fulfillment-summary-modal .fulfillment-summary-text strong {
  color: #fff;
}

.fulfillment-summary-modal .fulfillment-summary-text span {
  color: rgba(255, 255, 255, 0.65);
}

.fulfillment-summary-modal .fulfillment-summary-change {
  color: var(--sp-gold);
}

.order-modal .delivery-result {
  background: rgba(255, 255, 255, 0.06);
}

.order-modal .delivery-result.eligible {
  border-color: var(--sp-gold);
  background: rgba(232, 185, 60, 0.1);
}

.order-modal .delivery-result.ineligible {
  border-color: #e88686;
  background: rgba(214, 40, 40, 0.12);
}

.order-modal .delivery-result h4 {
  color: var(--sp-gold);
}

.order-modal .delivery-result.ineligible h4 {
  color: #f0a8a8;
}

.order-modal .delivery-result p {
  color: rgba(255, 255, 255, 0.8);
}

.order-modal .today-location-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.order-modal .today-location-card .address {
  color: rgba(255, 255, 255, 0.75);
}

.order-modal .today-location-card .eyebrow {
  color: var(--sp-gold);
}

/* ---------- Legal / info pages (terms, privacy, refund policy, FAQ) ---------- */
.legal-page .container {
  max-width: 820px;
}

.legal-updated {
  text-align: center;
  color: #777;
  font-size: 0.92rem;
  margin: -6px 0 36px;
}

.legal-content h2 {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 36px 0 12px;
  color: var(--sp-green);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 20px 0 8px;
  color: var(--sp-black);
}

.legal-content p {
  margin: 0 0 14px;
  color: #333;
}

.legal-content ul {
  margin: 0 0 14px;
  padding-left: 22px;
  color: #333;
}

.legal-content li {
  margin-bottom: 6px;
}

.legal-content a {
  color: var(--sp-green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-note {
  background: rgba(232, 185, 60, 0.15);
  border: 1px solid rgba(232, 185, 60, 0.5);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin: 0 0 30px;
  font-size: 0.92rem;
  color: #5a4a12;
}

/* FAQ accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--sp-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 48px 18px 22px;
  font-weight: 700;
  color: var(--sp-black);
  position: relative;
  display: flex;
  align-items: center;
}

.faq-item > summary::-webkit-details-marker {
  display: none;
}

.faq-item > summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--sp-green);
  transition: transform 0.2s ease;
}

.faq-item[open] > summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item .faq-answer {
  padding: 0 22px 20px;
  color: #444;
  line-height: 1.6;
}

.faq-item .faq-answer p {
  margin: 0 0 10px;
}

.faq-item .faq-answer p:last-child {
  margin-bottom: 0;
}

/* ---------- Compact menu/order cards on small screens (2-up grid) ---------- */
/* Placed at end of file so these overrides win the cascade against
   earlier same-specificity selectors (e.g. .size-option, .card-body h3). */
@media (max-width: 620px) {
  .card img {
    height: 110px;
  }

  .card-body {
    padding: 12px 14px 16px;
  }

  .card-body h3 {
    font-size: 0.95rem;
    line-height: 1.25;
    margin-bottom: 4px;
  }

  .card-body p {
    font-size: 0.78rem;
    line-height: 1.35;
    margin-bottom: 10px;
  }

  .order-card .card-body {
    padding: 12px 14px 16px;
  }

  .size-options {
    gap: 6px;
    margin-bottom: 10px;
  }

  .size-option {
    padding: 6px 8px;
    font-size: 0.7rem;
    gap: 4px;
  }

  .size-option-price {
    margin-left: 4px;
  }

  .size-option-radio {
    width: 14px;
    height: 14px;
    margin-left: 4px;
  }

  .single-price {
    margin: 2px 0 10px;
  }

  /* Must exceed .order-card .card-body p.single-price's (0,3,1) — the
     unscoped color/size fix above — so this smaller mobile font-size
     wins here instead of the 1.15rem base. */
  .order-card .card-body p.single-price {
    font-size: 1.05rem;
    color: #000;
  }

  .order-card .order-add-btn {
    padding: 10px 12px;
    font-size: 0.8rem;
    gap: 6px;
  }

  .order-card .order-add-btn svg {
    width: 16px;
    height: 16px;
  }
}

/* ---------- Item detail popup ----------
   Opens on every screen size when a card is clicked/tapped — same pattern
   as Domino's/Chick-fil-A/KFC item modals. Anchored to the bottom edge on
   narrow screens (thumb-reachable, like a native bottom sheet) and
   centered as a rounded dialog from 621px up. */
.size-sheet-overlay {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(10, 20, 14, 0);
  transition: background 0.25s ease;
}

.size-sheet-overlay[hidden] {
  display: none;
}

.size-sheet-overlay.open {
  background: rgba(10, 20, 14, 0.55);
}

.size-sheet {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 85vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.25);
  padding: 14px 20px 24px;
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
}

.size-sheet-overlay.open .size-sheet {
  transform: translateY(0);
}

.size-sheet-handle {
  width: 40px;
  height: 4px;
  border-radius: 999px;
  background: #e2ddce;
  margin: 0 auto 14px;
}

.size-sheet-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: #f5f1e6;
  color: var(--sp-black);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.size-sheet-img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  background: #f5f1e6;
  border-radius: 12px;
  margin-bottom: 14px;
  padding: 10px;
  box-sizing: border-box;
}

.size-sheet h3 {
  margin: 0 0 4px;
  font-size: 1.15rem;
}

.size-sheet-desc {
  margin: 0 0 16px;
  color: #666;
  font-size: 0.85rem;
  line-height: 1.4;
}

.size-sheet .size-options {
  margin-bottom: 18px;
}

.size-sheet-add {
  position: sticky;
  bottom: 0;
}

@media (min-width: 621px) {
  .size-sheet-overlay {
    align-items: center;
    padding: 24px;
    box-sizing: border-box;
  }

  .size-sheet {
    max-width: 420px;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    padding: 20px 24px 26px;
    transform: translateY(16px) scale(0.97);
    opacity: 0;
    transition: transform 0.22s ease, opacity 0.22s ease;
  }

  .size-sheet-overlay.open .size-sheet {
    transform: translateY(0) scale(1);
    opacity: 1;
  }

  .size-sheet-img {
    height: 220px;
  }
}
