/* Mobile layout and overflow fixes */

/* Dark blur behind header so logo / menu / cart stay readable over hero imagery */
.page-wrapper.is-home-page .header,
.page-wrapper:has(.page-hero-image) .header {
  z-index: 20;
}

.page-wrapper.is-home-page .header::before,
.page-wrapper:has(.page-hero-image) .header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  /* Nav height only - longer scrims were clipping the hero rating badge */
  height: clamp(72px, 11vw, 96px);
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 6, 4, 0.88) 0%,
    rgba(8, 6, 4, 0.55) 55%,
    rgba(8, 6, 4, 0) 100%
  );
  -webkit-backdrop-filter: blur(14px) saturate(1.05);
  backdrop-filter: blur(14px) saturate(1.05);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
}

/* Keep logo readable over photo heroes */
.page-wrapper:has(.page-hero-image) .header .w-nav-brand img,
.page-wrapper.is-home-page .header .w-nav-brand img {
  filter: drop-shadow(0 1px 8px rgba(0, 0, 0, 0.45));
}

/* Lizy Kitchen wordmark (white PNG) */
.navbar .w-nav-brand img,
.nav-menu .w-nav-brand img {
  display: block;
  height: clamp(48px, 6.5vw, 62px);
  width: auto;
  max-width: min(58vw, 250px);
  object-fit: contain;
}

.page-wrapper.is-home-page .header > .navbar,
.page-wrapper:has(.page-hero-image) .header > .navbar {
  position: relative;
  z-index: 1;
}

/* Occasion cards: keep original end-crop layout, blur the decorative image only */
.event-section .event-small-image-block {
  pointer-events: none;
  z-index: 0;
}

.event-section .event-small-image {
  filter: blur(10px);
  transform: scale(1.08);
  opacity: 0.72;
}

.event-number-block.is-photo {
  padding: 0;
  overflow: hidden;
  background-color: transparent;
  width: 280px;
  height: 280px;
  border-radius: 28px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.event-number-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-section .event-content-block {
  position: relative;
  z-index: 1;
}

.event-section .event-title-block {
  position: relative;
  z-index: 1;
}

@media screen and (max-width: 991px) {
  .event-number-block.is-photo {
    width: 180px;
    height: 180px;
  }
}

@media screen and (max-width: 767px) {
  .event-number-block.is-photo {
    width: 100%;
    height: 200px;
  }

  /* Blurred end crop is decorative desktop-only */
  .event-section .event-small-image-block {
    display: none !important;
  }
}
/* Home hero: one tight lockup, less empty air above/below CTA */
.hero-section {
  height: 100svh;
  min-height: 620px;
  max-height: 920px;
  padding-bottom: 40px;
  box-sizing: border-box;
}

.is-home-page .about-section > .empty-space {
  height: clamp(28px, 4vw, 48px);
}

.hero-section .hero-content-block {
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  padding: clamp(4.5rem, 12vh, 6.5rem) 0 clamp(1.25rem, 3vh, 2rem);
  box-sizing: border-box;
}

/* Full-width Webflow container is the only flex child — center lockup inside it */
.hero-section .container.is-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
}

.hero-section .hero-main-block {
  padding-top: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(100%, 36rem);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero-section .hero-heading-block {
  margin-top: 0;
  align-items: center;
  gap: 0.85rem;
  grid-row-gap: 0.85rem;
  grid-column-gap: 0.85rem;
}

.hero-section .hero-heading {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(2.75rem, 7.2vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
}

.hero-section .hero-heading .gsap_split_line,
.hero-section .hero-heading .gsap_split_line-mask {
  display: block;
  width: 100%;
  text-align: center;
  line-height: inherit;
}

.hero-section .hero-offer-block {
  width: auto;
  max-width: 20rem;
  margin-top: 0;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.2rem 0.55rem;
}

.hero-section .hero-subtext {
  font-size: clamp(0.78rem, 2.4vw, 0.95rem);
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-align: center;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.4);
}

.hero-section .hero-subtext + .hero-subtext::before {
  content: "·";
  margin-right: 0.55rem;
  opacity: 0.7;
}

.hero-section .hero-cta-block {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  margin-top: 0.15rem;
}

.hero-section .lk-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.7rem;
  border: 1.5px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  background: #dc1425;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
  color: #fff;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.hero-section .lk-hero-cta:hover {
  background: #b91020;
  border-color: #fff;
  transform: translateY(-2px);
  color: #fff;
}

