/* jQuery UI datepicker: base stylesheet is not bundled, so keep the widget out of page flow */
#ui-datepicker-div {
  display: none;
  position: absolute;
  z-index: 10001;
}

/* Menu cards: crop photos to the same 3:2 frame used by the PatioTime template */
.pt-food-menu.food-menu-style-5 .pt-food-menu-img {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.pt-food-menu.food-menu-style-5 .pt-food-menu-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Booking form feedback — under the "Book A Table" heading */
#bookFormAlert.book-form-alert,
#bookFormAlert {
  display: none;
  max-width: 720px;
  margin: 18px auto 0;
  padding: 14px 18px;
  border: 2px solid transparent;
  text-align: left;
  line-height: 1.5;
  font-family: var(--body-font, Jost, sans-serif);
  font-size: 15px;
}

#bookFormAlert.is-success,
#bookFormAlert.is-error,
#bookFormAlert.is-info {
  display: block;
}

#bookFormAlert.is-success {
  border-color: #46b450;
  color: #2f6b34;
}

#bookFormAlert.is-error {
  border-color: #dc3232;
  color: #8a1f1f;
}

#bookFormAlert.is-info {
  border-color: #c59764;
  color: #5c4630;
}

#bookForm.submitting [type="submit"] {
  opacity: 0.7;
  cursor: wait;
}

/* Honeypot: keep off-screen (avoid display:none so naive bots still fill it) */
#bookForm .book-hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Contact page hero image */
.elementor-4892 .elementor-element.elementor-element-22919a6e,
.elementor-4892 .elementor-element.elementor-element-22919a6e:not(.elementor-motion-effects-element-type-background),
.elementor-4892 .elementor-element.elementor-element-22919a6e > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-image: url("../img/contactbg-hero-v3.jpg") !important;
  background-position: center top !important;
  background-size: cover;
}

/* The desktop parallax script renders a real image instead of the CSS background. */
.elementor-4892
  .elementor-element.elementor-element-22919a6e
  > .parallax-img-container
  > img {
  object-position: 50% 0% !important;
  margin-top: -80px !important;
}

.elementor-4892 .elementor-element.elementor-element-22919a6e > .elementor-background-overlay {
  opacity: 0.25;
}

/* Contact page location map */
.elementor-4892 .elementor-element.elementor-element-50ba31b .pt-title {
  font-size: 42px;
}

.contact-location-map {
  width: 100%;
  margin-top: 24px;
  overflow: hidden;
}

.contact-location-map iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

.contact-location-map-feature {
  margin-top: 0;
}

.contact-location-map-feature iframe {
  height: 380px;
}

@media (min-width: 1025px) {
  .elementor-4892 .elementor-element.elementor-element-64b6149 {
    width: 40% !important;
  }

  .elementor-4892 .elementor-element.elementor-element-892eb5b {
    width: 2% !important;
  }

  .elementor-4892 .elementor-element.elementor-element-60f1baa {
    width: 58% !important;
  }
}

@media (max-width: 767px) {
  .elementor-4892 .elementor-element.elementor-element-50ba31b .pt-title {
    font-size: 34px;
  }

  .contact-location-map iframe {
    height: 320px;
  }

  .contact-location-map-feature {
    margin-top: 0;
  }
}

/* Homepage Special menu thumbnails: 50% larger than the theme default. */
.elementor-element-233cdaca .pt-food-menu-img,
.pt-food-menu-img.special-menu-image-large {
  flex: 0 0 108px;
  width: 108px;
  max-width: 108px;
}

.elementor-element-233cdaca .pt-food-menu-img img,
.pt-food-menu-img.special-menu-image-large img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

@media (max-width: 599px) {
  .elementor-element-233cdaca .pt-food-menu-img,
  .pt-food-menu-img.special-menu-image-large {
    flex-basis: 90px;
    width: 90px;
    max-width: 90px;
  }
}

/* Homepage notice dialog */
.site-notice-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.62);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.site-notice-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.site-notice {
  position: relative;
  width: 100%;
  max-width: 540px;
  padding: 52px 46px 46px;
  background: #fff;
  border: 1px solid rgba(197, 151, 100, 0.55);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
  text-align: center;
  transform: translateY(24px);
  transition: transform 0.35s ease;
}

.site-notice:before {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(197, 151, 100, 0.28);
  content: "";
  pointer-events: none;
}

.site-notice-overlay.is-open .site-notice {
  transform: translateY(0);
}

.site-notice .pt-subtitle-wrap {
  margin-bottom: 18px;
}

.site-notice-title {
  margin: 0;
  color: #363636;
  font-family: var(--heading-font, "Cormorant Garamond", serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.04em;
}

.site-notice-text {
  margin: 14px 0 0;
  color: #5c4630;
  font-family: var(--body-font, Jost, sans-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}

.site-notice-actions {
  margin-top: 30px;
}

.site-notice-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  padding: 0;
  background: none;
  border: 0;
  color: #9a9a9a;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s ease;
}

.site-notice-close:hover,
.site-notice-close:focus-visible {
  color: #c59764;
}

@media (prefers-reduced-motion: reduce) {
  .site-notice-overlay,
  .site-notice {
    transition: none;
  }
}

@media (max-width: 599px) {
  .site-notice {
    padding: 44px 24px 34px;
  }

  .site-notice-title {
    font-size: 22px;
  }

  .site-notice-text {
    font-size: 15px;
  }
}

/* Menu page category navigation */
.menu-page {
  scroll-behavior: smooth;
}

.menu-category-nav {
  width: min(1200px, calc(100% - 40px));
  margin: 70px auto 0;
  padding: 24px 0;
  border-top: 1px solid rgba(197, 151, 100, 0.35);
  border-bottom: 1px solid rgba(197, 151, 100, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .menu-page {
    scroll-behavior: auto;
  }
}

.menu-category-nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-category-nav__list a {
  display: block;
  padding: 10px 16px;
  border: 1px solid rgba(197, 151, 100, 0.65);
  color: #5c4630;
  font-family: var(--secondary-font);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.menu-category-nav__list a:hover,
.menu-category-nav__list a:focus-visible {
  border-color: #c59764;
  background-color: #c59764;
  color: #fff;
}

.menu-category-nav__list a:focus-visible {
  outline: 2px solid #5c4630;
  outline-offset: 3px;
}

.menu-category-target {
  scroll-margin-top: 40px;
}

@media (max-width: 767px) {
  .elementor-4888 .elementor-element.elementor-element-1bbf1931 .pt-title {
    font-size: 40px !important;
  }

  .menu-category-nav {
    width: calc(100% - 30px);
    margin-top: 45px;
    padding: 18px 0;
  }

  .menu-category-nav__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .menu-category-nav__list a {
    height: 100%;
    padding: 9px 6px;
    font-size: 11px;
  }
}
