/* parts/details.css: owned by the details workstream. Loaded after styles.css. */

/* ---------- Follow block (replaces the newsletter) ---------- */
.follow {
  padding: clamp(64px, 9vw, 110px) 24px;
  text-align: center;
}

.follow__eyebrow {
  margin: 0 0 14px;
  color: rgba(17, 17, 17, 0.6);
}

.follow__title {
  margin: 0;
  font-weight: 500;
}

.follow__link {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: baseline;
  justify-content: center;
  gap: 0 0.3em;
  min-height: 36px;
  padding: 4px 2px;
  font-family: var(--display);
  font-size: clamp(14px, 2.1vw, 24px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}

.follow__lead {
  font-weight: 300;
}

.follow__handle {
  position: relative;
  font-weight: 500;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 0.06em;
  transition: color 0.3s ease;
}

.follow__arrow {
  align-self: center;
  width: 0.5em;
  height: 0.5em;
  transition: transform 0.4s var(--ease-out), color 0.3s ease;
}

.follow__link:hover .follow__arrow,
.follow__link:focus-visible .follow__arrow {
  transform: translate(4px, -4px);
  color: var(--red);
}

.follow__link:hover .follow__handle,
.follow__link:focus-visible .follow__handle {
  color: var(--red);
}

.follow__link:focus-visible,
.footer a:focus-visible,
.nf a:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ---------- Footer ---------- */
.footer__bottom {
  margin-top: clamp(64px, 9vw, 110px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* Footer links get comfortable tap areas without changing the look */
.footer__links a {
  display: inline-block;
  padding: 10px 0;
}

.footer__social a {
  width: 44px;
  height: 44px;
  margin: -12px 0 -12px -14px;
}

.footer__info a[href^="tel"],
.footer__info a[href^="mailto"] {
  display: inline-block;
  padding: 2px 0;
}

/* ---------- Live hours line ---------- */
.footer__info .hours-live {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-family: var(--body);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--muted);
}

.footer__info .hours-live[hidden] {
  display: none;
}

.hours-live::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.footer__info .hours-live.is-open {
  color: rgba(255, 255, 255, 0.86);
}

.hours-live.is-open::before {
  background: #4ac77a;
  animation: hoursPulse 2.8s ease-out infinite;
}

@keyframes hoursPulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 199, 122, 0.5); }
  70%, 100% { box-shadow: 0 0 0 8px rgba(74, 199, 122, 0); }
}

/* ---------- 404 ---------- */
.nf {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 56px) var(--gutter) 72px;
  text-align: center;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(188, 0, 45, 0.16), transparent 70%),
    var(--bg);
}

.nf__inner {
  max-width: 760px;
}

.nf__eyebrow {
  margin: 0 0 22px;
  color: var(--muted);
  letter-spacing: 0.18em;
}

.nf__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(33px, 5.5vw, 76px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.nf__lede {
  margin: 26px auto 0;
  max-width: 34em;
  font-size: clamp(14px, 1.1vw, 16px);
  color: var(--muted);
}

.nf__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 38px;
}

.nf__actions .btn {
  min-width: 180px;
  min-height: 48px;
}

.nf__small {
  margin-top: 30px;
  font-size: 13px;
  color: var(--muted);
}