.hero-section .lk-hero-cta-label {
  font-family: var(--_typography---font-family--secondary-font, Outfit, sans-serif);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

/* Dark overlay also defined in catering.css for the video hero;
   keep a matching mobile-tuned wash so type stays readable */
.hero-section .hero-image-block::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(8, 6, 4, 0.5) 0%,
      rgba(8, 6, 4, 0.26) 42%,
      rgba(8, 6, 4, 0.56) 100%
    ),
    rgba(8, 6, 4, 0.18);
}

/* Keep decorative icons clear of the centered headline */
.hero-section .hero-heading,
.hero-section .hero-offer-block {
  position: relative;
  z-index: 2;
}

.hero-section .hero-icon {
  width: clamp(40px, 5vw, 64px);
  height: auto;
  z-index: 1;
  pointer-events: none;
  opacity: 0.92;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.hero-section .hero-icon.left {
  top: 12%;
  left: max(10px, calc(50% - 10.5rem));
  right: auto;
  transform: translateX(-100%);
}

.hero-section .hero-icon.right {
  top: 18%;
  right: max(10px, calc(50% - 10.5rem));
  left: auto;
  transform: translateX(100%);
}

@media screen and (max-width: 991px) {
  .hero-section {
    padding-bottom: 36px;
    max-height: none;
  }

  .hero-section .hero-content-block {
    padding: clamp(4.25rem, 11vh, 5.5rem) 0 0.75rem;
  }

  .hero-section .hero-heading-block {
    gap: 0.7rem;
    grid-row-gap: 0.7rem;
  }

  .hero-section .hero-icon.left {
    left: max(6px, calc(50% - 8.75rem));
    top: 10%;
  }

  .hero-section .hero-icon.right {
    right: max(6px, calc(50% - 8.75rem));
    top: 16%;
  }
}

@media screen and (max-width: 767px) {
  .hero-section {
    height: 72svh;
    min-height: 520px;
    max-height: 640px;
    padding-bottom: 16px;
  }

  .hero-section .hero-content-block {
    /* Optical center under the fixed nav, not stuck to the top */
    padding: 2.75rem 0 1.25rem;
  }

  .hero-section .hero-heading {
    font-size: clamp(2.55rem, 11.5vw, 3.35rem);
    line-height: 0.96;
  }

  .hero-section .hero-offer-block {
    max-width: 16.5rem;
    gap: 0.15rem 0.45rem;
  }

  .hero-section .hero-subtext + .hero-subtext::before {
    display: none;
  }

  .hero-section .hero-subtext {
    width: 100%;
    font-size: 0.8rem;
  }

  .hero-section .hero-cta-block {
    margin-top: 0.35rem;
  }

  .hero-section .section-overlay-block {
    transform: translateY(2px);
  }

  .hero-section .overlay-shap {
    height: 14px;
  }

  /* Anchor icons to the lockup, not the tall photo void */
  .hero-section .hero-icon.left,
  .hero-section .hero-icon.right {
    top: auto;
    bottom: auto;
  }

  .hero-section .hero-main-block {
    position: relative;
  }

  .hero-section .hero-icon.left {
    top: -0.35rem;
    left: -0.15rem;
    transform: none;
  }

  .hero-section .hero-icon.right {
    top: 0.55rem;
    right: -0.15rem;
    transform: none;
  }

  .is-home-page .about-section > .empty-space {
    height: 16px;
  }
}

@media screen and (max-width: 479px) {
  .hero-section {
    height: 70svh;
    min-height: 500px;
    max-height: 600px;
    padding-bottom: 14px;
  }

  .hero-section .hero-content-block {
    padding: 2.5rem 0 1rem;
  }

  .hero-section .hero-heading-block {
    gap: 0.55rem;
    grid-row-gap: 0.55rem;
  }

  .hero-section .hero-heading {
    font-size: 2.45rem;
    letter-spacing: 0.03em;
  }

  .hero-section .hero-icon {
    width: 30px;
  }

  .hero-section .hero-icon.left {
    top: -0.2rem;
    left: 0;
  }

  .hero-section .hero-icon.right {
    top: 0.45rem;
    right: 0;
  }

  .is-home-page .about-section > .empty-space {
    height: 12px;
  }
}

html {
  overflow-x: hidden;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
  overscroll-behavior-x: none;
  touch-action: pan-y;
}

.page-wrapper,
.main,
.branding-section,
.branding-block,
.gallery-image-wrap,
.testimonial-block,
.hero-section,
.our-item-section,
.footer {
  max-width: 100%;
  overflow-x: hidden;
}

.lk-cart-panel {
  width: min(420px, 100%);
  max-width: 100%;
}

.lk-cart-panel:not(.is-open) {
  visibility: hidden;
  pointer-events: none;
}

.lk-cart-panel.is-open {
  visibility: visible;
}

.footer-logo {
  max-width: 100%;
  height: auto;
}

.footer-logo-block {
  max-width: 100%;
  overflow: hidden;
}

.testimonial-mask {
  overflow: hidden;
}

.brand-single-block {
  max-width: none;
}

/* Hide Menu/Close text; icon is enough */
.menu-button-block .menu-button-text {
  display: none !important;
}

/* Keep nav toggle + close above the full-screen menu (mobile + desktop) */
.header {
  z-index: 10050 !important;
}

.navbar .menu-button-block.w-nav-button {
  position: relative;
  z-index: 10051 !important;
  width: 48px !important;
  min-width: 48px !important;
  max-width: 48px !important;
  height: 48px !important;
  overflow: hidden;
  justify-content: center;
  flex-direction: column;
}

.navbar .menu-button-block > .menu-button-main-block:nth-child(2) {
  display: none !important;
}

.navbar .menu-button-block.w--open > .menu-button-main-block:first-child {
  display: none !important;
}

.navbar .menu-button-block.w--open > .menu-button-main-block:nth-child(2) {
  display: flex !important;
}

.navbar .lk-header-actions {
  position: relative;
  z-index: 10051;
}

/* Open menu already has Order catering; hide outer header CTA/cart so they don't stack on it */
.navbar .menu-button-block.w--open ~ .lk-header-actions,
.navbar .menu-button-block.w--open ~ .navbar-button-block.is-none,
.navbar:has(.w-nav-button.w--open) .lk-header-actions,
.navbar:has(.w-nav-button.w--open) .navbar-menu-block > .navbar-button-block.is-none {
  display: none !important;
}

/* Keep open-menu Order catering visible (main.css hides .none below 479px) */
.nav-menu .navbar-heading-block .navbar-button-block.none {
  display: block !important;
}

.nav-menu .menu-close-block {
  position: relative;
  z-index: 10052;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  pointer-events: auto !important;
}

.nav-menu .menu-close-block::before {
  content: "\00d7";
  font-size: 2rem;
  line-height: 1;
  color: #111;
  font-weight: 500;
}

/* ----- Open nav menu: clearer hierarchy ----- */
.nav-menu {
  display: flex;
  flex-direction: column;
}

.nav-menu > .container.is-navbar {
  flex: 1;
  height: 100%;
}

.nav-menu .navbar-block {
  min-height: min(100vh, 100dvh);
  padding-bottom: max(24px, env(safe-area-inset-bottom));
}

/* Soften inactive links so current + hover pop */
.nav-menu .menu-link-block {
  color: rgba(255, 255, 255, 0.58);
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-menu .menu-link-block .menu-text-effect,
.nav-menu .menu-link-block .menu-link-text,
.nav-menu .menu-link-block .menu-hover-text {
  color: inherit;
}

.nav-menu .menu-link-block:hover,
.nav-menu .menu-link-block:focus-visible {
  color: #fff;
  transform: translateX(8px);
  outline: none;
}

.nav-menu .menu-link-block.w--current {
  color: #fff;
  position: relative;
  padding-left: 18px;
}

.nav-menu .menu-link-block.w--current::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 4px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.45);
}

