/* Layout chrome from layouts/static_home.blade.php stays in the DOM.
   These rules keep that older stylesheet from fighting the new home design. */

body.ibson-new {
  background: #f4efe6 !important;
  background-image: none !important;
  color: #1c1410;
  font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
  line-height: 1.5;
}

body.ibson-new * {
  font-family: inherit;
}

body.ibson-new .display,
body.ibson-new .brand strong,
body.ibson-new .mark-grid strong,
body.ibson-new .spot-links strong,
body.ibson-new .spot h3,
body.ibson-new .deal h3,
body.ibson-new .staff-card h3,
body.ibson-new .socks h3,
body.ibson-new .ink-list h3,
body.ibson-new .chefs-logo figcaption,
body.ibson-new .tagline,
body.ibson-new .quote,
body.ibson-new .dialog h2,
body.ibson-new .staff-card p:last-child {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
}

body.ibson-new > nav.navbar,
body.ibson-new > .mobile-nav,
body.ibson-new > footer:not(.site-footer) {
  display: none !important;
}

body.ibson-new .site-header {
  z-index: 1000;
}

body.ibson-new [id] {
  scroll-margin-top: 5.5rem;
}

body.ibson-new .site-header .navbar {
  position: static !important;
  width: min(72rem, calc(100% - 2.5rem));
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none;
}

body.ibson-new .hero {
  height: auto !important;
  min-height: 0 !important;
  background: none !important;
  background-image: none !important;
  display: block !important;
  overflow: visible !important;
  align-items: stretch;
  justify-content: flex-start;
}

body.ibson-new .hero:before,
body.ibson-new .hero h1:after,
body.ibson-new .btn:before,
body.ibson-new .btn:after {
  content: none !important;
  display: none !important;
}

body.ibson-new .hero h1.display {
  display: block;
  margin: 0.5rem 0 0;
  font-size: clamp(2.8rem, 7vw, 4.5rem) !important;
  font-weight: 560;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: none !important;
  text-shadow: none !important;
  color: #1c1410 !important;
}

body.ibson-new .hero p.lede {
  max-width: 36rem;
  margin-bottom: 0;
  color: #6e574d !important;
  font-size: 1.125rem !important;
  text-shadow: none;
}

body.ibson-new .btn {
  text-transform: none;
  font-weight: 480;
  letter-spacing: 0;
  box-shadow: none;
}

body.ibson-new footer.site-footer {
  background: transparent !important;
  background-color: transparent !important;
  color: #6e574d !important;
  padding: 2rem 0 !important;
  overflow: visible;
}

body.ibson-new select option {
  background-color: #fffaf4;
  color: #1c1410;
}

body.ibson-new .panel .text-danger {
  color: #b42318 !important;
  font-size: 0.75rem;
}

body.ibson-new .reserve-note {
  color: #6e574d;
  font-size: 0.75rem;
  line-height: 1.45;
}

body.ibson-new .reserve-note a {
  color: #c45c74;
}

body.ibson-new .contact-block + .contact-block {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e6d9cc;
}

body.ibson-new .contact-block h3 {
  margin: 0 0 0.35rem;
  color: #c45c74;
  font-size: 0.75rem;
  font-weight: 480;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.ibson-new .contact-block p {
  margin: 0.2rem 0;
  color: #6e574d;
  font-size: 0.95rem;
}

body.ibson-new .contact-block a {
  color: #1c1410;
}

body.ibson-new .location-highlight {
  animation: locationGlow 1.5s ease-in-out 2;
}

@keyframes locationGlow {
  0% {
    box-shadow: 0 0 0 rgba(196, 92, 116, 0);
  }

  50% {
    box-shadow: 0 0 28px rgba(196, 92, 116, 0.85);
  }

  100% {
    box-shadow: 0 0 0 rgba(196, 92, 116, 0);
  }
}

body.ibson-new .ui-datepicker,
body.ibson-new .ui-timepicker-wrapper {
  z-index: 2000 !important;
  font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
}

.banner-popup-overlay {
  display: none;
  position: fixed;
  z-index: 99999;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.banner-popup-box {
  position: relative;
  max-width: 700px;
  width: 100%;
  background: #111;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.25);
  animation: popupZoom 0.35s ease;
  cursor: pointer;
}

.banner-popup-image {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.banner-popup-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 26px;
  line-height: 34px;
  cursor: pointer;
  z-index: 2;
}

.banner-popup-close:hover {
  background: #c45c74;
}

@keyframes popupZoom {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 576px) {
  .banner-popup-box {
    max-width: 95%;
  }

  .banner-popup-close {
    width: 32px;
    height: 32px;
    font-size: 22px;
  }
}