.nf__small a {
  display: inline-block;
  padding: 12px 6px;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.nf__small a:hover {
  color: var(--white);
  text-decoration-color: currentColor;
}

/* ---------- Mobile menu drawer ---------- */
html.has-menu-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.mobile-nav {
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 12px max(24px, env(safe-area-inset-right)) calc(40px + env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  transform: translateY(-8px);
  transition:
    opacity 0.38s var(--ease-out),
    transform 0.38s var(--ease-out),
    visibility 0s linear 0.38s;
}

.is-menu-open .mobile-nav {
  transform: none;
  transition:
    opacity 0.38s var(--ease-out),
    transform 0.38s var(--ease-out);
}

.mobile-nav__group > a,
.mobile-nav__group > button {
  min-height: 64px;
  padding: 14px 0;
  font-size: clamp(19px, 5.5vw, 24px);
  letter-spacing: -0.01em;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav__group > a:active,
.mobile-nav__group > button:active {
  opacity: 0.6;
}

.mobile-nav__group .chev {
  width: 16px;
  height: 16px;
  margin-left: 16px;
  flex: none;
}

.mobile-nav__sub a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 500;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav__sub ul > li:last-child {
  padding-bottom: 14px;
}

.mobile-nav .btn {
  min-height: 52px;
  margin-top: 32px;
}

/* Staggered fade-in of the rows when the drawer opens */
.mobile-nav__group,
.mobile-nav .btn {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.is-menu-open .mobile-nav__group,
.is-menu-open .mobile-nav .btn {
  opacity: 1;
  transform: none;
}

.is-menu-open .mobile-nav__group:nth-child(1) { transition-delay: 0.04s; }
.is-menu-open .mobile-nav__group:nth-child(2) { transition-delay: 0.08s; }
.is-menu-open .mobile-nav__group:nth-child(3) { transition-delay: 0.12s; }
.is-menu-open .mobile-nav__group:nth-child(4) { transition-delay: 0.16s; }
.is-menu-open .mobile-nav__group:nth-child(5) { transition-delay: 0.2s; }
.is-menu-open .mobile-nav .btn { transition-delay: 0.26s; }

.burger {
  width: 48px;
  height: 48px;
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 760px) {
  .follow {
    padding-inline: 20px;
  }
  .nf__actions .btn {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav,
  .mobile-nav__group,
  .mobile-nav .btn {
    transform: none !important;
    transition-delay: 0s !important;
  }
  .hours-live.is-open::before {
    animation: none;
  }
  .follow__link:hover .follow__arrow {
    transform: none;
  }
}

/* Instagram glyph sits left of "Follow @nomibartampa", sized and colored like the text */
.follow__link {
  align-items: center;
  gap: 0 0.28em;
}

.follow__icon {
  flex: none;
  width: 0.92em;
  height: 0.92em;
  color: inherit;
  align-self: center;
  transition: color 0.3s ease;
}

.follow__link:hover .follow__icon,
.follow__link:focus-visible .follow__icon {
  color: var(--red);
}

.follow {
  padding-top: clamp(56px, 8vw, 100px);
}

/* Follow block: much larger Instagram glyph with real space before the text */
.follow__link {
  gap: 0 0.42em;
}

.follow__icon {
  width: 1.05em;
  height: 1.05em;
  margin-right: 0.08em;
}

@media (max-width: 560px) {
  .follow__link {
    gap: 0 0.28em;
    font-size: clamp(14px, 3.6vw, 17px);
  }

  .follow__icon {
    width: 0.95em;
    height: 0.95em;
  }
}

/* ===== Navbar breathing room ===== */
.navbar {
  padding: 8px clamp(24px, 3.6vw, 64px);
}

.nav {
  gap: clamp(6px, 1vw, 16px);
}

.nav__link {
  padding: 12px clamp(10px, 1.2vw, 18px);
  letter-spacing: 0.17em;
  font-size: 10.6px;
}

.nav__ig {
  margin-left: clamp(8px, 1.2vw, 18px);
}

.nav__cta {
  margin-left: clamp(14px, 1.8vw, 28px);
  padding: 9px 30px;
}

/* Footer live-hours line: text only, no glowing dot */
.hours-live::before,
.hours-live.is-open::before {
  display: none;
  animation: none;
}

/* ===== Dropdown stability: a fading panel never catches the pointer ===== */
.mega {
  pointer-events: none;
}

.mega.is-open {
  pointer-events: auto;
}

.mega::before {
  top: -24px;
  height: 24px;
}

/* ===== Social: Instagram, TikTok, Facebook together ===== */
.nav__social {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: clamp(8px, 1.2vw, 18px);
}

.nav__social .nav__ig {
  margin-left: 0;
  width: 38px;
}

.footer__social {
  gap: 18px;
}

.follow__more {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px clamp(24px, 4vw, 56px);
  margin: clamp(20px, 3vw, 34px) 0 0;
}

.follow__more a {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  min-height: 44px;
  font-family: var(--display);
  font-size: clamp(14px, 1.4vw, 18px);
  color: var(--ink);
  text-decoration: none;
  transition: color 0.3s ease;
}

.follow__more a span {
  font-weight: 300;
}

.follow__more a b {
  font-weight: 500;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 0.08em;
}

.follow__more svg {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

.follow__more a:hover,
.follow__more a:focus-visible {
  color: var(--red);
}

/* ===== Follow block: Instagram, TikTok and Facebook as three equal big rows ===== */
.follow__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2px, 0.6vw, 10px);
}

.follow__more {
  display: none;
}

/* ===== Social icons in the mobile menu ===== */
.mobile-nav__social {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.is-menu-open .mobile-nav__social {
  opacity: 1;
  transform: none;
  transition-delay: 0.32s;
}

.mobile-nav__social a {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: var(--white);
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

.mobile-nav__social a:active,
.mobile-nav__social a:hover {
  border-color: var(--red);
  color: var(--red);
}

.mobile-nav__social svg {
  width: 24px;
  height: 24px;
}

/* ---------- FAQ (AEO) ---------- */
.faq {
  margin-top: 22px;
  max-width: 720px;
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__q {
  list-style: none;
  cursor: pointer;
  padding: 18px 36px 18px 0;
  font-family: var(--display);
  font-size: clamp(16px, 1.35vw, 20px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  position: relative;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s ease;
}

.faq__item[open] .faq__q::after {
  transform: translateY(-30%) rotate(225deg);
}

.faq__a {
  padding: 0 0 20px;
  max-width: 40em;
}

.faq__a p {
  margin: 0;
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.55;
  opacity: 0.85;
}

.faq__q:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ---------- OpenTable reservation widget (Visit #reserve) ---------- */
.reserve-layout {
  display: grid;
  grid-template-columns: minmax(288px, 320px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
  margin-top: 8px;
}

.reserve-layout__widget {
  min-width: 0;
}

.ot-widget {
  width: 100%;
  max-width: 480px;
  margin: 0;
  padding: 18px 16px 12px;
  background: var(--light, #f1efec);
  border-radius: 4px;
  color: var(--ink, #111);
  line-height: 0;
}

.ot-widget iframe,
.ot-widget [id^="ot-widget-container"] {
  display: block;
  max-width: 100%;
  margin-inline: auto;
}

.rules--reserve {
  grid-template-columns: 1fr;
  margin-top: 0;
}

.rules--reserve li {
  padding-block: 14px;
}

.rules--reserve strong {
  min-width: 110px;
}

@media (max-width: 860px) {
  .reserve-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ot-widget {
    margin-inline: 0;
  }
}
