:root {
  --wall-radius: clamp(245px, 26.5vw, 335px);
  --wall-center-y: 53.5%;
  --item-width: clamp(139px, 14.4vw, 192px);
  --center-item-width: clamp(222px, 24vw, 330px);
  --panel-width: 480px;
  --card-width: 350px;
  --card-height: 572px;
}

.logo {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  z-index: 110;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  display: block;
  line-height: 0;

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

body.is-scrolled .logo {
  left: 50%;
  top: 1.5rem;
  width: 220px;
  transform: translateX(-50%);
}

/* White-to-transparent gradient behind logo */
.header-gradient {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  z-index: 100;
  pointer-events: none;
  background: linear-gradient(to bottom,
      rgba(242, 238, 229, 1) 0%,
      rgba(242, 238, 229, 1) 40%,
      rgba(242, 238, 229, 0.7) 70%,
      rgba(242, 238, 229, 0) 100%);
}

.header-gradient::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: #f2eee5;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

body.is-scrolled .header-gradient::after {
  opacity: 1;
}

/* Hamburger menu button — top left */
.menu-btn {
  position: fixed;
  top: 1.5rem;
  left: 1.5rem;
  right: auto;
  z-index: 1001;
  background: none;
  border: none;
  cursor: pointer;
  width: 38px;
  height: 28px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-btn svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.menu-line {
  transition: none;
  /* GSAP handles all transitions */
}


.film-grain {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  overflow: hidden;

  &::before {
    content: '';
    position: absolute;
    inset: -150%;
    width: 400%;
    height: 400%;
    opacity: 0.1;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='3.2' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    background-size: 128px 128px;
    animation: filmGrain 0.5s steps(6) infinite;
  }
}

@keyframes filmGrain {

  0%,
  100% {
    transform: translate(0, 0);
  }

  20% {
    transform: translate(-4%, 6%);
  }

  40% {
    transform: translate(6%, -8%);
  }

  60% {
    transform: translate(-8%, 4%);
  }

  80% {
    transform: translate(4%, -3%);
  }
}

.line,
.char {
  transform: translate3d(0, 100%, 0);
}

/* ═══════════════════════════════════════════════════════════════
   HERO / 3D CATEGORIES WALL MENU SECTION
   ═══════════════════════════════════════════════════════════════ */
#section-1 {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  z-index: 1;
  background-color: #f2eee5;
}

.container {
  position: fixed;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  top: 0;
  left: 0;
  background-color: #f2eee5;

  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  transform-origin: center center;
  will-change: transform;

  &:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 2;
    pointer-events: none;

    opacity: 0;
    transition: opacity 0.45s ease-in-out;
  }
}

.grid {
  position: absolute;
  width: max-content;
  height: max-content;
  display: flex;
  gap: 5vw;
}

.--is-loaded {
  overflow: hidden;

  .grid {
    transition: transform 0.45s cubic-bezier(0.33, 1, 0.68, 1);
    cursor: grab;
  }
}

.column {
  display: flex;
  flex-direction: column;
  gap: 5vw;
}

.column:nth-child(even) {
  margin-top: 10vw;
}

.product {
  position: relative;
  width: 18.5vw;
  aspect-ratio: 1 / 1;

  div {
    width: 18.5vw;
    aspect-ratio: 1 / 1;
  }

  img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    will-change: transform;
    transition: transform 300ms ease-in-out;
  }

  :hover {
    transform: scale(1.05);
  }
}

.details {
  position: fixed;
  top: 0;
  right: 0;
  width: 50vw;
  height: 100vh;
  padding: 107px 4vw 3vw 4vw;
  background-color: #f1f1f1;
  color: #b27348;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  transform: translate3d(50vw, 0, 0);
  z-index: 6;

  @media (max-width: 600px) {
    width: 90%;
    height: 100vh;
    padding: 8vw 7vw;

    transform: translate3d(90%, 0, 0);
  }
}

.details__title {
  margin-bottom: 0.75vw;
  margin-top: 0;
  position: relative;
  display: grid;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;

  @media (max-width: 600px) {
    margin-bottom: 2vw;
  }

  p {
    grid-area: 1 / -1;
    overflow: hidden;
    font-size: 3vw;

    @media (max-width: 600px) {
      font-size: 2rem;
    }
  }
}

.details__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5vw;
}

.details__texts {
  position: relative;
  height: 100%;
  line-height: 1.6;
  display: grid;
  width: 25vw;
  max-width: 100%;

  @media (max-width: 600px) {
    width: 100%;
  }

  .price-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.6rem;
    margin-top: 1.25rem;
    margin-bottom: 0.25rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #3e2917;
  }

  .variation-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(178, 115, 72, 0.15);
    color: #b27348;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-right: 0.2rem;
  }

  .currency {
    font-size: 1rem;
    font-weight: 600;
    color: #b27348;
  }

  .price {
    font-size: 1.45rem;
    font-weight: 800;
    color: #3e2917;
  }

  .add-on-text {
    display: block;
    margin-top: 0.6rem;
    font-size: 0.8rem;
    font-weight: 500;
    font-style: italic;
    color: #7a583e;
    letter-spacing: 0.02em;
  }

  button {
    appearance: none;
    border: none;
    display: block;
    background-color: transparent;
    margin-top: 1.5rem;
    border: 1px solid;
    border-radius: 1rem;
    padding: 0.25rem 1rem;

    @media (max-width: 600px) {
      margin-top: 5vw;
    }
  }

  [data-text] {
    grid-area: 1 / -1;
    /* position: absolute; */
    bottom: 0;
    left: 0;
  }
}

.details__thumb {
  position: relative;
  width: 25vw;
  aspect-ratio: 1 / 1;
  z-index: 3;
  will-change: transform;

  @media (max-width: 600px) {
    width: 100%;
  }

  div,
  img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

p {
  font-size: calc(0.85rem + 3px);
  margin-bottom: 1vw;
}

.cross {
  position: fixed;
  width: 3vw;
  height: 3vw;
  transform: translate(-50%, -50%);
  z-index: 5;
  pointer-events: none;

  transform: scale(0);

  svg {
    width: 3vw;
    height: 3vw;
  }
}

.--is-details-showing {
  cursor: pointer;

  .grid {
    pointer-events: none;
  }

  /* &:before {
    opacity: .35;
  } */
}

.--is-showing {
  opacity: 1;
}

/* â”€â”€ Scroll chevron â€” animated bounce â”€â”€ */
.scroll-chevron {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 52px;
  height: 52px;
  animation: chevronBounce 2s ease-in-out infinite;
  opacity: 1;
  transition: opacity 0.4s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* When scrolled to folding section, disable pointer-events on fixed overlays */
.--folding-in-view .container,
.--folding-in-view .film-grain,
.--folding-in-view .header-gradient,
.--folding-in-view .logo {
  pointer-events: none;
}

.scroll-chevron:hover {
  opacity: 1;
  transform: translateX(-50%) scale(1.08);
}

.scroll-chevron svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.18));
}

@keyframes chevronBounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* â”€â”€ See Our Menu (Back to Top) Floating Pill Button â”€â”€ */
.back-to-menu-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.35rem;
  border-radius: 9999px;
  background: rgba(62, 41, 23, 0.9);
  color: #fff;
  border: 1px solid rgba(178, 115, 72, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.35), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.35s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  pointer-events: none;
}

.back-to-menu-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.back-to-menu-btn:hover {
  background: #b27348;
  border-color: #b27348;
  color: #fff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 28px -2px rgba(178, 115, 72, 0.4), 0 6px 10px -2px rgba(0, 0, 0, 0.25);
}

.back-to-menu-btn:active {
  transform: translateY(0) scale(0.98);
}

.back-to-menu-btn__icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  stroke: currentColor;
  transition: transform 0.25s ease;
}

.back-to-menu-btn:hover .back-to-menu-btn__icon {
  transform: rotate(90deg);
}

.back-to-menu-btn__text {
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .back-to-menu-btn {
    bottom: 1.25rem;
    right: 1.25rem;
    padding: 0.65rem 1.15rem;
    font-size: 0.82rem;
  }
}



/* â”€â”€ About Section â”€â”€ */
.about-section {
  position: relative;
  width: 100%;
  background-color: #b27348;
  padding: 10vh 10vw;
  z-index: 10;
}

.about-section__grid {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8vw;
  max-width: 1400px;
  margin: 0 auto;
}

.about-section__image {
  flex: 1;
}

.about-section__image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-section__content {
  flex: 1;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-section__title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 800;
  margin: 0;
  line-height: 1.1;
}

.about-section__text {
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.9;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
}

.about-section__signature {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  font-family: 'Poppins', sans-serif;
}

.sig-name {
  font-size: 1.5rem;
  font-weight: 700;
}

.sig-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .about-section__grid {
    flex-direction: column;
  }
}

/* â”€â”€ Gallery Overrides â”€â”€ */
body,
html {
  height: auto !important;
  overflow: visible !important;
}

.parallax-gallery-container {
  position: relative;
  z-index: 10;
  background-color: #b27348 !important;
}

:root {
  --color-bg: #ffffff !important;
}

/* â”€â”€ Menu Overlay â”€â”€ */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #502e1b;
  opacity: 0;
  pointer-events: none;
  z-index: 999;
}

/* ── Menu Side Panel (opens from left) ── */
.menu-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: auto;
  width: 35vw;
  min-width: 320px;
  height: 100vh;
  background-color: #f1f1f1;
  color: #313131;
  z-index: 1000;
  transform: translate3d(-100%, 0, 0);
  /* Hidden by default, animated by GSAP */
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
  padding: 6rem 3vw 3vw;
  overflow-y: auto;
}

@media (max-width: 768px) {
  .menu-panel {
    width: 80vw;
    padding: 6rem 5vw 5vw;
  }
}

.menu-panel__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.menu-panel__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  color: #b27348;
  margin: 0;
  line-height: 1.1;
}

.menu-panel__contact {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #666;
}

.contact-text a,
.contact-text p {
  color: #313131;
  text-decoration: none;
  font-size: 1.1rem;
  margin: 0;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.contact-text a:hover {
  color: #b27348;
}

.menu-panel__map {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.menu-panel__logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(178, 115, 72, 0.2);
}

.menu-panel__logo img {
  width: 150px;
  max-width: 80%;
  height: auto;
  display: block;
}

/* ── Interactive Repulsive Effect Section (Hidden as requested) ── */
.repulsive-section {
  display: none !important;
}

.repulsive-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: default;
}

.repulsive-canvas canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

