.menu-flyer-security-layer {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(24, 8, 0, 0.82);
  backdrop-filter: blur(16px);
}

.menu-flyer-security-layer[hidden] {
  display: none;
}

.menu-flyer-security-layer__box {
  width: min(100%, 620px);
  padding: 2rem 1.5rem;
  border-radius: 30px;
  border: 1px solid rgba(255, 221, 157, 0.22);
  background: linear-gradient(180deg, rgba(78, 30, 0, 0.96), rgba(34, 13, 0, 0.98));
  box-shadow: 0 26px 48px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.menu-flyer-security-layer__box h2 {
  margin: 0 0 0.7rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff4cf;
}

.menu-flyer-security-layer__box p {
  margin: 0;
  color: rgba(255, 244, 220, 0.92);
  line-height: 1.8;
}

.menu-flyer-page {
  padding-bottom: 2rem;
}

.menu-flyer-hero {
  padding-top: 2rem;
}

.menu-flyer-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 1.5rem;
  align-items: stretch;
}

.menu-flyer-hero__copy {
  max-width: 640px;
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 246, 231, 0.92);
}

.menu-flyer-hero__card,
.menu-flyer-section {
  border: 1px solid rgba(255, 240, 210, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(92, 38, 0, 0.14)),
    rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-lg);
}

.menu-flyer-hero__card {
  padding: 1.2rem;
  border-radius: 30px;
  backdrop-filter: blur(12px);
}

.menu-flyer-hero__card img {
  width: 100%;
  max-width: 180px;
  margin: 0 auto 1rem;
  border-radius: 24px;
  box-shadow: 0 18px 36px rgba(66, 27, 0, 0.34);
}

.menu-flyer-section {
  margin: 0 auto 1.5rem;
  border-radius: 34px;
}

.menu-flyer-section--alt {
  background:
    linear-gradient(180deg, rgba(255, 244, 214, 0.12), rgba(81, 31, 0, 0.18)),
    rgba(255, 255, 255, 0.04);
}

.menu-flyer-heading {
  margin-bottom: 1.5rem;
  text-align: center;
}

.menu-flyer-heading h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: #fff4cf;
}

.menu-flyer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.menu-flyer-card {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 248, 236, 0.12);
  box-shadow: 0 18px 34px rgba(68, 26, 0, 0.24);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.menu-flyer-card::before {
  content: "Garlic Garden Restaurant  Protected";
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  color: rgba(255, 255, 255, 0.28);
  font-size: clamp(0.8rem, 1.8vw, 1.1rem);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 42%, rgba(255, 255, 255, 0.06));
  pointer-events: none;
  transform: rotate(-24deg);
}

.menu-flyer-card:hover,
.menu-flyer-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 24px 42px rgba(68, 26, 0, 0.34);
  filter: brightness(1.03);
  outline: none;
}

.menu-flyer-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.menu-flyer-card::after {
  content: "Protected";
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(45, 16, 0, 0.78);
  color: rgba(255, 239, 203, 0.94);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 1;
  pointer-events: none;
}

.menu-flyer-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2600;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.menu-flyer-lightbox[hidden] {
  display: none;
}

.menu-flyer-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(27, 10, 0, 0.82);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.menu-flyer-lightbox__dialog {
  position: relative;
  width: min(100%, 980px);
  max-height: calc(100vh - 2rem);
  padding: 1rem 6.5rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 232, 181, 0.26);
  background: linear-gradient(180deg, rgba(77, 31, 0, 0.92), rgba(35, 13, 0, 0.96));
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.36);
}

