/* Shared navigation and homepage carousel. Intentionally independent of the legacy utility CSS. */
.bb-header,
.bb-carousel {
  font-family: Arial, Helvetica, sans-serif;
  color: #080a0b;
}
.bb-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid #ededeb;
}
.bb-nav {
  max-width: 1440px;
  height: 88px;
  padding: 0 4.5%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
}
.bb-brand {
  display: block;
  flex-shrink: 0;
  width: 230px;
}
.bb-brand img {
  width: 100%;
  height: auto;
  display: block;
}
.bb-desktop-links {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3.3vw, 50px);
  margin-left: auto;
  margin-right: auto;
}
.bb-desktop-links a,
.bb-mobile-menu a {
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
}
.bb-desktop-links a:hover,
.bb-mobile-menu a:not(.bb-button):hover {
  color: #e64700;
}
.bb-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: #ff5000;
  color: white;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 500;
  line-height: 1.25;
  transition: background 0.15s;
}
.bb-button:hover {
  background: #da4400;
}
.bb-nav-order {
  padding: 12px 20px;
  font-size: 16px;
  white-space: nowrap;
}
.bb-menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 11px;
  cursor: pointer;
}
.bb-menu-toggle span {
  height: 2px;
  width: 22px;
  display: block;
  background: #111;
  margin: 5px 0;
  transition:
    transform 0.15s,
    opacity 0.15s;
}
.bb-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.bb-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.bb-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.bb-mobile-menu[hidden],
.bb-slide[hidden] {
  display: none !important;
}
.bb-mobile-menu {
  display: none;
}
.bb-header a:focus-visible,
.bb-header button:focus-visible,
.bb-carousel a:focus-visible,
.bb-carousel button:focus-visible,
.bb-carousel:focus-visible {
  outline: 3px solid #233466;
  outline-offset: 5px;
}
.bb-carousel {
  position: relative;
  background: #faf9f7;
  overflow: hidden;
  touch-action: pan-y;
}
.bb-slides {
  max-width: 1440px;
  margin: 0 auto;
}
.bb-slide {
  display: grid;
  grid-template-columns: 43% 57%;
  align-items: center;
  min-height: 620px;
  height: min(53.5vw, 760px);
  padding: 0 5.5% 0 7.8%;
}
.bb-slide-copy {
  position: relative;
  z-index: 2;
  padding: 30px 0 58px;
}
.bb-eyebrow {
  color: #f4510b;
  font-size: clamp(16px, 1.7vw, 22px);
  font-weight: 600;
  letter-spacing: 0.27em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.bb-hero-title {
  font:
    700 clamp(44px, 4.9vw, 68px)/1.04 Arial,
    Helvetica,
    sans-serif;
  letter-spacing: -0.035em;
  margin: 0 0 26px;
  color: #060809;
}
.bb-hero-description {
  font-size: clamp(19px, 1.95vw, 25px);
  line-height: 1.35;
  color: #36404a;
  max-width: 390px;
  margin: 0 0 24px;
  padding-right: 12px;
}
.bb-hero-order {
  font-size: 20px;
  padding: 14px 34px;
  gap: 12px;
}
.bb-hero-order .bb-order-arrow {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bb-slide-photo {
  height: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.bb-slide-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  display: block;
}
.bb-slide-jungsik .bb-slide-photo {
  margin-left: -10px;
  margin-right: -24px;
}
.bb-slide-bossam .bb-slide-photo {
  margin-right: -14%;
  overflow: hidden;
}
.bb-slide-bossam {
  background: #faf9f7;
}
.bb-slide-bossam .bb-slide-photo img {
  object-fit: contain;
  object-position: center;
  mix-blend-mode: normal;
}
.bb-slide-bossam .bb-slide-photo:before {
  content: "";
  display: block;
  position: absolute;
  inset: 0 auto 0 0;
  width: clamp(60px, 8vw, 115px);
  background: linear-gradient(
    90deg,
    #faf9f7 0%,
    rgba(250, 249, 247, 0.9) 18%,
    rgba(250, 249, 247, 0.4) 55%,
    rgba(250, 249, 247, 0) 100%
  );
  z-index: 1;
  pointer-events: none;
}
.bb-slide-galbi .bb-slide-photo {
  padding: 24px 0 44px;
}
.bb-arrow {
  position: absolute;
  top: 46%;
  border: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px #00000012;
  cursor: pointer;
}
.bb-arrow:hover {
  background: #f2f0ed;
}
.bb-arrow svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.bb-prev {
  left: 16px;
}
.bb-next {
  right: 16px;
}
.bb-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 2px;
}
.bb-dots button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.bb-dots span {
  display: block;
  width: 15px;
  height: 15px;
  background: #c9c9c9;
  border-radius: 50%;
}
.bb-dots [aria-current="true"] span {
  background: #ff5000;
}
#locations {
  scroll-margin-top: 100px;
}
.bb-draft-notice {
  padding: 12px 20px;
  text-align: center;
  font:
    12px/1.5 Arial,
    sans-serif;
  background: #fff3cd;
  color: #332701;
}
@media (min-width: 1441px) {
  .bb-slide {
    padding-left: 100px;
    padding-right: 70px;
  }
}
@media (max-width: 1100px) {
  .bb-nav {
    gap: 22px;
    padding: 0 32px;
  }
  .bb-brand {
    width: 190px;
  }
  .bb-desktop-links {
    gap: 24px;
  }
  .bb-desktop-links a {
    font-size: 14px;
  }
  .bb-slide {
    min-height: 560px;
  }
  .bb-hero-title {
    font-size: clamp(40px, 4.8vw, 54px);
  }
  .bb-hero-description {
    font-size: 20px;
  }
  .bb-eyebrow {
    font-size: 16px;
  }
}
@media (max-width: 850px) {
  .bb-nav {
    height: 80px;
    padding: 0 24px;
  }
  .bb-brand {
    width: 190px;
  }
  .bb-desktop-links,
  .bb-nav-order {
    display: none;
  }
  .bb-menu-toggle {
    display: block;
    margin-left: auto;
  }
  .bb-mobile-menu {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 16px 24px 24px;
    flex-direction: column;
    gap: 4px;
    background: #fff;
    box-shadow: 0 10px 16px #0000000d;
    border-top: 1px solid #eee;
    max-height: calc(100dvh - 80px);
    overflow: auto;
  }
  .bb-mobile-menu a {
    padding: 13px 12px;
  }
  .bb-mobile-menu .bb-button {
    margin-top: 8px;
  }
  .bb-slide {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 0 24px 70px;
    align-items: start;
  }
  .bb-slide-photo {
    grid-row: 1;
    height: auto;
    aspect-ratio: 1;
    width: 100%;
    max-width: 480px;
    justify-self: center;
  }
  .bb-slide-jungsik .bb-slide-photo {
    margin: 0;
  }
  .bb-slide-copy {
    padding: 0;
    max-width: 480px;
    width: 100%;
    justify-self: center;
  }
  .bb-eyebrow {
    font-size: 12px;
    letter-spacing: 0.21em;
    margin: 0 0 8px;
  }
  .bb-hero-title {
    font-size: clamp(30px, 6.7vw, 44px);
    line-height: 1.02;
    letter-spacing: -0.025em;
    margin: 0 0 12px;
  }
  .bb-hero-description {
    font-size: 16px;
    line-height: 1.35;
    margin: 0 0 18px;
    max-width: 420px;
    padding: 0;
  }
  .bb-hero-order {
    font-size: 16px;
    padding: 12px 20px;
    gap: 9px;
  }
  .bb-hero-order .bb-order-arrow {
    width: 18px;
    height: 18px;
  }
  .bb-slide-bossam .bb-slide-photo {
    margin: 0 0 18px;
    aspect-ratio: 1.05;
  }
  .bb-slide-bossam .bb-slide-photo:before {
    display: none;
  }
  .bb-slide-galbi .bb-slide-photo {
    padding: 12px 0;
  }
  .bb-arrow {
    top: calc(min(100vw - 48px, 480px) / 2 - 12px);
    width: 36px;
    height: 36px;
    opacity: 0.95;
  }
  .bb-arrow svg {
    width: 20px;
    height: 20px;
  }
  .bb-prev {
    left: 8px;
  }
  .bb-next {
    right: 8px;
  }
  .bb-dots {
    bottom: 18px;
  }
  .bb-dots span {
    width: 10px;
    height: 10px;
  }
  .bb-dots button {
    width: 30px;
    height: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bb-header *,
  .bb-carousel * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Constrain portrait photos to the slide rather than their intrinsic image height. */
@media (min-width: 851px) {
  .bb-slide {
    grid-template-rows: minmax(0, 1fr);
  }
  .bb-slide-photo {
    min-height: 0;
  }
  .bb-slide-photo img {
    min-height: 0;
  }
}

/* Bossam art direction: an enlarged, left-shifted photo with a feathered text-side edge. */
@media (min-width: 851px) {
  .bb-slide-bossam {
    position: relative;
  }
  .bb-slide-bossam .bb-slide-photo {
    position: absolute;
    left: 38%;
    /* Extend beyond the centered 1440px content area on wide screens. */
    right: min(0px, calc((1440px - 100vw) / 2));
    top: 0;
    height: 94%;
    margin: 0;
    width: auto;
  }
  .bb-slide-bossam .bb-slide-photo img {
    object-fit: cover;
    object-position: center 60%;
  }
  .bb-slide-bossam .bb-slide-photo:before {
    width: clamp(100px, 12vw, 175px);
    background: linear-gradient(
      90deg,
      #faf9f7 0%,
      rgba(250, 249, 247, 0.92) 22%,
      rgba(250, 249, 247, 0.45) 58%,
      rgba(250, 249, 247, 0) 100%
    );
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    mask-image: linear-gradient(90deg, #000 0%, #000 30%, transparent 100%);
    -webkit-mask-image: linear-gradient(
      90deg,
      #000 0%,
      #000 30%,
      transparent 100%
    );
  }
  .bb-slide-bossam .bb-slide-photo:after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 22px;
    background: linear-gradient(0deg, #faf9f7, rgba(250, 249, 247, 0));
    pointer-events: none;
  }
}

/* Five-tray LA Galbi cutout: retain the full arrangement and original colors. */
.bb-slide-galbi {
  background: #faf9f7;
}
.bb-slide-galbi .bb-slide-photo img {
  object-fit: contain;
  mix-blend-mode: normal;
  transform: scale(1.5);
}

/* Fill the visible browser window below the sticky navigation. */
.bb-carousel {
  --bb-header-height: 89px;
}
.bb-slide {
  height: calc(100vh - var(--bb-header-height));
  height: calc(100dvh - var(--bb-header-height));
  min-height: 520px;
}
@media (max-width: 850px) {
  .bb-carousel {
    --bb-header-height: 81px;
  }
  .bb-slide {
    min-height: 560px;
    grid-template-rows: minmax(0, 1fr) auto;
    row-gap: 16px;
    padding-bottom: 64px;
  }
  .bb-slide-photo {
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
  }
  .bb-slide-photo img {
    min-height: 0;
  }
  .bb-slide-bossam .bb-slide-photo {
    margin: 0;
    aspect-ratio: auto;
  }
  .bb-arrow {
    top: 25%;
  }
}

/* Stack slides for a crossfade without changing the carousel's height. */
.bb-slides-animated {
  display: grid;
}
.bb-slides-animated .bb-slide {
  grid-area: 1 / 1;
  min-width: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.6s ease-in-out,
    visibility 0s 0.6s;
}
.bb-slides-animated .bb-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
  transition:
    opacity 0.6s ease-in-out,
    visibility 0s;
}
.bb-arrow,
.bb-dots {
  z-index: 3;
}

/* Transparent Jungsik cutout on the shared warm background. */
.bb-slide-jungsik {
  background: #faf9f7;
}
.bb-slide-jungsik .bb-slide-photo img {
  mix-blend-mode: normal;
}

@media (max-width: 850px) {
  .bb-arrow {
    display: none;
  }
}

/* Let the mobile Bossam photo meet both viewport edges. */
@media (max-width: 850px) {
  .bb-slide-bossam .bb-slide-photo {
    width: calc(100% + 48px);
    max-width: none;
  }
  .bb-slide-bossam .bb-slide-photo img {
    object-fit: cover;
  }
}

/* Feather the mobile Bossam photo into the background above the copy. */
@media (max-width: 850px) {
  .bb-slide-bossam .bb-slide-photo::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: clamp(70px, 20vw, 120px);
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
      to top,
      #faf9f7 0%,
      rgba(250, 249, 247, 0.92) 20%,
      rgba(250, 249, 247, 0.4) 58%,
      rgba(250, 249, 247, 0) 100%
    );
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    mask-image: linear-gradient(to top, #000 0%, #000 30%, transparent 100%);
    -webkit-mask-image: linear-gradient(
      to top,
      #000 0%,
      #000 30%,
      transparent 100%
    );
  }
}

/* Reservations open in the top layer, leaving the page in place underneath. */
html.bb-reservation-open {
  overflow: hidden;
}
.bb-reservation-modal {
  width: min(560px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: #fff;
  color: #233466;
  box-shadow: 0 24px 80px #0004;
  font-family: Arial, Helvetica, sans-serif;
  overflow: auto;
}
.bb-reservation-modal::backdrop {
  background: rgba(17, 24, 39, 0.42);
  backdrop-filter: blur(3px);
}
.bb-reservation-heading {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: #fff;
  border-bottom: 1px solid #eee;
}
.bb-reservation-heading h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}
.bb-reservation-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 0;
  border-radius: 50%;
  background: #f5f4f2;
  color: #233466;
  cursor: pointer;
}
.bb-reservation-close:hover {
  background: #e9e7e3;
}
.bb-reservation-close svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.bb-reservation-content {
  padding: 16px 20px 20px;
}
.bb-reservation-content iframe {
  margin: 0 auto;
}
.bb-reservation-status {
  margin: 0 0 16px;
  font-size: 15px;
  color: #59616b;
}
.bb-reservation-credit {
  margin-top: 10px;
  text-align: center;
  font-size: 12px;
  color: #687080;
}
.bb-reservation-fallback {
  margin: 16px 0 0;
  text-align: center;
  font-size: 13px;
}
.bb-reservation-fallback a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.bb-reservation-modal :focus-visible {
  outline: 3px solid #233466;
  outline-offset: 3px;
}
@media (max-width: 600px) {
  .bb-reservation-modal {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 24px);
    border-radius: 12px;
  }
  .bb-reservation-heading {
    padding: 12px 14px;
  }
  .bb-reservation-heading h2 {
    font-size: 21px;
  }
  .bb-reservation-content {
    padding: 12px 8px 16px;
  }
}

/* Group the reservation and ordering actions at the right of the nav. */
.bb-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: auto;
}
.bb-nav-reserve {
  padding: 11px 20px;
  border: 1px solid #ff5000;
  background: #fff;
  color: #e64700;
  font-family: inherit;
  font-size: 16px;
  white-space: nowrap;
  cursor: pointer;
}
.bb-nav-reserve:hover {
  background: #fff2e9;
}
@media (min-width: 851px) and (max-width: 1100px) {
  .bb-nav {
    gap: 16px;
    padding-inline: 24px;
  }
  .bb-brand {
    width: 160px;
  }
  .bb-desktop-links {
    gap: 16px;
  }
  .bb-nav-actions {
    gap: 10px;
  }
  .bb-nav-reserve {
    font-size: 14px;
    padding: 11px 14px;
  }
  .bb-nav-order {
    font-size: 14px;
    padding: 12px 14px;
  }
}
@media (max-width: 850px) {
  .bb-nav-actions {
    display: none;
  }
  .bb-mobile-menu .bb-nav-reserve {
    width: 100%;
    padding: 12px;
  }
}

/* Keep the embedded location map filling its responsive panel. */
.bangbop-location-map { width: 100%; height: 100%; border: 0; display: block; }