.nav-menu .menu-link-block.w--current .menu-text-effect {
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.28);
}

.nav-menu .navbar-menu-wrap {
  gap: clamp(10px, 2.2vh, 20px);
}

.nav-menu .menu-text-effect {
  font-size: clamp(2.35rem, 6.5vw, 4rem);
  line-height: 1.05;
}

/* Order CTA in open menu - single clean pill, no offset shadow/hover ghost */
.nav-menu .navbar-heading-block .button.is-primary {
  width: auto !important;
  max-width: 100%;
  border-color: #fff;
  background: #fff !important;
  color: #dc1425 !important;
  box-shadow: none !important;
  white-space: nowrap;
  padding-left: 14px !important;
  padding-right: 12px !important;
  gap: 6px;
}

.nav-menu .navbar-heading-block .button.is-primary:hover,
.nav-menu .navbar-heading-block .button.is-primary:focus-visible {
  background: #fff !important;
  color: #b8101f !important;
  border-color: #fff;
  box-shadow: none !important;
}

.nav-menu .navbar-heading-block .button.is-primary .text-effect {
  overflow: hidden;
}

.nav-menu .navbar-heading-block .button.is-primary .button-link-text {
  color: #dc1425 !important;
  position: relative;
  z-index: 1;
}

/* GSAP hover swaps label out; replacement is hidden, so lock the visible label in place */
.nav-menu .navbar-heading-block .button.is-primary .button-link-text,
.nav-menu .navbar-heading-block .button.is-primary .button-link-text .gsap_split_word,
.nav-menu .navbar-heading-block .button.is-primary .button-link-text .gsap_split_letter-mask,
.nav-menu .navbar-heading-block .button.is-primary .button-link-text .gsap_split_letter {
  color: #dc1425 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  translate: none !important;
  rotate: none !important;
}