/* Logo overlay â€” centered, glassy, non-interactive on canvas */
.repulsive-logo-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.repulsive-logo {
  width: clamp(200px, 30vw, 420px);
  height: auto;
  /* Invert to white since the SVG paths are brown (#b27348) â€” make them stand out on the same bg */
  filter: brightness(0) invert(1);
  opacity: 0.92;
  drop-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   CATEGORIES WALL (RADIAL)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.categories-wall {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  touch-action: pan-y;
}

.category-item {
  position: absolute;
  top: var(--wall-center-y, 53.5%);
  left: 50%;
  width: var(--item-width, clamp(105px, 11vw, 145px));
  height: auto;
  --angle: 0deg;
  transform: translate(-50%, -50%) rotate(var(--angle)) translate(var(--wall-radius, clamp(215px, 23vw, 290px))) rotate(calc(-1 * var(--angle)));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  touch-action: pan-y;
  z-index: 5;
}

.category-item[data-category="fries"] { --angle: -90deg; }
.category-item[data-category="chicken"] { --angle: -30deg; }
.category-item[data-category="loaded-fries"] { --angle: 30deg; }
.category-item[data-category="milkshakes"] { --angle: 90deg; }
.category-item[data-category="corn"] { --angle: 150deg; }
.category-item[data-category="salads"] { --angle: 210deg; }

/* Match visual size of tightly-cropped chicken tenders with surrounding items */
.category-item--chicken .category-item__img,
.category-item__img--chicken,
.category-item[data-category="chicken"] .category-item__img,
.--is-details-showing .category-item[data-category="chicken"] .category-item__img {
  width: 68% !important;
  margin: 0 auto !important;
}

/* FIX #5: Hover scale on inner image so outer item transform and hit-testing never conflicts */
.category-item__img {
  width: 100%;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-origin: center center;
}

@media (hover: hover) and (pointer: fine) {
  .category-item:hover .category-item__img {
    transform: scale(1.14);
  }

  .category-item--center:hover .category-item__img {
    transform: scale(1.08);
  }
}

.category-item--center {
  width: var(--center-item-width, clamp(168px, 18vw, 248px));
  height: auto;
  top: var(--wall-center-y, 53.5%);
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

/* Category Pill Styling - Clean Title Pill */
.category-item__title {
  margin-top: 0.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1.5px solid #ebd9c8;
  border-radius: 9999px;
  padding: 0.42rem 1rem;
  box-shadow: 0 4px 14px rgba(62, 41, 23, 0.08);
  pointer-events: none;
  white-space: nowrap;
  backdrop-filter: blur(4px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.category-item__label {
  font-size: 0.74rem;
  font-weight: 800;
  color: #2b221a;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.category-item__count {
  display: none !important;
}

.category-item:hover .category-item__title {
  border-color: #a66a38;
  box-shadow: 0 6px 18px rgba(166, 106, 56, 0.2);
}

/* ═══════════════════════════════════════════════════════════════
   LEFT PANEL MODE: When details panel is open,
   categories rearrange into a centered 2-row layout in the left 55vw
   ═══════════════════════════════════════════════════════════════ */
.--is-details-showing .container {
  pointer-events: auto;
}

.--is-details-showing .categories-wall {
  position: absolute;
  top: 50%;
  left: calc((100vw - var(--panel-width, 480px)) / 2);
  width: calc(100vw - var(--panel-width, 480px) - 2rem);
  max-width: 960px;
  height: auto;
  max-height: 85vh;
  transform: translate(-50%, -50%) !important;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 3vw, 3.2rem) clamp(2rem, 4vw, 4.5rem);
  padding: 1.5rem;
  background: transparent;
  pointer-events: auto;
  z-index: 20;
}

.--is-details-showing .category-item {
  position: relative;
  top: auto;
  left: auto;
  transform: none !important;
  width: clamp(154px, 15vw, 205px);
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  opacity: 1;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.--is-details-showing .category-item:hover {
  transform: scale(1.08) !important;
}

.--is-details-showing .category-item--center {
  width: clamp(170px, 16.5vw, 225px);
  transform: none !important;
}

.--is-details-showing .category-item--center:hover {
  transform: scale(1.08) !important;
}

.--is-details-showing .category-item__img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(62, 41, 23, 0.14));
  transition: filter 0.3s ease;
}

.--is-details-showing .category-item__title {
  margin-top: 0.75rem;
  padding: 0.45rem 0.75rem 0.45rem 1rem;
  gap: 0.6rem;
  border-radius: 9999px;
  border: 1.5px solid #ebd9c8;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(62, 41, 23, 0.08);
  transition: all 0.25s ease;
}

.--is-details-showing .category-item:hover .category-item__title {
  border-color: #a66a38;
  box-shadow: 0 6px 20px rgba(166, 106, 56, 0.2);
}

.--is-details-showing .category-item__label {
  font-size: 13.5px;
  font-weight: 800;
  color: #2b221a;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.--is-details-showing .category-item__count {
  font-size: 11.5px;
  padding: 3px 9px;
  border-radius: 12px;
  background: #fbf5ee;
  border: 1px solid #edd9c8;
  color: #a66a38;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Request 4: When a category is opened, hide that item on the wall on the left side */
.--is-details-showing .category-item.--is-active {
  display: none !important;
}

/* â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• 
   PRODUCT DETAILS PANEL (SLIDE OUT)
   â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â•  */
.product-details-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: var(--panel-width, 480px);
  max-width: 100vw;
  height: 100vh;
  background: #fdfaf6;
  z-index: 500;
  transform: translateX(100%);
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.85rem 1.25rem;
  box-shadow: -20px 0 50px rgba(0,0,0,0.15);
  color: #313131;
  -webkit-overflow-scrolling: touch;
}

.product-details-panel.--is-showing {
  pointer-events: auto;
}

.palmer-flyer {
  position: fixed;
  z-index: 10000;
  pointer-events: none;
  object-fit: contain;
  will-change: transform, left, top, width, height;
}

.details-close-btn {
  position: relative;
  top: auto;
  right: auto;
  align-self: flex-start;
  margin-bottom: 0.75rem;
  background: none;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0,0,0,0.04);
  color: #313131;
  transition: background 0.3s ease, color 0.2s ease;
  z-index: 60;
  padding: 0;
  pointer-events: auto !important;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.details-close-btn:hover {
  background: rgba(0,0,0,0.08);
  color: #000;
}

.details-close-btn__text {
  display: none;
}

/* Request 5: Redesign font and layout of product title as in Image 3
   Top padding to title, reduced bottom padding to bring cards closer */
.panel-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding-top: 0.25rem;
  padding-right: 1rem;
  margin-bottom: 0.5rem;
}

.details-cat-tag {
  font-size: 0.85rem;
  font-weight: 800;
  color: #a66a38;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  display: block;
}

.details-cat-title {
  font-size: 2.35rem;
  font-weight: 900;
  color: #27221e;
  line-height: 1.15;
  margin: 0;
  font-family: 'Poppins', 'bilo', sans-serif;
  letter-spacing: -0.02em;
}

.details-counter {
  margin-top: 0.35rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: #9c7b64;
}

.panel-carousel-area {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 580px;
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) translateZ(100px);
  -webkit-transform: translateY(-50%) translateZ(100px);
  background: #ffffff;
  border: 1.5px solid #ebd9c8;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 70;
  box-shadow: 0 4px 14px rgba(62, 41, 23, 0.08);
  transition: all 0.25s ease;
  color: #222222;
  padding: 0;
  pointer-events: auto !important;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.carousel-nav-btn:hover {
  background: #ffffff;
  border-color: #a66a38;
  box-shadow: 0 6px 18px rgba(166, 106, 56, 0.2);
  transform: translateY(-50%) translateZ(100px) scale(1.08);
  -webkit-transform: translateY(-50%) translateZ(100px) scale(1.08);
}

.carousel-nav-btn:active {
  transform: translateY(-50%) translateZ(100px) scale(0.95);
  -webkit-transform: translateY(-50%) translateZ(100px) scale(0.95);
}

#carousel-prev-btn { left: -6px; }
#carousel-next-btn { right: -6px; }

.card-stack {
  position: relative;
  width: var(--card-width, 350px);
  height: var(--card-height, 572px);
  perspective: 1000px;
  transform-style: preserve-3d;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

/* Stepped card stack layers */
.card-stack::before,
.card-stack::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 24px;
  pointer-events: none;
  z-index: 1;
  transition: all 0.3s ease;
}

/* First peeked layer (Card 2) */
.card-stack::before {
  bottom: -9px;
  width: 95%;
  height: 100%;
  background: #fbf7f2;
  border: 1px solid rgba(235, 217, 200, 0.8);
  box-shadow: 0 6px 16px rgba(62, 41, 23, 0.06);
}

/* Second peeked layer (Card 3) */
.card-stack::after {
  bottom: -18px;
  width: 89%;
  height: 100%;
  background: #f3eae0;
  border: 1px solid rgba(225, 204, 185, 0.7);
  box-shadow: 0 8px 20px rgba(62, 41, 23, 0.05);
}

.menu-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  border-radius: 24px;
  transform-origin: bottom center;
  will-change: transform, opacity;
  z-index: 5;
  cursor: grab;
  perspective: 1200px;
  -webkit-perspective: 1200px;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

.menu-card:active {
  cursor: grabbing;
}

/* FLIPPER 3D WRAPPER */
.menu-card__flipper {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 24px;
  touch-action: none;
}

/* 3D Flip trigger ONLY on mouse click / tap toggle (no hover trigger on desktop) */
.menu-card[data-stack-pos="0"].is-flipped .menu-card__flipper {
  transform: rotateY(180deg);
}

/* FACES */
.menu-card__face {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(62, 41, 23, 0.1);
  padding: 1.35rem 1.45rem;
  display: flex;
  flex-direction: column;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
  cursor: pointer;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

.menu-card.is-flipped .menu-card__face--back,
.menu-card.is-flipped .menu-card__ingredients-container,
.menu-card.is-flipped .menu-card__ingredients-list {
  touch-action: pan-y !important;
  -webkit-user-select: auto;
  user-select: auto;
}

.menu-card button,
.menu-card a {
  touch-action: manipulation;
}

.menu-card__face--front {
  transform: rotateY(0deg) translateZ(1px);
  -webkit-transform: rotateY(0deg) translateZ(1px);
  z-index: 2;
  pointer-events: auto;
  overflow: visible;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  image-rendering: -webkit-optimize-contrast;
}

/* Card 3D Flip Teaser on Active Front Card */
@keyframes cardFlipTease {
  0%, 100% {
    transform: rotateY(0deg);
  }
  12% {
    transform: rotateY(-9deg);
  }
  24% {
    transform: rotateY(0deg);
  }
  34% {
    transform: rotateY(-5deg);
  }
  44% {
    transform: rotateY(0deg);
  }
}

.menu-card[data-stack-pos="0"]:not(.is-flipped):not(:active) .menu-card__flipper {
  animation: cardFlipTease 6.5s cubic-bezier(0.25, 1, 0.5, 1) infinite 3s;
}

.menu-card[data-stack-pos="0"]:hover:not(.is-flipped) .menu-card__flipper {
  animation: none !important;
  transform: rotateY(-8deg);
}

.menu-card[data-stack-pos="0"].is-flipped .menu-card__flipper {
  animation: none !important;
  transform: rotateY(180deg) !important;
}

.menu-card__face--back {
  transform: rotateY(180deg);
  z-index: 1;
  background: linear-gradient(168deg, #ffffff 0%, #faf6f1 100%);
  border: 1px solid rgba(178, 115, 72, 0.2);
  padding: 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}

/* When flipped, swap z-index and pointer-events so rear side is interactive and clicking rear flips back */
.menu-card.is-flipped .menu-card__face--front {
  z-index: 1;
  pointer-events: none !important;
  visibility: hidden;
}

.menu-card.is-flipped .menu-card__face--back {
  z-index: 10;
  pointer-events: auto !important;
  visibility: visible;
}

.menu-card:not([data-stack-pos="0"]) .menu-card__body,
.menu-card:not([data-stack-pos="0"]) .menu-card__pricing,
.menu-card:not([data-stack-pos="0"]) .menu-card__action,
.menu-card:not([data-stack-pos="0"]) .menu-card__img-box,
.menu-card:not([data-stack-pos="0"]) .menu-card__face--back {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.menu-card[data-stack-pos="0"] .menu-card__body,
.menu-card[data-stack-pos="0"] .menu-card__pricing,
.menu-card[data-stack-pos="0"] .menu-card__action,
.menu-card[data-stack-pos="0"] .menu-card__img-box,
.menu-card[data-stack-pos="0"] .menu-card__face--back {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.25s ease;
}

.menu-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem; /* was 0.75rem */
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  gap: 0.4rem;
}

.menu-card__badge {
  background: rgba(178, 115, 72, 0.1);
  color: #b27348;
  padding: 0.3rem 0.6rem;
  border-radius: 5px;
  font-size: 0.85rem;
}

/* Front Flip Hint Button */
.menu-card__flip-hint-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  background: rgba(178, 115, 72, 0.08);
  color: #a66a38;
  border: 1px solid rgba(178, 115, 72, 0.2);
  border-radius: 999px;
  padding: 0.32rem 0.82rem;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  margin-left: auto;
  transition: all 0.2s ease;
}

.menu-card__flip-hint-btn:hover {
  background: rgba(178, 115, 72, 0.18);
  border-color: #a66a38;
  transform: translateY(-1px);
}

.menu-card__flip-hint-btn .flip-icon {
  transition: transform 0.4s ease;
}

.menu-card__flip-hint-btn:hover .flip-icon {
  transform: rotate(180deg);
}

.menu-card__num {
  font-size: 0.85rem;
  font-weight: 700;
  color: #888;
}

.menu-card__img-box {
  flex: 1.35;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0;
  min-height: 225px;
}

.menu-card__img {
  width: auto;
  max-width: 96%;
  max-height: 275px; /* Prominent, razor-sharp presentation */
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(43, 34, 26, 0.16));
  transform-origin: center center;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.3s ease;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  -webkit-backface-visibility: visible;
  backface-visibility: visible;
}

.menu-card:hover .menu-card__img {
  transform: scale(1.14);
}

.menu-card__title {
  font-size: 1.6rem; /* was 1.4rem (+3px) */
  font-weight: 800;
  margin: 0 0 0.45rem;
  font-family: "bilo", sans-serif;
  color: #27221e;
}

.menu-card__desc {
  font-size: 1rem; /* was 0.82rem (+3px) */
  color: #666;
  line-height: 1.4;
  margin: 0 0 0.85rem;
}

.menu-card__pricing {
  margin-top: auto;
  border-top: 1px solid #f0e6dc;
  padding-top: 0.85rem;
}

.menu-card__prices {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.menu-card__price-group {
  display: flex;
  align-items: center;
  font-weight: 700;
}

.menu-card__variation {
  color: #888;
  margin-right: auto;
  font-size: 0.95rem;
}

.menu-card__currency {
  font-size: 0.95rem; /* was 0.8rem (+2.5px) */
  margin-right: 0.25rem;
  color: #a66a38;
}

.menu-card__price {
  font-size: 1.38rem; /* was 1.2rem (+3px) */
  color: #a66a38;
  font-weight: 800;
}

.menu-card__addon {
  font-size: 0.88rem; /* was 0.72rem (+2.6px) */
  color: #aaa;
  margin: 0.4rem 0 0;
  font-style: italic;
}

.menu-card__action {
  margin-top: 0.85rem;
}

.menu-card__order-btn {
  width: 100%;
  background: #a66a38;
  color: #ffffff;
  border: none;
  padding: 0.95rem 1.35rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1.15rem; /* was 1rem (+2.5px to 3px) */
  font-family: inherit;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 6px 18px rgba(166, 106, 56, 0.28);
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.menu-card__order-btn:hover {
  background: #8e5529;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(166, 106, 56, 0.38);
}

.menu-card__order-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(166, 106, 56, 0.25);
}

/* ═══════════════════════════════════════════════════════════════
   REAR FACE: PICTORIAL INGREDIENTS STYLING (MATCHING IMAGE 1)
   ═══════════════════════════════════════════════════════════════ */
.menu-card__back-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
  flex-shrink: 0;
}

.menu-card__back-badge {
  font-size: 0.82rem; /* was 0.68rem (+2.5px) */
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(178, 115, 72, 0.12);
  color: #a66a38;
  padding: 0.32rem 0.65rem;
  border-radius: 6px;
}

.menu-card__flip-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #27221e;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.85rem; /* was 0.7rem (+2.5px) */
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  pointer-events: auto !important;
  z-index: 50;
  position: relative;
  touch-action: manipulation;
  transition: all 0.2s ease;
}