.menu-flyer-lightbox__image {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: calc(100vh - 5rem);
  object-fit: contain;
  border-radius: 20px;
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.menu-flyer-lightbox__image.is-transitioning-next {
  opacity: 0.78;
  transform: translateX(-18px);
}

.menu-flyer-lightbox__image.is-transitioning-prev {
  opacity: 0.78;
  transform: translateX(18px);
}

.menu-flyer-lightbox__watermark {
  position: absolute;
  inset: 1rem 6.5rem;
  z-index: 2;
  display: grid;
  align-content: space-between;
  justify-items: center;
  pointer-events: none;
}

.menu-flyer-lightbox__watermark span {
  color: rgba(255, 255, 255, 0.18);
  font-size: clamp(1rem, 2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.menu-flyer-lightbox__close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: #000000;
  color: var(--white);
  cursor: pointer;
  transition: transform var(--transition), background-color var(--transition);
}

.menu-flyer-lightbox__close:hover,
.menu-flyer-lightbox__close:focus-visible {
  transform: scale(1.05);
  background: #111111;
  outline: none;
}

.menu-flyer-lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 86px;
  height: 86px;
  border: 2px solid rgba(20, 20, 20, 0.62);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform var(--transition), background-color var(--transition), box-shadow var(--transition);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.menu-flyer-lightbox__nav:hover,
.menu-flyer-lightbox__nav:focus-visible {
  background: #ffffff;
  transform: translateY(-50%) scale(1.04);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.28);
  outline: none;
}

.menu-flyer-lightbox__nav--prev {
  left: 1rem;
}

.menu-flyer-lightbox__nav--next {
  right: 1rem;
}

.menu-flyer-lightbox__chevron {
  display: inline-block;
  width: 26px;
  height: 26px;
  border-top: 6px solid #050505;
  border-right: 6px solid #050505;
}

.menu-flyer-lightbox__chevron--left {
  transform: rotate(-135deg);
  margin-left: 10px;
}

.menu-flyer-lightbox__chevron--right {
  transform: rotate(45deg);
  margin-right: 10px;
}

.menu-flyer-lightbox__close span {
  font-size: 2rem;
  line-height: 1;
}

@media (max-width: 1024px) {
  .menu-flyer-hero__grid {
    grid-template-columns: 1fr;
  }

  .menu-flyer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .menu-flyer-section {
    border-radius: 28px;
  }

  .menu-flyer-card {
    border-radius: 20px;
  }
}

@media (max-width: 640px) {
  .menu-flyer-hero {
    padding-top: 1rem;
  }

  .menu-flyer-heading {
    margin-bottom: 1.15rem;
  }

  .menu-flyer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
  }

  .menu-flyer-card img {
    aspect-ratio: 3 / 4;
  }

  .menu-flyer-lightbox__dialog {
    width: 100vw;
    max-width: 100vw;
    max-height: 100vh;
    height: 100vh;
    padding: 0;
    border-radius: 0;
    border: 0;
  }

  .menu-flyer-lightbox__nav {
    width: 60px;
    height: 60px;
    border-width: 1.5px;
    top: 50%;
  }

  .menu-flyer-lightbox__nav--prev {
    left: 0.5rem;
  }

  .menu-flyer-lightbox__nav--next {
    right: 0.5rem;
  }

  .menu-flyer-lightbox__chevron {
    width: 18px;
    height: 18px;
    border-top-width: 4px;
    border-right-width: 4px;
  }

  .menu-flyer-lightbox__close {
    top: 0.55rem;
    right: 0.55rem;
    width: 42px;
    height: 42px;
  }

  .menu-flyer-lightbox {
    padding: 0;
  }

  .menu-flyer-lightbox__image {
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 0;
    object-fit: contain;
  }

  .menu-flyer-lightbox__watermark {
    inset: 1rem 4.2rem;
  }

  .menu-flyer-lightbox__watermark span {
    font-size: 0.9rem;
    letter-spacing: 0.18em;
  }
}

@media print {
  body * {
    visibility: hidden !important;
  }

  body::before {
    content: "Protected content cannot be printed or exported.";
    visibility: visible !important;
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 2rem;
    background: #130700;
    color: #ffffff;
    font-family: "Manrope", sans-serif;
    font-size: 1.2rem;
    text-align: center;
  }
}