.nav-menu .navbar-heading-block .button.is-primary:hover .button-link-text,
.nav-menu .navbar-heading-block .button.is-primary:hover .button-link-text .gsap_split_letter {
  color: #b8101f !important;
}

.nav-menu .navbar-heading-block .button.is-primary .button-hover-text {
  display: none !important;
}

.nav-menu .navbar-heading-block .button.is-primary .button-arrow,
.nav-menu .navbar-heading-block .button.is-primary .arrow-icon {
  filter: none;
  opacity: 1 !important;
  transform: none !important;
  translate: none !important;
}

.nav-menu .navbar-heading-block .button.is-primary .arrow-icon {
  /* keep arrows red on white pill */
  filter: invert(18%) sepia(92%) saturate(4800%) hue-rotate(346deg) brightness(90%) contrast(95%);
}

/* Contact panel: card treatment so phone stands out */
.nav-menu .menu-info-block {
  align-self: flex-end;
  align-items: stretch;
  width: min(100%, 420px);
  max-width: 420px;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.22);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.nav-menu .menu-info-block .info-block {
  flex: 1 1 0;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-menu .menu-info-block .info-block:hover,
.nav-menu .menu-info-block .info-block:focus-visible {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
  outline: none;
}

.nav-menu .info-title-block {
  justify-content: flex-start;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0.92;
}

.nav-menu .info-title-block img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.nav-menu .inte-text {
  margin-top: 8px;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.nav-menu .inte-text a {
  color: inherit;
  text-decoration: none;
}

/* Desktop: invert close control when menu overlay is open */
@media screen and (min-width: 992px) {
  .menu-button-block.w--open .close-button-block {
    background-color: var(--primary-color, #dc1425);
  }

  .menu-button-block.w--open .close-icon {
    filter: brightness(0) invert(1);
  }

  .nav-menu .menu-close-block {
    background-color: var(--primary-color, #dc1425);
  }

  .nav-menu .menu-close-block::before {
    color: #fff;
  }
}

@media screen and (max-width: 991px) {
  /* Close | Logo | Order — no absolute centering (button was covering logo) */
  .nav-menu .navbar-heading-block {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    column-gap: 8px;
    align-items: center;
    min-height: 48px;
    margin-top: 16px;
  }

  .nav-menu .navbar-heading-block .navbar-button-block.none {
    position: relative;
    z-index: 2;
    margin-left: 0;
    flex: 0 0 auto;
    max-width: min(42vw, 148px);
    justify-self: end;
  }

  .nav-menu .navbar-heading-block .button.is-primary {
    width: 100% !important;
    max-width: 100%;
    min-height: 44px;
    justify-content: center;
    padding-left: 10px !important;
    padding-right: 8px !important;
  }

  .nav-menu .navbar-heading-block .button.is-primary .button-link-text {
    font-size: 0.72rem !important;
    letter-spacing: 0.04em;
  }

  .nav-menu .navbar-heading-block .button.is-primary .button-arrow {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
  }

  .nav-menu .navbar-heading-block .button.is-primary .arrow-icon {
    width: 14px;
    height: 14px;
  }

  .nav-menu .menu-close-block {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    justify-self: start;
  }

  .nav-menu .navbar-heading-block > a.w-nav-brand {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    float: none;
    margin: 0;
    padding: 0;
    z-index: 1;
    justify-self: center;
    max-width: 100%;
    display: flex;
    justify-content: center;
  }

  .nav-menu .navbar-heading-block > a.w-nav-brand img {
    display: block;
    max-height: 32px;
    max-width: 100%;
    width: auto;
  }

  .nav-menu .navbar-mwnu-block {
    flex: 1;
    width: 100%;
    margin-top: 28px;
    margin-bottom: 20px;
    justify-content: space-between;
    gap: 28px;
  }

  .nav-menu .menu-text-effect {
    font-size: clamp(2.5rem, 11vw, 3.25rem);
  }

  .nav-menu .menu-info-block {
    align-self: stretch;
    width: 100%;
    max-width: none;
    flex-direction: column;
    padding: 14px;
    gap: 10px;
  }

  .nav-menu .menu-info-block .info-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 16px 18px;
  }

  .nav-menu .info-title-block {
    margin: 0;
  }

  .nav-menu .inte-text {
    margin-top: 0;
    font-size: 1.25rem;
    white-space: nowrap;
  }
}

/* Center logo on small screens (hamburger and cart are different widths) */
@media screen and (max-width: 991px) {
  .navbar .navbar-menu-block {
    position: relative !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    min-height: 48px;
  }

  .navbar .navbar-menu-block > a.w-nav-brand {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    float: none !important;
    z-index: 2;
    margin: 0 !important;
    padding: 0 !important;
  }

  .navbar .navbar-menu-block > a.w-nav-brand img {
    display: block;
    height: 42px;
    max-height: 42px;
    max-width: min(56vw, 190px);
    width: auto;
  }

  .navbar .lk-header-actions {
    min-width: 48px;
    justify-content: flex-end;
  }

  input,
  select,
  textarea,
  .w-input,
  .w-select,
  .input-field,
  .footer-email-field {
    font-size: 16px !important;
  }

  .hero-icon.left,
  .hero-icon.right {
    max-width: 20vw;
    height: auto;
  }

  .our-signature-items-block,
  .signature-item-tab-block {
    max-width: 100%;
    overflow-x: hidden;
  }

  .copyright-right-block {
    max-width: 100%;
  }
}