.menu-card__flip-back-btn *,
.menu-card__flip-hint-btn * {
  pointer-events: none;
}

.menu-card__flip-back-btn:hover {
  background: #a66a38;
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════════
   BURGER REAR FACE: ANIMATED BLAST OPEN DECONSTRUCTED INGREDIENTS
   ═══════════════════════════════════════════════════════════════ */
.menu-card__face--back.menu-card__face--back-burger {
  background: radial-gradient(circle at 50% 30%, #201711 0%, #0e0a07 100%);
  border: 1.5px solid rgba(212, 160, 95, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  padding: 0.85rem 0.95rem 1rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.menu-card__face--back-burger .menu-card__back-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
  z-index: 12;
  gap: 0.5rem;
}

.menu-card__back-header-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.menu-card__face--back-burger .menu-card__back-badge {
  background: rgba(229, 176, 120, 0.16);
  color: #f3ce9e;
  border: 1px solid rgba(229, 176, 120, 0.32);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.26rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* Blast Replay Button */
.burger-blast-replay-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: linear-gradient(135deg, rgba(229, 176, 120, 0.22), rgba(166, 106, 56, 0.32));
  color: #f5d4aa;
  border: 1px solid rgba(229, 176, 120, 0.45);
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.burger-blast-replay-btn:hover {
  background: linear-gradient(135deg, #a66a38, #d4a05f);
  color: #ffffff;
  border-color: #d4a05f;
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 4px 14px rgba(212, 160, 95, 0.4);
}

.burger-blast-replay-btn:active {
  transform: translateY(0) scale(0.95);
}

.menu-card__face--back-burger .menu-card__flip-back-btn {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.28rem 0.65rem;
  font-size: 0.76rem;
  pointer-events: auto !important;
  z-index: 50;
  position: relative;
  touch-action: manipulation;
}

.menu-card__face--back-burger .menu-card__flip-back-btn:hover {
  background: #a66a38;
  border-color: #a66a38;
  transform: translateY(-1px);
}

/* BLAST STAGE */
.burger-blast-stage {
  flex: 1;
  position: relative;
  width: 100%;
  min-height: 400px;
  margin: 0.15rem 0 0.5rem;
  border-radius: 18px;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 50%, #1d150e 0%, #0a0705 100%);
  border: 1px solid rgba(178, 115, 72, 0.28);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.9), 0 8px 24px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

/* Ambient Backlight Glow */
.burger-blast-ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 176, 120, 0.3) 0%, rgba(166, 106, 56, 0.12) 48%, transparent 70%);
  pointer-events: none;
  opacity: 0.35;
  transition: opacity 0.5s ease;
  z-index: 1;
}

/* Shockwave blast circle */
.burger-blast-shockwave {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.15);
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 2px solid rgba(243, 206, 158, 0.85);
  box-shadow: 0 0 25px rgba(229, 176, 120, 0.7), inset 0 0 20px rgba(229, 176, 120, 0.45);
  pointer-events: none;
  opacity: 0;
  z-index: 2;
}

/* Floating Layers Container */
.burger-blast-layers {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  z-index: 4;
}

/* Each Transparent Burger Layer */
.burger-blast-layer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 172px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  will-change: transform, filter;
  transition: filter 0.22s ease;
}

.burger-blast-layer-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.7));
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.22s ease;
  pointer-events: none;
}

.burger-blast-layer.is-highlighted {
  z-index: 25 !important;
}

.burger-blast-layer.is-highlighted .burger-blast-layer-img {
  transform: scale(1.12);
  filter: drop-shadow(0 0 18px rgba(243, 206, 158, 0.95)) drop-shadow(0 10px 24px rgba(0, 0, 0, 0.8));
}

/* Callouts Overlay Container */
.burger-blast-callouts {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}

/* Callout Group */
.burger-blast-callout {
  position: absolute;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  pointer-events: auto;
  cursor: pointer;
  max-width: 175px;
  transition: transform 0.22s ease, opacity 0.22s ease;
  z-index: 10;
}

/* Left Callout (positioned on left, points inward to layer) */
.burger-blast-callout--left {
  left: 6px;
  flex-direction: row;
}

/* Right Callout (positioned on right, points inward to layer) */
.burger-blast-callout--right {
  right: 6px;
  flex-direction: row-reverse;
  text-align: right;
}

/* Callout Label - Transparent background without pill container */
.burger-blast-callout__pill {
  display: flex;
  flex-direction: column;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  padding: 0 4px;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  max-width: 150px;
}

.burger-blast-callout.is-active .burger-blast-callout__pill,
.burger-blast-callout:hover .burger-blast-callout__pill {
  background: transparent;
  border: none;
  box-shadow: none;
  transform: scale(1.06);
}

.burger-blast-callout__name {
  color: #fff6eb;
  font-size: 0.90rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.025em;
  white-space: normal;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 1),
    0 0 4px rgba(0, 0, 0, 0.95),
    0 2px 6px rgba(0, 0, 0, 0.95),
    0 4px 12px rgba(0, 0, 0, 0.9),
    0 8px 20px rgba(0, 0, 0, 0.85);
}

.burger-blast-callout__desc {
  color: #fff6eb;
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.25;
  white-space: normal;
  margin-top: 2px;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 1),
    0 0 3px rgba(0, 0, 0, 0.95),
    0 2px 5px rgba(0, 0, 0, 0.95),
    0 3px 10px rgba(0, 0, 0, 0.9),
    0 6px 16px rgba(0, 0, 0, 0.8);
}

/* Connector Arm: Line and Glowing Dot */
.burger-blast-callout__arm {
  display: flex;
  align-items: center;
  pointer-events: none;
  flex-shrink: 0;
}

.burger-blast-callout--left .burger-blast-callout__arm {
  flex-direction: row;
}

.burger-blast-callout--right .burger-blast-callout__arm {
  flex-direction: row-reverse;
}

.burger-blast-callout__line {
  width: 12px;
  height: 1.5px;
  background: linear-gradient(to right, rgba(229, 176, 120, 0.95), rgba(229, 176, 120, 0.4));
}

.burger-blast-callout--right .burger-blast-callout__line {
  background: linear-gradient(to left, rgba(229, 176, 120, 0.95), rgba(229, 176, 120, 0.4));
}

.burger-blast-callout__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f7d6a5;
  box-shadow: 0 0 8px #f7d6a5;
  flex-shrink: 0;
}

/* GENERAL PRODUCT BLAST STAGE STYLES */
.burger-blast-stage--product {
  position: relative;
  overflow: hidden;
}

.burger-blast-hero {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  pointer-events: auto;
  cursor: pointer;
  will-change: transform, filter;
  transition: filter 0.25s ease;
}

.burger-blast-hero-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.85));
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.25s ease;
  pointer-events: none;
}

.burger-blast-hero.is-highlighted .burger-blast-hero-img,
.burger-blast-hero:hover .burger-blast-hero-img {
  transform: scale(1.08);
  filter: drop-shadow(0 0 22px rgba(243, 206, 158, 0.95)) drop-shadow(0 14px 30px rgba(0, 0, 0, 0.9));
}

.burger-blast-callout.is-dimmed {
  opacity: 0.35 !important;
  transform: translateY(-50%) scale(0.95);
}

/* Category Specific Blast Stage Adjustments */
.burger-blast-stage--shake .burger-blast-layer {
  width: 175px;
  height: 82px;
}
.burger-blast-stage--shake .burger-blast-layer[data-layer-id="shake-body"] {
  height: 104px;
  width: 155px;
}
.burger-blast-stage--loaded-fries .burger-blast-layer {
  width: 195px;
  height: 78px;
}
.burger-blast-stage--chicken .burger-blast-layer {
  width: 185px;
  height: 78px;
}
.burger-blast-stage--chicken .burger-blast-layer[data-layer-id="chicken-tender"] {
  height: 88px;
  width: 165px;
}
.burger-blast-stage--corn .burger-blast-layer {
  width: 185px;
  height: 78px;
}
.burger-blast-stage--fries .burger-blast-layer {
  width: 185px;
  height: 78px;
}
.burger-blast-stage--salad .burger-blast-layer {
  width: 190px;
  height: 78px;
}
.burger-blast-stage--dip .burger-blast-layer {
  width: 175px;
  height: 80px;
}

.menu-card__face--back-burger .menu-card__back-action {
  margin-top: 0;
  z-index: 10;
}

.menu-card__face--back-burger .menu-card__order-btn--back {
  background: #a66a38;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(166, 106, 56, 0.4);
}

.menu-card__face--back-burger .menu-card__order-btn--back:hover {
  background: #bf7c43;
}

/* ═══════════════════════════════════════════════════════════════
   DECONSTRUCTED BURGER INGREDIENTS LIGHTBOX MODAL
   ═══════════════════════════════════════════════════════════════ */
.ingredient-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ingredient-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.ingredient-lightbox__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(14, 10, 7, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ingredient-lightbox__content {
  position: relative;
  z-index: 2;
  max-width: 92vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ingredient-lightbox.is-open .ingredient-lightbox__content {
  transform: scale(1);
}

.ingredient-lightbox__header {
  text-align: center;
  margin-bottom: 0.6rem;
  color: #ffffff;
}

.ingredient-lightbox__title {
  font-family: "bilo", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.ingredient-lightbox__subtitle {
  font-size: 0.85rem;
  color: #d4a05f;
  margin: 0.15rem 0 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ingredient-lightbox__image-wrap {
  position: relative;
  max-width: 520px;
  max-height: calc(85vh - 70px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(212, 160, 95, 0.3);
  background: #110d0a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ingredient-lightbox__img {
  width: 100%;
  height: 100%;
  max-height: calc(85vh - 70px);
  object-fit: contain;
  display: block;
}

.ingredient-lightbox__close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #27221e;
  border: 1.5px solid rgba(212, 160, 95, 0.4);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: all 0.2s ease;
}

.ingredient-lightbox__close:hover {
  background: #a66a38;
  transform: scale(1.08);
}

/* Hero row with pictorial deconstructed image */
.menu-card__back-hero {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.7rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(178, 115, 72, 0.15);
  flex-shrink: 0;
}

.menu-card__back-pictorial {
  width: 86px; /* was 78px */
  height: 86px; /* was 78px */
  flex-shrink: 0;
  background: #ffffff;
  border-radius: 16px;
  padding: 4px;
  border: 1px solid rgba(178, 115, 72, 0.18);
  box-shadow: 0 4px 12px rgba(62, 41, 23, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.menu-card__back-pictorial-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.menu-card__back-hero:hover .menu-card__back-pictorial-img {
  transform: scale(1.08);
}

.menu-card__back-title-wrap {
  flex: 1;
  min-width: 0;
}

.menu-card__back-title {
  font-size: 1.35rem; /* was 1.15rem (+3.2px) */
  font-weight: 800;
  font-family: "bilo", sans-serif;
  color: #27221e;
  margin: 0 0 0.4rem;
  line-height: 1.2;
}

.menu-card__back-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.meta-pill {
  font-size: 0.86rem; /* was 0.68rem - larger pills matching Image 1 (+3px) */
  font-weight: 700;
  padding: 0.32rem 0.75rem; /* larger pill padding matching Image 1 */
  border-radius: 999px;
  line-height: 1.25;
}

.meta-pill--cal {
  background: rgba(178, 115, 72, 0.14);
  color: #a66a38;
}

.meta-pill--craft {
  background: #f0ebe4;
  color: #5d5248;
}

/* Ingredients list container */
.menu-card__ingredients-container {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin-bottom: 0.6rem;
  position: relative;
}

.menu-card__ingredients-list {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  overscroll-behavior: contain;
  touch-action: pan-y;
  scrollbar-width: thin;
  scrollbar-color: rgba(178, 115, 72, 0.45) rgba(178, 115, 72, 0.08);
  cursor: default;
}

.menu-card__ingredients-list::-webkit-scrollbar {
  width: 5px;
}
.menu-card__ingredients-list::-webkit-scrollbar-track {
  background: rgba(178, 115, 72, 0.08);
  border-radius: 4px;
}
.menu-card__ingredients-list::-webkit-scrollbar-thumb {
  background: rgba(178, 115, 72, 0.45);
  border-radius: 4px;
}
.menu-card__ingredients-list::-webkit-scrollbar-thumb:hover {
  background: rgba(178, 115, 72, 0.75);
}

.menu-card__ing-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  background: #ffffff;
  padding: 0.52rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(178, 115, 72, 0.1);
  box-shadow: 0 2px 5px rgba(62, 41, 23, 0.03);
  cursor: default;
}

.ing-row__bullet {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b27348;
  margin-top: 0.42rem;
  flex-shrink: 0;
}

.ing-row__info {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.ing-row__name {
  font-size: 0.96rem; /* was 0.78rem (+3px) */
  font-weight: 700;
  color: #27221e;
  line-height: 1.25;
}

.ing-row__desc {
  font-size: 0.82rem; /* was 0.68rem (+2.5px) */
  color: #777069;
  line-height: 1.3;
}

/* Highlights */
.menu-card__back-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.highlight-chip {
  font-size: 0.82rem; /* was 0.64rem (+3px) */
  font-weight: 700;
  background: #ffffff;
  color: #8c5324;
  border: 1px solid rgba(178, 115, 72, 0.22);
  padding: 0.28rem 0.65rem; /* larger pill padding */
  border-radius: 6px;
}

/* Allergens */
.menu-card__back-allergens {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem; /* was 0.65rem (+3px) */
  color: #8c7e74;
  margin-top: 0.45rem;
  font-style: italic;
  flex-shrink: 0;
}

.menu-card__back-allergens svg {
  color: #b27348;
  flex-shrink: 0;
}

/* Back Action */
.menu-card__back-action {
  margin-top: auto;
  flex-shrink: 0;
}

.menu-card__order-btn--back {
  padding: 0.85rem 1.25rem;
  font-size: 1.08rem; /* was 0.92rem (+2.6px) */
}

/* Hints below cards */
.card-details-hint,
.card-flick-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  color: #a6856c;
  user-select: none;
  pointer-events: none;
}

.card-details-hint {
  margin-top: 0.75rem;
  margin-bottom: 0.2rem;
}

.card-flick-hint {
  margin-top: 0.15rem;
  margin-bottom: 0.25rem;
}

.card-details-hint__icon,
.card-flick-hint__icon {
  width: 16px;
  height: 16px;
  stroke: #a66a38;
  flex-shrink: 0;
}

.card-details-hint__text,
.card-flick-hint__text {
  font-size: 0.88rem; /* was 0.72rem (+2.6px) */
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #a6856c;
}

/* ═══════════════════════════════════════════════════════════════
   CART BUTTON & MODAL (REDESIGNED MATCHING IMAGE 1)
   ═══════════════════════════════════════════════════════════════ */
.header-cart-btn {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  left: auto;
  z-index: 1001;
  background: none;
  border: none;
  cursor: pointer;
  width: 38px;
  height: 38px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a66a38;
}

.header-cart-btn svg {
  width: 28px;
  height: 28px;
}

.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #a66a38;
  color: #fff;
  font-size: 0.72rem;
  font-weight: bold;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid #fdfaf6;
}

.cart-fly-clone {
  position: fixed;
  z-index: 100000;
  pointer-events: none;
  object-fit: contain;
  filter: drop-shadow(0 12px 25px rgba(62, 41, 23, 0.3));
  will-change: transform, left, top, opacity;
}

.cart-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.cart-modal {
  position: fixed;
  top: 0;
  right: 0;
  width: 440px; /* Request 1: Increased by 15% from 384px */
  max-width: 100vw;
  height: 100vh;
  background: #ffffff;
  z-index: 10001;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 35px rgba(62, 41, 23, 0.15);
}

.cart-modal.--is-open, .cart-modal-overlay.--is-open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.cart-modal-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  overflow: hidden;
  background: #ffffff;
}

/* Header matching Image 1 */
.cart-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 1.75rem;
  border-bottom: 1px solid #f0e6dc;
  background: #ffffff;
}

.cart-modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.cart-modal-bag-icon {
  width: 22px;
  height: 22px;
  stroke: #a66a38;
}

.cart-modal-title-wrap h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0;
  font-family: 'Poppins', 'bilo', sans-serif;
  color: #27221e;
}

.cart-modal-close-btn {
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: #555555;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.cart-modal-close-btn:hover {
  color: #111111;
  transform: scale(1.1);
}

/* Items body matching Image 1 */
.cart-modal-body {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.25rem 1.75rem;
  background: #ffffff;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #999;
  text-align: center;
}

.cart-empty__icon {
  width: 54px;
  height: 54px;
  margin-bottom: 1rem;
  opacity: 0.45;
  stroke: #a66a38;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  background: #ffffff;
  border: 1px solid #f0e6dc;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(62, 41, 23, 0.04);
}

.cart-item__img-box {
  width: 64px;
  height: 64px;
  background: #fdfaf6;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-item__img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

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

.cart-item__title {
  margin: 0 0 0.25rem;
  font-size: 0.98rem;
  font-weight: 800;
  color: #27221e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item__price {
  font-size: 0.88rem;
  color: #a66a38;
  font-weight: 700;
}

/* Rounded capsule counter matching Image 1: - 1 + */
.cart-item__controls {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: #ffffff;
  border: 1px solid #ebd9c8;
  border-radius: 9999px;
  padding: 0.2rem 0.6rem;
}

.cart-item__qty-btn {
  background: transparent;
  border: none;
  width: 20px;
  height: 20px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #27221e;
  padding: 0;
}

.cart-item__qty-btn:hover {
  color: #a66a38;
}

.cart-item__qty {
  font-size: 0.92rem;
  font-weight: 800;
  min-width: 1.2rem;
  text-align: center;
  color: #27221e;
}

/* Cross-sell section matching Image 1: COMPLETE YOUR MEAL */
.cart-cross-sell {
  background: #fbf7f2;
  border-top: 1px solid #f0e6dc;
  border-bottom: 1px solid #f0e6dc;
  padding: 1.1rem 1.75rem;
}

.cart-cross-sell__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.cart-cross-sell__header h3 {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-weight: 800;
  text-transform: uppercase;
  color: #a66a38;
  margin: 0;
}

.cart-cs-nav-btns {
  display: flex;
  gap: 0.4rem;
}

.cs-nav-btn {
  background: #ffffff;
  border: 1px solid #ebd9c8;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.95rem;
  color: #555555;
  padding: 0;
  line-height: 1;
  transition: all 0.2s ease;
}

.cs-nav-btn:hover {
  border-color: #a66a38;
  color: #a66a38;
}

.cart-cs-track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 0.25rem;
}

.cart-cs-track::-webkit-scrollbar {
  display: none;
}

.cart-cs-card {
  flex: 0 0 114px;
  background: #ffffff;
  border: 1px solid #ebd9c8;
  border-radius: 16px;
  padding: 0.65rem 0.5rem 0.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 2px 6px rgba(62, 41, 23, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cart-cs-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(62, 41, 23, 0.08);
}

.cart-cs-card__step {
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #a66a38;
  background: #fdf5ee;
  border: 1px solid #ebd9c8;
  border-radius: 9999px;
  padding: 0.12rem 0.45rem;
  margin-bottom: 0.35rem;
  line-height: 1.1;
  white-space: nowrap;
  display: inline-block;
}

.cart-cs-card__img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin-bottom: 0.35rem;
}

.cart-cs-card__title {
  font-size: 0.74rem;
  margin: 0 0 0.2rem;
  font-weight: 800;
  color: #27221e;
  line-height: 1.15;
  height: 1.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-cs-card__price {
  font-size: 0.72rem;
  color: #a66a38;
  margin-bottom: 0.45rem;
  font-weight: 700;
}

.cart-cs-card__add-btn {
  background: #fdf5ee;
  border: 1px solid #ebd9c8;
  padding: 0.3rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #a66a38;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}

.cart-cs-card__add-btn:hover {
  background: #a66a38;
  color: #ffffff;
}

/* Footer matching Image 1: Total Amount & Proceed to Checkout button */
.cart-modal-footer {
  padding: 1.35rem 1.75rem 1.75rem;
  background: #ffffff;
  margin-top: auto;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
}

.cart-total-label {
  font-size: 1.05rem;
  font-weight: 800;
  color: #27221e;
}

.cart-total-amount {
  font-size: 1.6rem;
  font-weight: 900;
  color: #27221e;
  font-family: 'Poppins', 'bilo', sans-serif;
}

.checkout-btn {
  width: 100%;
  background: #a66a38;
  color: #ffffff;
  border: none;
  padding: 1.05rem;
  border-radius: 16px;
  font-size: 1.02rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
  box-shadow: 0 6px 18px rgba(166, 106, 56, 0.25);
}

.checkout-btn:hover {
  background: #8e5529;
  transform: translateY(-1px);
}

.checkout-btn:active {
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════
   SCROLL WHEEL & BACKGROUND LOCK WHEN DETAILS PANEL IS OPEN
   ═══════════════════════════════════════════════════════════════ */
html.--is-details-showing,
body.--is-details-showing {
  overflow: hidden !important;
  height: 100vh !important;
  max-height: 100vh !important;
  overscroll-behavior: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   LAPTOP / COMPACT RESOLUTION RESPONSIVENESS
   Ensures all elements scale down gracefully so nothing is cropped
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1366px) and (max-height: 720px) and (min-width: 769px), (max-height: 650px) and (min-width: 769px) {
  :root {
    --wall-radius: clamp(180px, min(22vw, 28vh), 245px);
    --wall-center-y: 52%;
    --item-width: clamp(103px, min(11.4vw, 15.6vh), 139px);
    --center-item-width: clamp(170px, min(18vw, 25.2vh), 222px);
    --panel-width: clamp(380px, 32vw, 425px);
    --card-width: clamp(265px, min(30vw, 35vh * 0.65), 310px);
    --card-height: clamp(390px, min(56vh, 475px), 465px);
  }

  .logo {
    top: 1.15rem;
    width: 180px;
  }

  body.is-scrolled .logo {
    top: 1.15rem;
    width: 180px;
  }

  .header-gradient {
    height: 58px;
  }

  .category-item__title {
    margin-top: 0.38rem;
    padding: 0.32rem 0.75rem;
  }

  .category-item__label {
    font-size: 0.65rem;
  }

  /* Left panel mode when details open on laptop */
  .--is-details-showing .categories-wall {
    left: calc((100vw - var(--panel-width, 420px)) / 2);
    width: calc(100vw - var(--panel-width, 420px) - 1.5rem);
    gap: clamp(1rem, 2vw, 1.8rem) clamp(1.2rem, 2.5vw, 2.4rem);
    padding: 1rem;
  }

  /* Product Details Panel scaling */
  .product-details-panel {
    width: var(--panel-width, 420px);
    padding: clamp(0.75rem, 1.8vh, 1.15rem) clamp(1rem, 2vw, 1.45rem) clamp(0.45rem, 1.2vh, 0.75rem);
  }

  .details-close-btn {
    width: 32px;
    height: 32px;
    margin-bottom: clamp(0.25rem, 0.7vh, 0.45rem);
  }

  .panel-header {
    margin-bottom: clamp(0.2rem, 0.6vh, 0.35rem);
    padding-top: 0;
  }

  .details-cat-tag {
    font-size: clamp(0.68rem, 1.1vh, 0.76rem);
    margin-bottom: 0.15rem;
  }

  .details-cat-title {
    font-size: clamp(1.55rem, 3.2vh, 1.9rem);
    line-height: 1.12;
  }

  .details-counter {
    font-size: clamp(0.78rem, 1.2vh, 0.88rem);
    margin-top: 0.15rem;
  }

  .panel-carousel-area {
    min-height: 0;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .card-stack::before {
    bottom: -6px;
  }

  .card-stack::after {
    bottom: -12px;
  }

  .carousel-nav-btn {
    width: 38px;
    height: 38px;
  }

  #carousel-prev-btn { left: -10px; }
  #carousel-next-btn { right: -10px; }

  .menu-card__face {
    padding: clamp(0.75rem, 1.6vh, 1rem) clamp(0.85rem, 1.8vw, 1.2rem);
    border-radius: 20px;
  }

  .menu-card__header {
    font-size: 0.75rem;
  }

  .menu-card__badge {
    font-size: 0.72rem;
    padding: 0.22rem 0.5rem;
  }

  .menu-card__flip-hint-btn {
    font-size: 0.72rem;
    padding: 0.22rem 0.6rem;
  }

  .menu-card__img-box {
    padding: clamp(0.2rem, 0.6vh, 0.45rem) 0;
  }

  .menu-card__img {
    max-height: clamp(90px, 15.5vh, 135px);
  }

  .menu-card__title {
    font-size: clamp(1.15rem, 2.2vh, 1.35rem);
    margin: 0 0 0.25rem;
  }

  .menu-card__desc {
    font-size: clamp(0.74rem, 1.22vh, 0.84rem);
    line-height: 1.32;
    margin: 0 0 0.35rem;
  }

  .menu-card__pricing {
    padding-top: 0.4rem;
  }

  .menu-card__price-group {
    font-size: 0.95rem;
  }

  .menu-card__currency {
    font-size: 0.8rem;
  }

  .menu-card__price {
    font-size: clamp(1.05rem, 1.8vh, 1.18rem);
  }

  .menu-card__variation {
    font-size: 0.8rem;
  }

  .menu-card__addon {
    font-size: 0.72rem;
    margin: 0.2rem 0 0;
  }

  .menu-card__action {
    margin-top: clamp(0.35rem, 0.9vh, 0.55rem);
  }

  .menu-card__order-btn {
    padding: clamp(0.52rem, 1vh, 0.72rem) 1rem;
    font-size: clamp(0.85rem, 1.4vh, 0.98rem);
    border-radius: 11px;
  }

  .card-twist-indicator {
    transform: scale(0.82);
    transform-origin: top right;
  }

  .card-details-hint,
  .card-flick-hint {
    margin-top: 0.22rem;
    margin-bottom: 0.1rem;
  }

  .card-details-hint__icon,
  .card-flick-hint__icon {
    width: 13px;
    height: 13px;
  }

  .card-details-hint__text,
  .card-flick-hint__text {
    font-size: 0.72rem;
  }

  /* Back Face / Blast Stage on Laptop */
  .menu-card__face--back {
    padding: clamp(0.75rem, 1.6vh, 1rem) clamp(0.85rem, 1.8vw, 1.2rem);
  }

  .burger-blast-stage {
    min-height: 0;
    flex: 1;
    margin: 0.1rem 0 0.35rem;
  }

  .burger-blast-layer {
    width: 140px;
    height: 48px;
  }

  .burger-blast-callout__pill {
    padding: 0.25rem 0.5rem;
  }

  .burger-blast-callout__name {
    font-size: 0.72rem;
  }

  .burger-blast-callout__desc {
    font-size: 0.62rem;
  }

  .menu-card__order-btn--back {
    padding: clamp(0.52rem, 1vh, 0.72rem) 1rem;
    font-size: clamp(0.82rem, 1.35vh, 0.94rem);
  }
}

/* Extra compact laptops (e.g. 1366x768 with small available height, or 1280x720) */
@media (max-height: 580px) and (min-width: 769px) {
  :root {
    --wall-radius: clamp(160px, min(20.5vw, 26vh), 205px);
    --wall-center-y: 51.5%;
    --item-width: clamp(94px, min(10.2vw, 14.4vh), 118px);
    --center-item-width: clamp(150px, min(16.8vw, 22.8vh), 192px);
    --panel-width: clamp(360px, 30vw, 400px);
    --card-width: 270px;
    --card-height: 385px;
  }

  .logo {
    top: 0.85rem;
    width: 162px;
  }

  .header-gradient {
    height: 48px;
  }

  .menu-card__img {
    max-height: 85px;
  }

  .menu-card__title {
    font-size: 1.12rem;
    margin-bottom: 0.15rem;
  }

  .menu-card__desc {
    font-size: 0.72rem;
    line-height: 1.25;
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .menu-card__order-btn {
    padding: 0.45rem 0.8rem;
    font-size: 0.85rem;
  }

  .card-twist-indicator {
    transform: scale(0.72);
  }

  .card-flick-hint {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE VIEW (@media (max-width: 768px))
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .logo {
    top: 1.15rem;
    width: clamp(165px, 42vw, 195px);
  }

  body.is-scrolled .logo {
    top: 1.15rem;
    width: clamp(165px, 42vw, 195px);
  }

  /* 1. Mobile wall: categories pulled closer to center burger filling spaces on all sides */
  .category-item {
    position: absolute;
    width: clamp(136px, 38vw, 178px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%) !important;
    transition: none !important;
    touch-action: pan-y;
    z-index: 5;
  }

  /* Center Burger: Substantially larger in the middle, top z-index */
  .category-item--center,
  .category-item[data-category="burger"] {
    top: 49.5% !important;
    left: 50% !important;
    width: clamp(276px, 76vw, 342px) !important;
    transform: translate(-50%, -50%) !important;
    z-index: 10;
  }

  /* Top-Left: Fresh Slaws */
  .category-item[data-category="salads"] {
    top: 22% !important;
    left: 20% !important;
    width: clamp(134px, 37vw, 172px) !important;
    z-index: 5;
  }

  /* Top-Center: Beef Dripping Fries */
  .category-item[data-category="fries"] {
    top: 17% !important;
    left: 50% !important;
    width: clamp(139px, 38vw, 178px) !important;
    z-index: 5;
  }

  /* Top-Right: Chicken Tenders */
  .category-item[data-category="chicken"] {
    top: 23% !important;
    left: 80% !important;
    width: clamp(139px, 38vw, 178px) !important;
    z-index: 5;
  }

  .category-item[data-category="chicken"] .category-item__img,
  .category-item__img--chicken {
    width: 68% !important;
    margin: 0 auto !important;
  }

  /* Bottom-Left: Corn Ribs */
  .category-item[data-category="corn"] {
    top: 76% !important;
    left: 20% !important;
    width: clamp(136px, 37vw, 175px) !important;
    z-index: 5;
  }

  /* Bottom-Center: Milkshakes (spaced well below Burger to prevent any click conflict) */
  .category-item[data-category="milkshakes"] {
    top: 83% !important;
    left: 50% !important;
    width: clamp(134px, 37vw, 172px) !important;
    z-index: 5;
  }

  /* Bottom-Right: Loaded Fries */
  .category-item[data-category="loaded-fries"] {
    top: 76% !important;
    left: 80% !important;
    width: clamp(141px, 39vw, 180px) !important;
    z-index: 5;
  }

  .category-item__title {
    margin-top: 0.42rem;
    padding: 0.28rem 0.75rem;
    border-radius: 9999px;
  }

  .category-item__label {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
  }

  .category-item__count {
    display: none !important;
  }

  /* When details panel is open on mobile: Keep background wall centered */
  .--is-details-showing .categories-wall {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: none !important;
    display: block;
    padding: 0;
    pointer-events: none;
    opacity: 0.25;
  }

  .--is-details-showing .category-item {
    opacity: 0.55;
  }

  .--is-details-showing .category-item--center {
    opacity: 0.55;
  }

  /* 2. & 3. Product panel: opens from bottom, stays strictly below top headers on all devices */
  .product-details-panel {
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: auto !important;
    max-height: calc(100dvh - 20px) !important;
    max-height: calc(100vh - 20px) !important;
    border-radius: 28px 28px 0 0;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.25);
    padding: 1rem 1rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
    transform: translateY(100%);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Reorder panel elements via flexbox:
     1: .panel-header
     2: .panel-carousel-area
     3: .card-details-hint
     4: .card-flick-hint
     5: .details-close-btn (below cards and hints)
  */
  .panel-header {
    order: 1;
    padding-top: 0.2rem;
    padding-right: 0;
    margin-bottom: 0.2rem;
    align-items: center;
    text-align: center;
  }

  .details-cat-tag {
    font-size: 0.72rem;
    margin-bottom: 0.15rem;
    letter-spacing: 0.08em;
  }

  /* Reduce gap between product title and cards */
  .details-cat-title {
    font-size: 1.55rem;
    line-height: 1.1;
    margin: 0;
  }

  .details-counter {
    margin-top: 0.15rem;
    font-size: 0.8rem;
  }

  .panel-carousel-area {
    order: 2;
    min-height: auto;
    flex: 0 0 auto;
    margin-top: 0.2rem;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: none;
  }

  .card-stack {
    width: clamp(290px, 86vw, 340px);
    height: clamp(440px, 55vh, 490px);
    touch-action: none;
  }

  .menu-card__face {
    padding: 1.18rem 1.3rem;
    border-radius: 20px;
  }

  .menu-card__img-box {
    flex: 1.35;
    padding: 0;
    min-height: 220px;
    margin-top: -16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
  }

  .menu-card__img {
    width: auto;
    max-width: 95%;
    height: auto;
    max-height: 265px;
    object-fit: contain;
    transform: translateY(-10px);
    transform-origin: center center;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
    -webkit-transform-style: flat;
    transform-style: flat;
  }

  .menu-card:hover .menu-card__img {
    transform: translateY(-10px);
  }

  .menu-card__body {
    position: relative;
    z-index: 5;
    margin-top: -46px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  .menu-card__title {
    font-size: 1.42rem;
    margin: 0 0 0.3rem;
  }

  .menu-card__desc {
    font-size: 0.88rem;
    line-height: 1.32;
    margin: 0 0 0.5rem;
  }

  .menu-card__pricing {
    padding-top: 0.6rem;
  }

  .menu-card__price {
    font-size: 1.28rem;
  }

  .menu-card__action {
    margin-top: 0.6rem;
  }

  .menu-card__order-btn {
    padding: 0.75rem 1.15rem;
    font-size: 1rem;
    border-radius: 12px;
  }

  /* Rear face responsive adjustments */
  .menu-card__face--back {
    padding: 1rem 1.15rem;
  }

  .menu-card__back-pictorial {
    width: 68px;
    height: 68px;
    border-radius: 12px;
  }

  .menu-card__back-title {
    font-size: 1.15rem;
    margin: 0 0 0.25rem;
  }

  .meta-pill {
    font-size: 0.76rem;
    padding: 0.22rem 0.55rem;
  }

  .menu-card__ingredients-list {
    gap: 0.35rem;
  }

  .menu-card__ing-row {
    padding: 0.4rem 0.55rem;
    border-radius: 8px;
  }

  .ing-row__name {
    font-size: 0.86rem;
  }

  .ing-row__desc {
    font-size: 0.74rem;
  }

  .highlight-chip {
    font-size: 0.72rem;
    padding: 0.2rem 0.48rem;
  }

  .menu-card__back-allergens {
    font-size: 0.74rem;
    margin-top: 0.35rem;
  }

  .menu-card__order-btn--back {
    padding: 0.72rem 1.1rem;
    font-size: 0.98rem;
  }

  .carousel-nav-btn {
    width: 38px;
    height: 38px;
    z-index: 70;
    pointer-events: auto !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  #carousel-prev-btn { left: -8px; }
  #carousel-next-btn { right: -8px; }

  /* Hints below cards */
  .card-details-hint {
    order: 3;
    margin-top: 0.65rem;
    margin-bottom: 0.15rem;
    position: relative;
    z-index: 5;
  }

  .card-flick-hint {
    order: 4;
    margin-top: 0.15rem;
    margin-bottom: 0.25rem;
    position: relative;
    z-index: 5;
  }

  .card-details-hint__text,
  .card-flick-hint__text {
    font-size: 0.78rem;
  }

  /* Reposition panel close button below cards and hints */
  .details-close-btn {
    order: 5;
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    bottom: auto;
    align-self: center;
    margin: 0.35rem auto 0.1rem;
    width: auto;
    height: auto;
    padding: 0.45rem 1.7rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1.5px solid #ebd9c8;
    box-shadow: 0 4px 14px rgba(62, 41, 23, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    color: #27221e;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
    z-index: 60;
    pointer-events: auto !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .details-close-btn:hover {
    background: #fbf5ee;
    border-color: #a66a38;
  }

  .details-close-btn__text {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #27221e;
    letter-spacing: 0.02em;
  }
}

/* ═══════════════════════════════════════════════════════════════
   ALLERGEN INFO BUTTON (BOTTOM LEFT OF MENU WALL)
   ═══════════════════════════════════════════════════════════════ */
.allergen-info-btn {
  position: absolute;
  bottom: clamp(1.4rem, 3.2vw, 2.4rem);
  left: clamp(1.2rem, 3vw, 2.4rem);
  z-index: 60;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1.5px solid #ebd9c8;
  padding: 0;
  box-shadow: 0 4px 16px rgba(62, 41, 23, 0.1);
  color: #a66a38;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.allergen-info-btn:hover {
  transform: translateY(-2px) scale(1.06);
  border-color: #a66a38;
  background: #fbf5ee;
  box-shadow: 0 8px 24px rgba(166, 106, 56, 0.22);
}

.allergen-info-btn__icon {
  width: 21px;
  height: 21px;
  stroke: #a66a38;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   ALLERGEN MODAL & OVERLAY
   ═══════════════════════════════════════════════════════════════ */
.allergen-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(18, 14, 11, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 2000;
}

.allergen-modal-overlay.--is-open {
  opacity: 1;
  pointer-events: auto;
}

.allergen-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%) scale(0.96);
  width: min(94vw, 980px);
  max-height: 90vh;
  background: #fdfbf7;
  border: 1.5px solid #ebd9c8;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(43, 34, 26, 0.3);
  z-index: 2001;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.allergen-modal.--is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.allergen-modal-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.allergen-modal-header,
.allergen-quick-legend,
.allergen-tabs,
.allergen-modal-footer {
  flex-shrink: 0;
}

.allergen-modal-header {
  padding: 1.5rem 1.8rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid #ebd9c8;
  background: #ffffff;
}

.allergen-badge {
  font-size: 0.78rem;
  font-weight: 800;
  color: #a66a38;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #fbf5ee;
  padding: 0.25rem 0.65rem;
  border-radius: 8px;
  border: 1px solid #edd9c8;
  display: inline-block;
  margin-bottom: 0.35rem;
}

.allergen-modal-header h2 {
  font-size: 1.75rem;
  font-weight: 900;
  color: #2b221a;
  letter-spacing: -0.01em;
  margin: 0;
}

.allergen-subtitle {
  font-size: 0.94rem;
  color: #786c62;
  margin: 0.25rem 0 0;
  line-height: 1.4;
}

.allergen-modal-close-btn {
  background: #f5ebe1;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2b221a;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.allergen-modal-close-btn:hover {
  background: #a66a38;
  color: #ffffff;
  transform: rotate(90deg);
}

/* Quick legend */
.allergen-quick-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.8rem;
  background: #fcf8f3;
  border-bottom: 1px solid #f0e2d3;
}

.allergen-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: #594c41;
}

.legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.legend-dot--gluten { background: #d97706; }
.legend-dot--dairy { background: #3b82f6; }
.legend-dot--eggs { background: #eab308; }
.legend-dot--sesame { background: #10b981; }
.legend-dot--mustard { background: #f59e0b; }
.legend-dot--celery { background: #14b8a6; }
.legend-dot--fish { background: #0284c7; }
.legend-dot--sulfites { background: #7c3aed; }
.legend-dot--soy { background: #059669; }
.legend-dot--peanuts { background: #dc2626; }
.legend-dot--corn { background: #d97706; }

.legend-marker {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-sizing: border-box;
}
.legend-marker--solid {
  border: 2px solid #a66a38;
  background: #fbf5ee;
}
.legend-marker--dashed {
  border: 1.5px dashed #786c62;
  background: transparent;
}

/* Tabs */
.allergen-tabs {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.8rem 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  background: #ffffff;
  border-bottom: 1px solid #ebd9c8;
  min-height: 60px;
  box-sizing: border-box;
}
.allergen-tabs::-webkit-scrollbar { display: none; }

.allergen-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f7f1eb;
  border: 1.5px solid #ebd9c8;
  border-radius: 9999px;
  padding: 0.52rem 1.25rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  line-height: 1.25;
  font-weight: 700;
  color: #4b3d32;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.allergen-tab:hover {
  border-color: #a66a38;
  color: #a66a38;
}

.allergen-tab--active {
  background: #a66a38;
  color: #ffffff;
  border-color: #a66a38;
}

/* Body */
.allergen-modal-body {
  padding: 1.5rem 1.8rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.allergen-cat-group {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.allergen-cat-header {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
}

.allergen-cat-tag {
  font-size: 0.78rem;
  font-weight: 800;
  color: #a66a38;
  letter-spacing: 0.05em;
}

.allergen-cat-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: #2b221a;
  margin: 0;
}

.allergen-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.15rem;
}

.allergen-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #ffffff;
  border: 1.5px solid #ebd9c8;
  border-radius: 18px;
  padding: 1rem 1.15rem;
  box-shadow: 0 3px 12px rgba(62, 41, 23, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.allergen-card:hover {
  transform: translateY(-2px);
  border-color: #a66a38;
}

.allergen-card__img-wrap {
  width: 74px;
  height: 74px;
  flex-shrink: 0;
  border-radius: 14px;
  background: #faf4ed;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.allergen-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.allergen-card__content {
  flex: 1;
  min-width: 0;
}

.allergen-card__badge {
  font-size: 0.74rem;
  font-weight: 800;
  color: #a66a38;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.15rem;
}

.allergen-card__title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #2b221a;
  margin: 0.1rem 0 0.5rem;
  line-height: 1.25;
  white-space: normal;
}

.allergen-card__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.allergen-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.22rem 0.6rem;
  border-radius: 7px;
  letter-spacing: 0.02em;
}

.allergen-pill--gluten { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.allergen-pill--dairy { background: #dbeafe; color: #1e40af; border: 1px solid #bfdbfe; }
.allergen-pill--eggs { background: #fef9c3; color: #854d0e; border: 1px solid #fef08a; }
.allergen-pill--sesame { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.allergen-pill--mustard { background: #ffedd5; color: #9a3412; border: 1px solid #fed7aa; }
.allergen-pill--celery { background: #ccfbf1; color: #115e59; border: 1px solid #99f6e4; }
.allergen-pill--fish { background: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd; }
.allergen-pill--sulfites { background: #f5f3ff; color: #6d28d9; border: 1px solid #ddd6fe; }
.allergen-pill--peanuts { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.allergen-pill--soy { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.allergen-pill--corn { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
.allergen-pill--vegan { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; font-weight: 800; }
.allergen-pill--none { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; font-weight: 700; }
.allergen-pill--default { background: #f3ede6; color: #4a3c30; border: 1px solid #e2d7cb; }

.allergen-pill--trace {
  background: #ffffff !important;
  border-style: dashed !important;
  border-width: 1.5px !important;
}

.allergen-card__groups {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.allergen-pills-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.allergen-group-label {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8c7d71;
  margin-right: 0.25rem;
  flex-shrink: 0;
}

.allergen-group-label--trace {
  color: #a67c52;
}

.allergen-card__note {
  font-size: 0.78rem;
  color: #8c7d71;
  margin: 0.45rem 0 0;
  font-style: italic;
  line-height: 1.45;
}

/* SOP Notes Box */
.allergen-sop-notes {
  background: #faf4ed;
  border: 1px solid #edd9c8;
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.5rem;
}

.allergen-sop-notes__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 800;
  color: #8a5024;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.allergen-sop-notes__text {
  font-size: 0.84rem;
  color: #5c4e42;
  line-height: 1.6;
  margin: 0;
}

.allergen-sop-notes__text strong {
  color: #2b221a;
  font-weight: 700;
}

.allergen-sop-notes__badge {
  font-size: 0.74rem;
  font-weight: 800;
  color: #a66a38;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-top: 0.35rem;
  border-top: 1px dashed #dec4ad;
}

.allergen-modal-footer {
  padding: 1rem 1.8rem;
  border-top: 1px solid #ebd9c8;
  background: #ffffff;
}

.allergen-advisory {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.86rem;
  color: #6d5f54;
  line-height: 1.45;
}

/* ═══════════════════════════════════════════════════════════════
   TESTIMONIALS SLIDER SECTION
   ═══════════════════════════════════════════════════════════════ */
.testimonials-section {
  position: relative;
  padding: 6rem 2rem 6.5rem;
  background: #f7f1eb;
  background: linear-gradient(180deg, #f7f1eb 0%, #f4eae0 100%);
  overflow: hidden;
  z-index: 20;
}

.testimonials-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.testimonials-tag {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #a66a38;
  text-transform: uppercase;
  background: #ffffff;
  border: 1.5px solid #ebd9c8;
  border-radius: 9999px;
  padding: 0.35rem 1.1rem;
  display: inline-block;
  margin-bottom: 0.85rem;
}

.testimonials-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: #2b221a;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.testimonials-subtitle {
  font-size: 0.98rem;
  color: #726255;
  margin: 0;
  line-height: 1.5;
}

.testimonials-slider-wrap {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.testimonials-nav-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid #ebd9c8;
  color: #2b221a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(62, 41, 23, 0.08);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  z-index: 5;
}

.testimonials-nav-btn:hover {
  background: #a66a38;
  color: #ffffff;
  border-color: #a66a38;
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(166, 106, 56, 0.25);
}

.testimonials-track {
  flex: 1;
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 1.5rem 0.5rem 2rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}

.testimonials-track.--is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  user-select: none;
}
.testimonials-track::-webkit-scrollbar { display: none; }

/* Testimonial Card with 3D Flip matching Product Card */
.testimonial-card {
  flex: 0 0 clamp(290px, 32vw, 360px);
  height: 420px;
  perspective: 1200px;
  scroll-snap-align: center;
  cursor: pointer;
}

.testimonial-card__flipper {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.2, 0.85, 0.4, 1.2);
  border-radius: 26px;
}

.testimonial-card__face {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 26px;
  backface-visibility: hidden !important;
  -webkit-backface-visibility: hidden !important;
  background: #ffffff;
  border: 1.5px solid #ebd9c8;
  box-shadow: 0 10px 30px rgba(62, 41, 23, 0.08);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  transition: opacity 0.3s ease, visibility 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover .testimonial-card__face {
  border-color: #a66a38;
  box-shadow: 0 16px 40px rgba(166, 106, 56, 0.16);
}

/* FRONT FACE */
.testimonial-card__face--front {
  transform: rotateY(0deg);
  z-index: 2;
  opacity: 1;
  visibility: visible;
}

/* REAR FACE */
.testimonial-card__face--back {
  transform: rotateY(180deg);
  background: #ffffff;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Flipped State via .--is-flipped */
.testimonial-card.--is-flipped .testimonial-card__flipper {
  transform: rotateY(180deg);
}

.testimonial-card.--is-flipped .testimonial-card__face--front {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

.testimonial-card.--is-flipped .testimonial-card__face--back {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  z-index: 5 !important;
}

/* Desktop Hover Flip */
@media (hover: hover) and (pointer: fine) {
  .testimonial-card:hover .testimonial-card__flipper {
    transform: rotateY(180deg);
  }

  .testimonial-card:hover .testimonial-card__face--front {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: 1 !important;
  }

  .testimonial-card:hover .testimonial-card__face--back {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 5 !important;
  }
}

.testimonial-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.testimonial-card__badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: #a66a38;
  letter-spacing: 0.04em;
  background: #fbf5ee;
  border: 1px solid #edd9c8;
  border-radius: 8px;
  padding: 0.25rem 0.6rem;
}

.testimonial-card__flip-hint-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #faf4ee;
  border: 1px solid #ebd9c8;
  border-radius: 9999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: #635245;
  cursor: pointer;
  transition: all 0.2s ease;
}

.testimonial-card__flip-hint-btn:hover {
  background: #a66a38;
  color: #ffffff;
  border-color: #a66a38;
}

.testimonial-card__avatar-wrap {
  display: flex;
  justify-content: center;
  padding: 1rem 0;
}

.testimonial-card__photo-holder {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #ebd9c8;
  box-shadow: 0 8px 24px rgba(62, 41, 23, 0.12);
  background: #f7ede3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.testimonial-card:hover .testimonial-card__photo-holder {
  transform: scale(1.06);
  border-color: #a66a38;
}

.testimonial-card__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  display: block;
}

.testimonial-new-chip {
  display: inline-flex;
  align-items: center;
  background: #16a34a;
  color: #ffffff;
  font-size: 0.58rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 9999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.google-review-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
}

.google-review-badge svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.google-reviews-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1.5px solid #ebd9c8;
  border-radius: 9999px;
  padding: 0.4rem 1.1rem;
  box-shadow: 0 4px 14px rgba(62, 41, 23, 0.06);
  margin-top: 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #2b221a;
}

.google-reviews-pill .stars {
  color: #eab308;
  letter-spacing: 0.1em;
}

.google-reviews-pill .count {
  color: #7b6d61;
  font-weight: 600;
}

.google-reviews-pill .sync-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 9999px;
  padding: 0.15rem 0.55rem;
  margin-left: 0.25rem;
}

.google-reviews-pill .sync-indicator .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse-dot 2s infinite ease-in-out;
}

.testimonial-placeholder-avatar {
  width: 100%;
  height: 100%;
}

.testimonial-card__info {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.testimonial-card__name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #2b221a;
  margin: 0;
}

.testimonial-card__role {
  font-size: 0.78rem;
  color: #7b6d61;
  margin: 0;
  font-weight: 600;
}

.testimonial-card__favorite {
  font-size: 0.7rem;
  color: #a66a38;
  background: #fcf6ef;
  border: 1px solid #edd9c8;
  border-radius: 12px;
  padding: 0.3rem 0.75rem;
  margin-top: 0.4rem;
  font-weight: 700;
}


.testimonial-card__back-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.testimonial-card__back-badge {
  font-size: 0.68rem;
  font-weight: 800;
  color: #a66a38;
  letter-spacing: 0.08em;
}

.testimonial-card__flip-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #faf4ee;
  border: 1px solid #ebd9c8;
  border-radius: 9999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: #635245;
  cursor: pointer;
  transition: all 0.2s ease;
}

.testimonial-card__flip-back-btn:hover {
  background: #a66a38;
  color: #ffffff;
}

.testimonial-card__quote-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 0;
}

.testimonial-card__quote-mark {
  width: 28px;
  height: 28px;
  fill: #ebd9c8;
  margin-bottom: 0.5rem;
}

.testimonial-card__quote-text {
  font-size: 0.94rem;
  line-height: 1.6;
  color: #3b3027;
  font-style: italic;
  margin: 0;
  font-weight: 500;
}

.testimonial-card__rating {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f0e3d5;
  padding-top: 0.85rem;
}

.star-group {
  color: #d97706;
  font-size: 0.95rem;
  letter-spacing: 2px;
}

.rating-text {
  font-size: 0.68rem;
  font-weight: 700;
  color: #8c7c6f;
}

@media (max-width: 768px) {
  .allergen-modal {
    width: 95vw;
    max-height: 92vh;
    border-radius: 22px;
  }
  .allergen-modal-header {
    padding: 1.2rem 1.2rem 0.8rem;
  }
  .allergen-modal-body {
    padding: 1.2rem;
  }
  .allergen-items-grid {
    grid-template-columns: 1fr;
  }
  .allergen-tabs {
    padding: 0.75rem 1.2rem 0.85rem;
    min-height: 52px;
    flex-shrink: 0;
    align-items: center;
  }
  .allergen-tab {
    padding: 0.45rem 1.1rem;
    font-size: 0.84rem;
    line-height: 1.25;
    min-height: 36px;
    flex-shrink: 0;
  }
  .allergen-quick-legend {
    padding: 0.7rem 1.2rem;
    gap: 0.75rem;
  }
  .allergen-legend-item {
    font-size: 0.78rem;
  }

  .testimonials-section {
    padding: 4.5rem 1.2rem 5rem;
  }
  .testimonials-slider-wrap {
    gap: 0.5rem;
  }
  .testimonials-nav-btn {
    display: none;
  }
  .testimonial-card {
    flex: 0 0 85vw;
    height: 400px;
  }
}

/* ═══════════════════════════════════════════════════════════
   REVAMPED OUR STORY SECTION (PARALLAX & LIVELY)
   ═══════════════════════════════════════════════════════════ */
.our-story-section {
  position: relative;
  width: 100%;
  background: #140f0c;
  color: #ebd9c8;
  padding: 8rem 2rem 9rem;
  overflow: hidden;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  box-sizing: border-box;
  z-index: 10;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.45), 0 -4px 16px rgba(0, 0, 0, 0.3);
}

/* Atmospheric ambient radial glows */
.story-ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  transition: transform 0.6s ease-out;
}
.story-ambient--1 {
  top: 10%;
  left: -10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(178, 115, 72, 0.45) 0%, transparent 70%);
}
.story-ambient--2 {
  bottom: 15%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(220, 167, 126, 0.35) 0%, transparent 70%);
}

.story-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Hero Header */
.story-hero-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 6.5rem;
  position: relative;
}

.story-eyebrow-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1.15rem;
  border-radius: 30px;
  background: rgba(178, 115, 72, 0.12);
  border: 1px solid rgba(178, 115, 72, 0.35);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #dca77e;
  margin-bottom: 1.5rem;
}

.story-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b27348;
  box-shadow: 0 0 8px #b27348;
}

.story-main-title {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0 0 1.8rem;
  background: linear-gradient(135deg, #ffffff 0%, #ebd9c8 50%, #c49a6c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.story-lead-quote {
  font-size: clamp(1.15rem, 2.1vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.65;
  color: #ebd9c8;
  opacity: 0.95;
  max-width: 720px;
  margin: 0 auto;
}

.story-scroll-indicator {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.story-scroll-line {
  width: 2px;
  height: 48px;
  background: linear-gradient(180deg, #b27348, transparent);
  border-radius: 2px;
  animation: storyScrollBounce 2s infinite ease-in-out;
}

@keyframes storyScrollBounce {
  0% { transform: scaleY(0.4); transform-origin: top; opacity: 0.3; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(0.4); transform-origin: bottom; opacity: 0.3; }
}

/* Chapters Layout */
.story-chapter {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 8rem;
}

.story-chapter--reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.story-chapter--reverse .story-chapter__text-col {
  order: 1;
}

.story-chapter--reverse .story-chapter__media-col {
  order: 2;
}

.story-chapter__index {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #b27348;
  margin-bottom: 0.85rem;
}

.story-chapter__index--center {
  text-align: center;
}

.story-chapter__title {
  font-size: clamp(1.65rem, 2.6vw, 2.3rem);
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  margin: 0 0 1.35rem;
}

.story-chapter__highlight {
  font-size: 1.18rem;
  font-weight: 600;
  color: #dca77e;
  line-height: 1.5;
  margin: 0 0 1.1rem;
}

.story-chapter__p {
  font-size: 0.96rem;
  line-height: 1.75;
  color: rgba(235, 217, 200, 0.85);
  margin: 0 0 1.25rem;
}

.story-chapter__p:last-of-type {
  margin-bottom: 1.5rem;
}

.story-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.story-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.95rem;
  border-radius: 30px;
  background: rgba(178, 115, 72, 0.12);
  border: 1px solid rgba(178, 115, 72, 0.28);
  font-size: 0.78rem;
  font-weight: 600;
  color: #ebd9c8;
  transition: all 0.25s ease;
}

.story-badge:hover {
  background: rgba(178, 115, 72, 0.22);
  border-color: rgba(178, 115, 72, 0.55);
  color: #fff;
  transform: translateY(-2px);
}

.story-badge svg {
  color: #dca77e;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   OUR STORY: FADELY APPEAR FROM LEFT TO RIGHT ON SCROLL
   ═══════════════════════════════════════════════════════════ */
.story-fade-in-left {
  opacity: 0;
  transform: translateX(-48px);
  filter: blur(6px);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.1s cubic-bezier(0.16, 1, 0.3, 1),
              filter 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.story-fade-in-left.is-revealed {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0px);
}

/* Parallax Media Cards */
.story-media-card {
  position: relative;
  perspective: 1000px;
  transition: transform 0.4s ease-out;
}

.story-media-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(178, 115, 72, 0.35);
  box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.65);
  aspect-ratio: 4 / 3;
  background: #201712;
}

.story-media-img {
  width: 100%;
  height: 125%;
  top: -12.5%;
  position: relative;
  object-fit: cover;
  transform: scale(1.05) translate3d(0, 0, 0);
  transition: transform 0.2s cubic-bezier(0.2, 0, 0.2, 1);
  will-change: transform;
}

.story-media-card:hover .story-media-img {
  transform: scale(1.12);
}

.story-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 15, 12, 0.05) 0%, rgba(20, 15, 12, 0.4) 100%);
  pointer-events: none;
}

/* Parallax Floating Tags */
.story-floating-tag {
  display: none !important;
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(22, 16, 12, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(220, 167, 126, 0.35);
  padding: 0.65rem 1.25rem;
  border-radius: 50px;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  will-change: transform;
  transition: transform 0.25s ease-out;
}

.story-floating-tag--top {
  top: -16px;
  right: -14px;
}

.story-floating-tag--bottom {
  bottom: -16px;
  left: -14px;
}

.story-floating-tag--top-right {
  top: -16px;
  right: -14px;
}

.story-floating-tag--bottom-left {
  bottom: -16px;
  left: -14px;
}

.floating-tag-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00e676;
  box-shadow: 0 0 8px #00e676;
}

/* Chapter 4: Final Showcase & Manifesto */
.story-chapter--final {
  display: block;
  margin-bottom: 0;
}

.story-final-card {
  position: relative;
  background: linear-gradient(145deg, rgba(28, 20, 15, 0.9), rgba(16, 12, 9, 0.98));
  border: 1px solid rgba(178, 115, 72, 0.35);
  border-radius: 30px;
  padding: 5rem 3.5rem;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 35px 70px -25px rgba(0, 0, 0, 0.7);
}

.story-final-card__glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  height: 220px;
  background: radial-gradient(ellipse at top, rgba(178, 115, 72, 0.3), transparent 70%);
  pointer-events: none;
}

.story-final-card__title {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 1.25rem;
}

.story-final-card__desc {
  max-width: 780px;
  margin: 0 auto 3.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(235, 217, 200, 0.88);
}

.story-manifesto-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.story-manifesto-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(178, 115, 72, 0.22);
  border-radius: 20px;
  padding: 2.2rem 1.4rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.story-manifesto-item:hover {
  transform: translateY(-8px);
  border-color: rgba(178, 115, 72, 0.65);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(178, 115, 72, 0.2);
  background: rgba(178, 115, 72, 0.06);
}

.manifesto-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(178, 115, 72, 0.15);
  border: 1px solid rgba(178, 115, 72, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
  color: #dca77e;
  transition: transform 0.3s ease;
}

.story-manifesto-item:hover .manifesto-icon {
  transform: scale(1.1);
  background: #b27348;
  color: #fff;
}

.manifesto-quote {
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.5;
  color: #ebd9c8;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   MODERN FOOTER SECTION
   ═══════════════════════════════════════════════════════════ */
.site-footer {
  position: relative;
  width: 100%;
  background: #110d0a;
  color: #ebd9c8;
  border-top: 1px solid rgba(178, 115, 72, 0.25);
  padding: 5.5rem 2rem 2.5rem;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  box-sizing: border-box;
  z-index: 10;
}

.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
}

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

/* Brand Column */
.footer-col--brand {
  padding-right: 1.5rem;
}

.footer-brand-logo {
  display: inline-block;
  margin-bottom: 0.75rem;
  transition: opacity 0.2s ease;
}

.footer-brand-logo:hover {
  opacity: 0.85;
}

.footer-brand-logo img {
  width: 135px;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-brand-tagline {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #dec4ad;
  margin: 0 0 0.85rem;
}

.footer-brand-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(235, 217, 200, 0.75);
  margin: 0 0 1.4rem;
  max-width: 320px;
}

.footer-hours-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(178, 115, 72, 0.12);
  border: 1px solid rgba(178, 115, 72, 0.3);
  padding: 0.42rem 0.95rem;
  border-radius: 30px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #dca77e;
  margin-bottom: 1.6rem;
}

.hours-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00e676;
  box-shadow: 0 0 8px #00e676;
}

.footer-social-links {
  display: flex;
  gap: 0.75rem;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(178, 115, 72, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ebd9c8;
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-social-btn:hover {
  background: #b27348;
  color: #ffffff;
  border-color: #b27348;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(178, 115, 72, 0.4);
}

/* Links Columns */
.footer-col__title {
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #ffffff;
  margin: 0 0 1.4rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-link {
  font-size: 0.88rem;
  color: rgba(235, 217, 200, 0.72);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
  cursor: pointer;
}

.footer-link:hover {
  color: #dca77e;
  transform: translateX(4px);
}

/* Contact Column */
.footer-contact-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-bottom: 1.1rem;
  font-size: 0.88rem;
  color: rgba(235, 217, 200, 0.82);
}

.footer-contact-item svg {
  color: #b27348;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item__text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  line-height: 1.45;
}

.footer-contact-item__text a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact-item__text a:hover {
  color: #dca77e;
}

.footer-directions-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.6rem;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  background: rgba(178, 115, 72, 0.15);
  border: 1px solid rgba(178, 115, 72, 0.35);
  color: #ebd9c8;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-directions-btn:hover {
  background: #b27348;
  color: #ffffff;
  border-color: #b27348;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(178, 115, 72, 0.35);
}

/* Bottom Bar */
.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: rgba(235, 217, 200, 0.6);
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom-copy {
  font-size: 0.82rem;
}

.footer-bottom-legal {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.legal-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.legal-link:hover {
  color: #dca77e;
}

.legal-sep {
  opacity: 0.4;
}

/* ═══════════════════════════════════════════════════════════
   MADE WITH ❤️ INTERACTIVE BUBBLE
   ═══════════════════════════════════════════════════════════ */
.footer-heart-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-heart-trigger {
  background: transparent;
  border: 1px solid rgba(178, 115, 72, 0.32);
  padding: 0.45rem 1.15rem;
  border-radius: 30px;
  color: #ebd9c8;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.25s ease;
  font-family: inherit;
  outline: none;
}

.footer-heart-trigger:hover,
.footer-heart-container.is-open .footer-heart-trigger {
  background: rgba(178, 115, 72, 0.18);
  border-color: rgba(178, 115, 72, 0.65);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(178, 115, 72, 0.25);
}

.heart-emoji {
  display: inline-block;
  animation: heartPulse 1.8s infinite ease-in-out;
  transform-origin: center;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
  font-style: normal;
  line-height: 1;
  color: #ff3366;
}

@keyframes heartPulse {
  0%, 100% { transform: scale(1); }
  30% { transform: scale(1.3); }
  60% { transform: scale(1.05); }
}

.footer-heart-bubble {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px) scale(0.92);
  opacity: 0;
  pointer-events: none;
  background: rgba(24, 18, 14, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(178, 115, 72, 0.45);
  border-radius: 14px;
  padding: 0.8rem 1.25rem;
  white-space: nowrap;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65), 0 0 24px rgba(178, 115, 72, 0.25);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
}

/* Invisible bridge so mouse moving from button to bubble doesn't drop hover */
.footer-heart-bubble::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -15px;
  right: -15px;
  height: 24px;
  background: transparent;
  pointer-events: auto;
}

/* Hover on desktop OR .is-open class reveals the bubble */
.footer-heart-container:hover .footer-heart-bubble,
.footer-heart-container.is-open .footer-heart-bubble {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.bubble-arrow {
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #18120e;
  border-right: 1px solid rgba(178, 115, 72, 0.45);
  border-bottom: 1px solid rgba(178, 115, 72, 0.45);
}

.bubble-body {
  position: relative;
  z-index: 2;
  text-align: center;
}

.bubble-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: #ebd9c8;
}

.bubble-partner-link {
  color: #dca77e;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  border-bottom: 1px dashed rgba(220, 167, 126, 0.5);
  padding-bottom: 1px;
  transition: all 0.22s ease;
}

.bubble-partner-link:hover {
  color: #ffffff;
  border-bottom: 1px solid #ffffff;
  text-shadow: 0 0 12px rgba(220, 167, 126, 0.6);
}

.bubble-sep {
  color: #b27348;
  font-size: 0.9rem;
  opacity: 0.8;
}

.bubble-partner-link:hover svg {
  opacity: 1;
}

.bubble-sep {
  color: rgba(235, 217, 200, 0.4);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS (OUR STORY & FOOTER)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .story-chapter {
    gap: 3.5rem;
    margin-bottom: 6rem;
  }
  .story-manifesto-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .footer-col--brand {
    grid-column: span 2;
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .our-story-section {
    padding: 5rem 1.25rem 6rem;
  }
  .story-hero-header {
    margin-bottom: 4.5rem;
  }
  .story-chapter {
    grid-template-columns: 1fr !important;
    gap: 2.5rem;
    margin-bottom: 4.5rem;
  }
  .story-chapter--reverse .story-chapter__text-col {
    order: 2;
  }
  .story-chapter--reverse .story-chapter__media-col {
    order: 1;
  }
  .story-media-wrapper {
    aspect-ratio: 16 / 10;
  }
  .story-floating-tag {
    font-size: 0.74rem;
    padding: 0.5rem 0.95rem;
  }
  .story-floating-tag--top,
  .story-floating-tag--top-right {
    top: -12px;
    right: 8px;
  }
  .story-floating-tag--bottom,
  .story-floating-tag--bottom-left {
    bottom: -12px;
    left: 8px;
  }
  .story-final-card {
    padding: 3rem 1.5rem;
    border-radius: 20px;
  }
  .story-manifesto-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .site-footer {
    padding: 4.5rem 1.25rem 2.5rem;
  }
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
  .footer-col--brand {
    grid-column: span 1;
  }
  .site-footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 1.2rem;
  }
  .footer-bottom-center {
    order: -1;
  }
}

/* ═══════════════════════════════════════════════════════════════
   3D TWISTING ARROW AROUND CARD & INTERACTIVE FLIP INDICATOR
   ═══════════════════════════════════════════════════════════════ */

/* Orbit Wrapper & SVG - Hidden on front card so only the sleek flip pill remains */
.twist-orbit-wrapper {
  display: none !important;
}

.card-twist-indicator {
  position: absolute;
  top: 24%;
  right: -12px;
  z-index: 25;
  display: flex;
  align-items: center;
  cursor: pointer;
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
  transform: translateZ(2px);
  -webkit-transform: translateZ(2px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.card-twist-indicator:hover {
  transform: translateZ(2px) translateX(3px);
}

.card-twist-indicator:active {
  transform: translateZ(2px) scale(0.96);
}

/* Visibility rules based on card stack & flip state */
.menu-card[data-stack-pos="1"] .card-twist-indicator,
.menu-card[data-stack-pos="2"] .card-twist-indicator,
.menu-card[data-stack-pos="3"] .card-twist-indicator,
.menu-card[data-stack-pos="hidden"] .card-twist-indicator {
  display: none !important;
}

.menu-card.is-flipped .card-twist-indicator:not(.card-twist-indicator--back) {
  display: none !important;
}

.menu-card:not(.is-flipped) .card-twist-indicator--back {
  display: none !important;
}

/* 3D Curved Arrow Orbit SVG that arches around the card boundary */
.twist-orbit-wrapper {
  position: absolute;
  top: -46px;
  right: -16px;
  width: 108px;
  height: 165px;
  pointer-events: none !important;
  z-index: 1;
  overflow: visible;
}

.twist-orbit-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none !important;
}

.twist-orbit-dash {
  animation: twistDashScroll 1.2s linear infinite;
}

@keyframes twistDashScroll {
  from {
    stroke-dashoffset: 28;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.twist-orbit-line {
  stroke-dasharray: 120 40;
  animation: twistLineFlow 2.4s ease-in-out infinite alternate;
}

@keyframes twistLineFlow {
  0% {
    stroke-dashoffset: 40;
    opacity: 0.82;
  }
  100% {
    stroke-dashoffset: -18;
    opacity: 1;
  }
}

.twist-orbit-arrowhead {
  animation: twistArrowPulse 1.8s ease-in-out infinite;
}

@keyframes twistArrowPulse {
  0%, 100% {
    transform: translate(18px, 148px) rotate(-160deg) scale(1);
  }
  50% {
    transform: translate(18px, 148px) rotate(-160deg) scale(1.22);
  }
}

/* Floating Flip Hint Pill */
.twist-hint-pill {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, rgba(35, 29, 24, 0.98) 0%, rgba(18, 14, 11, 0.99) 100%);
  border: 1.5px solid rgba(229, 176, 120, 0.85);
  border-radius: 999px;
  padding: 0.4rem 0.88rem 0.4rem 0.45rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45), 0 0 12px rgba(229, 176, 120, 0.25);
  animation: twistPillFloat 3s ease-in-out infinite;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

@keyframes twistPillFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.twist-icon-box {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e5b078 0%, #a66a38 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(166, 106, 56, 0.5);
}

.twist-spin-svg {
  width: 16px;
  height: 16px;
  animation: twistSpin3D 2.6s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  transform-origin: center;
}

@keyframes twistSpin3D {
  0% {
    transform: rotate(0deg) scale(1);
  }
  45% {
    transform: rotate(180deg) scale(1.15);
  }
  50% {
    transform: rotate(180deg) scale(1.15);
  }
  95% {
    transform: rotate(360deg) scale(1);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

.twist-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
}

.twist-text-main {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff6eb;
  font-family: inherit;
}

.twist-text-sub {
  font-size: 0.62rem;
  font-weight: 600;
  color: #e5b078;
  letter-spacing: 0.02em;
}

/* Return Flip on Back Face */
.card-twist-indicator--back {
  display: none !important;
  top: auto;
  bottom: 64px;
  right: 14px;
  z-index: 30;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.6));
}

.twist-hint-pill--back {
  background: linear-gradient(135deg, rgba(229, 176, 120, 0.95), rgba(166, 106, 56, 0.95));
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45), 0 0 16px rgba(229, 176, 120, 0.45);
}

.twist-hint-pill--back .twist-icon-box {
  background: #27221e;
  color: #f7d6a5;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.twist-hint-pill--back .twist-text-main {
  color: #ffffff;
}

.twist-hint-pill--back .twist-text-sub {
  color: #27221e;
  font-weight: 700;
}

.twist-spin-svg--reverse {
  animation-direction: reverse;
}

@media (max-width: 640px) {
  .card-twist-indicator {
    right: -4px;
    top: 22%;
    transform: translateZ(2px);
    -webkit-transform: translateZ(2px);
  }
  .card-twist-indicator:hover {
    transform: translateZ(2px);
    -webkit-transform: translateZ(2px);
  }
  .twist-hint-pill {
    padding: 0.32rem 0.72rem 0.32rem 0.38rem;
    gap: 0.45rem;
  }
  .twist-icon-box {
    width: 24px;
    height: 24px;
  }
  .twist-spin-svg {
    width: 13px;
    height: 13px;
  }
  .twist-text-main {
    font-size: 0.68rem;
    letter-spacing: 0.03em;
  }
  .twist-text-sub {
    font-size: 0.54rem;
  }
  .card-twist-indicator--back {
    right: 10px;
    bottom: 58px;
    transform: translateZ(2px);
    -webkit-transform: translateZ(2px);
  }
}

/* ═══════════════════════════════════════════════════════════════
   TEMPORARY E-COMMERCE HIDE (Toggleable: easily restorable)
   Hides cart buttons, cart modal/drawer, order actions, and product prices
   ═══════════════════════════════════════════════════════════════ */
.header-cart-btn,
.cart-modal,
.cart-modal-overlay,
.cart-fly-clone,
.menu-card__pricing,
.menu-card__action,
.menu-card__back-action,
.menu-card__order-btn,
.card-flick-hint,
.footer-link--order,
.price-wrap,
.price {
  display: none !important;
}
