@import url('./site-footer.css?v=260807001');
@import url('./input-box-states.css');
@import url('./venue-place-sidebar-removal.css?v=261001001');

/* Shared page shell: structural aliases */
.site-header {
  width: 100%;
  min-width: 0;
}

.site-header {
  color: var(--neutral-tx2-title);
}

.site-header__bar {
  width: 100%;
  min-width: 0;
}

.site-header__inner {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
}

.site-header__title {
  min-width: 0;
  margin: 0;
}

.site-header__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
}

.site-header__action,
.site-header__profile {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.site-subnav {
  width: 100%;
  min-width: 0;
}

.site-subnav__inner {
  width: 100%;
  min-width: 0;
}

.site-subnav__list {
  display: flex;
  min-width: 0;
  align-items: center;
}

.site-subnav__link {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* Index header, search, navigation, and footer */
.index-home-revision .site-header {
  width: 100%;
  min-width: 0;
  background: var(--semantic-white);
  border-bottom: var(--stroke-1) solid var(--semantic-border);
  box-shadow: var(--shadow-card);
}

.index-home-revision .header-inner {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 1280px;
  margin: 0 auto;
}

.index-home-revision .header-primary {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 92px;
  padding: 40px var(--spacing-lg) 0;
}

.index-home-revision .header-logo {
  position: absolute;
  left: var(--spacing-lg);
  top: 56px;
  display: inline-flex;
  width: 40px;
  height: 17px;
  align-items: center;
}

.index-home-revision .header-logo img {
  display: block;
  width: 40px;
  height: 17px;
}

.index-home-revision .header-util {
  position: absolute;
  right: var(--spacing-lg);
  top: 44px;
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 var(--spacing-micro);
  border: 0;
  border-radius: var(--radius-full);
  background: transparent;
  transition: background-color 160ms ease;
}

.index-home-revision .header-util:hover,
.index-home-revision .header-util:focus-visible {
  background: var(--semantic-bg-fill);
}

.index-home-revision .header-util:focus-visible,
.index-home-revision .search-submit:focus-visible,
.index-home-revision .gnb-link:focus-visible {
  outline: var(--stroke-1) solid var(--brand-primary);
  outline-offset: 0;
}

.index-home-revision .search-form {
  display: flex;
  width: min(600px, 100vw - 240px);
  min-width: 420px;
  min-height: 52px;
  align-items: center;
  gap: 14px;
  padding: var(--spacing-3xs) var(--spacing-3xs) var(--spacing-3xs) var(--spacing-lg);
  border: var(--stroke-2) solid var(--brand-primary);
  border-radius: var(--radius-full);
  background: var(--semantic-white);
}

.index-home-revision .search-input {
  min-width: 0;
  flex: 1 1 auto;
  height: 40px;
  padding: 0;
  border: 0;
  color: var(--neutral-tx2-title);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-regular);
  line-height: 22px;
  background: transparent;
  outline: 0;
}

.index-home-revision .search-input::placeholder {
  color: var(--neutral-tx4-dissolved);
  opacity: 1;
}

.index-home-revision .search-submit {
  display: inline-flex;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-sm);
  border: 0;
  border-radius: var(--radius-full);
  background: var(--brand-primary);
  transition: background-color 160ms ease;
}

.index-home-revision .search-submit:hover {
  background: var(--brand-primary-dark);
}

.index-home-revision .search-submit img {
  display: block;
  width: 14px;
  height: 14px;
}

.index-home-revision .gnb {
  display: flex;
  justify-content: center;
  width: 100%;
  min-width: 0;
  padding: 28px var(--spacing-lg) 34px;
}

.index-home-revision .gnb-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.index-home-revision .gnb-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  color: var(--neutral-tx2-title);
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  line-height: 28px;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease;
}

.index-home-revision .gnb-link:hover {
  color: var(--brand-primary-deep);
}

@media (max-width: 1023px) {
  .index-home-revision .header-inner {
    max-width: none;
  }

  .index-home-revision .search-form {
    width: min(600px, 100vw - 168px);
    min-width: 360px;
  }

  .index-home-revision .gnb-list {
    gap: clamp(24px, 5.2vw, 40px);
  }
}

@media (max-width: 575px) {
  .index-home-revision .site-header {
    width: 100vw;
    max-width: 100vw;
  }

  .index-home-revision .header-primary {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: 'logo util' 'search search';
    gap: var(--spacing-base) var(--spacing-md);
    min-height: 0;
    padding: var(--spacing-lg) var(--spacing-base) 0;
  }

  .index-home-revision .header-logo,
  .index-home-revision .header-util {
    position: static;
  }

  .index-home-revision .header-logo {
    grid-area: logo;
    align-self: center;
  }

  .index-home-revision .header-util {
    grid-area: util;
  }

  .index-home-revision .search-form {
    grid-area: search;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding-left: var(--spacing-base);
  }

  .index-home-revision .search-input {
    height: 36px;
    font-size: var(--font-size-base);
    line-height: var(--line-height-22);
  }

  .index-home-revision .search-submit {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
  }

  .index-home-revision .gnb {
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    padding: var(--spacing-lg) var(--spacing-base) var(--spacing-xl);
    scrollbar-width: none;
  }

  .index-home-revision .gnb::-webkit-scrollbar {
    display: none;
  }

  .index-home-revision .gnb-list {
    flex: 0 0 max-content;
    justify-content: flex-start;
    gap: var(--spacing-xl);
  }

  .index-home-revision .gnb-link {
    min-height: 24px;
    font-size: var(--font-size-xl);
    line-height: var(--line-height-24);
  }
}

@media (max-width: 359px) {
  .index-home-revision .header-primary {
    padding-right: var(--spacing-md);
    padding-left: var(--spacing-md);
  }

  .index-home-revision .search-form {
    gap: var(--spacing-xs);
    padding-left: var(--spacing-md);
  }

  .index-home-revision .search-input {
    font-size: var(--font-size-md);
  }

  .index-home-revision .gnb {
    padding-right: var(--spacing-md);
    padding-left: var(--spacing-md);
  }

  .index-home-revision .gnb-list {
    gap: var(--spacing-xl);
  }
}

.index-home-revision .site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  overflow-anchor: none;
}

.index-home-revision .header-inner {
  max-width: 1320px;
}

.index-home-revision .header-primary {
  min-height: 92px;
  padding: var(--spacing-3xl) var(--spacing-lg) 0;
}

.index-home-revision .header-logo {
  top: 61px;
  width: 160px;
  height: 10.135px;
  text-decoration: none;
}

.index-home-revision .header-logo img {
  display: block;
  width: 160px;
  height: 10.135px;
}

.index-home-revision .search-form {
  width: 560px;
  min-width: 0;
}

.index-home-revision .header-utils {
  position: absolute;
  top: 46px;
  right: var(--spacing-lg);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.index-home-revision .header-location {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--neutral-tx2-title);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-16);
}

.index-home-revision .header-location img {
  display: block;
  width: 40px;
  height: 40px;
  padding: 9px;
}

.index-home-revision .header-util {
  position: static;
}

.index-home-revision .header-util img {
  display: block;
  width: 19px;
  height: 20px;
}

.index-home-revision .search-submit img {
  width: 14px;
  height: 14px;
}

.index-home-revision .gnb {
  padding: var(--spacing-2xl) var(--spacing-lg) var(--spacing-3xl);
}

.index-home-revision .gnb-more-toggle {
  display: inline-flex;
  width: 12px;
  height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
}

.index-home-revision .gnb-arrow {
  display: block;
  width: 7.2px;
  height: 12px;
  transform: rotate(-90deg);
  transition: transform 160ms ease;
}

.index-home-revision .header-more-menu {
  position: absolute;
  top: 102px;
  left: 50%;
  z-index: 10;
  display: flex;
  width: 552px;
  flex-direction: column;
  gap: var(--spacing-xl);
  padding: var(--spacing-xl) var(--spacing-2xl);
  border: var(--stroke-1) solid var(--semantic-border);
  border-radius: var(--radius-md);
  background: var(--semantic-white);
  box-shadow: var(--shadow-card);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-4px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
  visibility: hidden;
}

.index-home-revision .header-more-menu__primary,
.index-home-revision .header-more-menu__secondary {
  display: flex;
  align-items: center;
  gap: var(--spacing-3xl);
}

.index-home-revision .header-more-menu__primary a,
.index-home-revision .header-more-menu__secondary a {
  color: var(--neutral-tx2-title);
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-28);
  text-decoration: none;
  white-space: nowrap;
}

.index-home-revision .header-more-menu__divider {
  display: block;
  width: 460px;
  height: var(--stroke-1);
  align-self: center;
  background: var(--semantic-border);
}

.index-home-revision .site-header.is-menu-open .header-more-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  visibility: visible;
}

.index-home-revision .site-header.is-menu-open .gnb-arrow {
  transform: rotate(90deg);
}

.index-home-revision .site-header.is-scrolled .header-primary {
  display: none;
}

.index-home-revision .site-header.is-scrolled .header-more-menu {
  top: var(--spacing-sm);
}

@media (max-width: 1023px) {
  .index-home-revision .search-form {
    position: absolute;
    top: var(--spacing-3xl);
    left: calc(50% - 20px);
    width: 360px;
    transform: translateX(-50%);
  }
}

@media (max-width: 767px) {
  .index-home-revision .header-primary {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: 'logo utils' 'search search';
    gap: var(--spacing-base) var(--spacing-md);
    min-height: 0;
    padding: var(--spacing-lg) var(--spacing-base) 0;
  }

  .index-home-revision .header-logo {
    position: static;
    grid-area: logo;
    width: auto;
    align-self: center;
  }

  .index-home-revision .header-utils {
    position: static;
    grid-area: utils;
  }

  .index-home-revision .header-location span {
    display: none;
  }

  .index-home-revision .search-form {
    position: static;
    grid-area: search;
    width: 100%;
    transform: none;
  }

  .index-home-revision .gnb {
    justify-content: flex-start;
    padding: var(--spacing-lg) var(--spacing-base) var(--spacing-xl);
    overflow-x: auto;
  }

  .index-home-revision .gnb-list {
    flex: 0 0 max-content;
    justify-content: flex-start;
    gap: var(--spacing-lg);
  }
}

@media (max-width: 767px) {
  .index-home-revision .header-more-menu,
  .index-home-revision .site-header.is-scrolled .header-more-menu {
    top: 100%;
    right: var(--spacing-base);
    left: var(--spacing-base);
    width: auto;
    max-height: calc(100vh - var(--spacing-lg));
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    overflow-y: auto;
    transform: translateY(-4px);
  }

  .index-home-revision .site-header.is-menu-open .header-more-menu,
  .index-home-revision .site-header.is-scrolled.is-menu-open .header-more-menu {
    transform: translateY(0);
  }

  .index-home-revision .header-more-menu__primary,
  .index-home-revision .header-more-menu__secondary {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: var(--spacing-base) var(--spacing-lg);
  }

  .index-home-revision .header-more-menu__primary {
    position: relative;
    padding-right: var(--spacing-2xl);
  }

  .index-home-revision .header-more-menu__primary .gnb-more-toggle {
    position: absolute;
    top: 0;
    right: 0;
  }

  .index-home-revision .header-more-menu__primary a,
  .index-home-revision .header-more-menu__secondary a {
    min-width: 0;
    font-size: var(--font-size-xl);
    line-height: var(--line-height-22);
    white-space: normal;
    word-break: keep-all;
  }

  .index-home-revision .header-more-menu__divider {
    width: 100%;
  }
}

@media (max-width: 359px) {
  .index-home-revision .header-more-menu,
  .index-home-revision .site-header.is-scrolled .header-more-menu {
    right: var(--spacing-md);
    left: var(--spacing-md);
    padding: var(--spacing-base);
  }

  .index-home-revision .header-more-menu__primary,
  .index-home-revision .header-more-menu__secondary {
    column-gap: var(--spacing-md);
  }
}

@media (min-width: 768px) {
  .index-home-revision .header-primary {
    display: flex;
    max-height: 92px;
    overflow: hidden;
    opacity: 1;
    transition:
      min-height 260ms cubic-bezier(0.4, 0, 0.2, 1),
      max-height 260ms cubic-bezier(0.4, 0, 0.2, 1),
      padding 260ms cubic-bezier(0.4, 0, 0.2, 1),
      opacity 160ms ease;
  }

  .index-home-revision .site-header.is-scrolled .header-primary {
    display: flex;
    min-height: 0;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    pointer-events: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .index-home-revision .header-primary {
    transition: none;
  }
}

/* Partner shared signup header */
.partner-signup-header {
  width: 100%;
  height: 89px;
  padding: var(--spacing-xl) var(--spacing-lg);
  border-bottom: var(--stroke-1) solid var(--semantic-border);
  color: var(--neutral-tx2-title);
  background: var(--semantic-white);
  box-shadow: var(--shadow-card, 0 2px 8px rgba(0, 0, 0, 0.07));
}

.partner-signup-header__inner {
  display: flex;
  width: 100%;
  max-width: 1280px;
  height: 40px;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}

.partner-signup-header__title {
  margin: 0;
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-28);
}

.partner-signup-header__title a {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-lg);
  color: inherit;
  text-decoration: none;
}

.partner-signup-header__title img {
  display: block;
  width: 8px;
  height: 14px;
}

.partner-signup-header__actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.partner-signup-header__action,
.partner-signup-header__profile {
  display: inline-flex;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: var(--radius-full);
}

.partner-signup-header__action {
  background: transparent;
}

.partner-signup-header__action--partners {
  background: var(--semantic-border);
}

.partner-signup-header__action img {
  display: block;
  width: 40px;
  height: 40px;
}

.partner-signup-header__profile {
  overflow: hidden;
  border: var(--stroke-1) solid var(--semantic-input-border);
  background: var(--semantic-border);
}

.partner-signup-header__profile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.partner-signup-header__title a:focus-visible,
.partner-signup-header__action:focus-visible,
.partner-signup-header__profile:focus-visible {
  outline: var(--stroke-2) solid var(--brand-primary-dark);
  outline-offset: var(--stroke-2);
}

/* @media (min-width: 1281px) {
  .partner-signup-header__inner {
    max-width: 1608px;
  }
} */
@media (max-width: 520px) {
  .partner-signup-header__action,
  .partner-signup-header__profile {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .partner-signup-header__action img {
    width: 30px;
    height: 30px;
  }
}

/* Venue shared footer */

/* Venue shared sub-navigation states and horizontal-scroll behavior */
.venue-subnav__link {
  padding: var(--spacing-2xs) 0;
  border-bottom: var(--stroke-2) solid transparent;
  color: var(--neutral-tx2-title);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-20);
}

.venue-subnav__link:hover,
.venue-subnav__link:focus-visible,
.venue-subnav__link.is-active {
  color: var(--neutral-tx2-title);
  font-weight: var(--font-weight-bold);
}

.venue-subnav__link.is-active {
  border-bottom-color: var(--brand-primary-light);
}

.venue-subnav__link--event,
.venue-subnav__link--event:hover,
.venue-subnav__link--event:focus-visible,
.venue-subnav__link--event.is-active {
  color: var(--brand-primary-dark);
}

.site-subnav {
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.site-subnav::-webkit-scrollbar {
  display: none;
}

.site-subnav.is-draggable {
  cursor: grab;
}

.site-subnav.is-dragging {
  cursor: grabbing;
  user-select: none;
}

/* Venue header and category navigation */

/* Derived from .venue-utility / .venue-subnav box math below (fixed inner
   heights + token-based padding + 1px border). Used anywhere layout needs
   the fixed header stack's total height (sticky offsets, scroll-padding,
   min-height calcs) — previously a hardcoded 192px/150px that silently
   drifted out of sync whenever the spacing tokens changed. Stays correct
   automatically across breakpoints since --spacing-* is responsive. */
:root {
  --venue-utility-height: calc(40px + (var(--spacing-base) * 2) + var(--stroke-1));
  /* .is-active 링크의 밑줄(--stroke-2)이 리스트에서 가장 높은 항목이라 서브내비 실제 높이에
     포함된다. 이 항이 빠져 있어 토큰이 실측보다 2px 작았고, 그만큼 스마트 서치 sticky 가
     서브내비 밑으로 파고들었다. */
  --venue-subnav-height: calc(var(--line-height-20) + (var(--spacing-2xs) * 2) + var(--stroke-2) + (var(--spacing-lg) * 2) + var(--stroke-1));
  --venue-header-stack-height: calc(var(--venue-utility-height) + var(--venue-subnav-height));
}

.venue-home-header {
  /* min-width: var(--bp-tablet-min); */
  color: var(--neutral-tx2-title);
}

.venue-utility {
  display: flex;
  width: 100%;
  /* height: 101px; */
  align-items: center;
  padding: var(--spacing-base) var(--spacing-lg);
  border-bottom: var(--stroke-1) solid var(--semantic-border);
  background: var(--semantic-white);
  box-shadow: var(--shadow-card);
}

.venue-utility__inner {
  display: flex;
  width: 100%;
  max-width: 1280px;
  height: 40px;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}

.venue-utility__title {
  margin: 0;
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-28);
}

.venue-utility__title a {
  display: inline-flex;
  height: 40px;
  align-items: center;
  gap: var(--spacing-lg);
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.venue-utility__back {
  display: flex;
  width: 8px;
  height: 14px;
  flex: 0 0 8px;
  align-items: center;
  justify-content: flex-start;
}

.venue-utility__back img {
  display: block;
  width: 6px;
  height: 10px;
}

.venue-utility__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--spacing-sm);
}

.venue-utility__action,
.venue-utility__profile {
  display: inline-flex;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-full);
}

.venue-utility__action {
  background: transparent;
}

.venue-utility__action img,
.venue-utility__profile img {
  display: block;
  width: 40px;
  height: 40px;
}

.venue-utility__profile {
  background: transparent;
}

.venue-utility__profile img {
  object-fit: cover;
}

.venue-subnav {
  display: flex;
  width: 100%;
  /* height: 91px; */
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg) var(--spacing-lg);
  border-bottom: var(--stroke-1) solid var(--semantic-border);
  background: var(--semantic-bg);
  /* box-shadow: var(--shadow-card); */
}

.venue-subnav__inner {
  width: 100%;
  max-width: 1280px;
  padding-left: var(--spacing-2xl);
}

/* 카테고리 서브내비는 스크롤 방향과 관계없이 헤더 아래에 계속 노출한다. */
.venue-home-header .venue-subnav {
  max-height: var(--venue-subnav-height);
  overflow-y: hidden;
}

.venue-subnav__list {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  margin: 0;
  padding: 0;
  list-style: none;
}

.venue-subnav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-2xs) 0;
  color: var(--neutral-tx2-title);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-20);
  text-decoration: none;
  white-space: nowrap;
}

.venue-subnav__link.is-active {
  border-bottom: var(--stroke-2) solid var(--brand-primary-light);
  font-weight: var(--font-weight-bold);
}

.venue-subnav__link--event {
  color: var(--brand-primary-dark);
}

.venue-subnav__item--wide {
  display: none;
}

.venue-utility__title a:focus-visible,
.venue-utility__action:focus-visible,
.venue-utility__profile:focus-visible,
.venue-subnav__link:focus-visible {
  outline: var(--stroke-2) solid var(--brand-primary-dark);
  outline-offset: var(--stroke-2);
}

@media (min-width: 1440px) {
  .venue-subnav__item--wide {
    display: list-item;
  }
}

/* Venue home sticky header */
.venue-home-header {
  padding-top: var(--venue-utility-height);
}

.venue-home-header .venue-utility {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  overflow-anchor: none;
}

/* Venue responsive header */
@media (max-width: 767px) {
  .venue-subnav__inner {
    width: max-content;
    padding-left: 0;
  }

  /* ── 모바일 풀블리드 섹션 카드 ─────────────────────────────
     PC 에서는 컨테이너 좌우 여백 + 카드 패딩이 자연스럽지만,
     모바일에서는 둘이 겹쳐 가로 여백이 두 겹(예: 14 + 14 = 28px)이 되고
     정작 콘텐츠 폭은 좁아진다.
     카드를 화면 끝까지 늘려 컨테이너 여백을 상쇄하고,
     카드 자신의 패딩 하나만 화면 여백으로 남긴다.
     라운드와 좌우 보더는 화면에 붙으면 잘린 것처럼 보이므로 제거하고,
     섹션 구분은 상하 보더와 카드 사이 간격이 맡는다.

     --section-bleed 는 각 페이지 컨테이너가 자기 좌우 패딩값을 알려주는 통로다.
     카드는 그 값을 상속받아 음수 마진으로 그대로 상쇄한다 —
     100vw 를 쓰면 스크롤바 폭만큼 가로 스크롤이 생겨서 쓰지 않는다.
     body 접두사는 뒤에 로드되는 페이지 CSS 의 같은 특이도 선언을 이기기 위한 것. */
  .venue-home-main {
    --section-bleed: var(--spacing-lg);
  }

  .venue-home-main.venue-filter-main,
  .search-video-layout,
  .venue-detail {
    --section-bleed: var(--spacing-base);
  }

  /* 메인 박스에서 radius/shadow가 빠지는 컴포넌트는 border도 전부 함께
     뺀다(상하좌우 전부, inline만이 아니라). 섹션 구분은 카드 사이 간격이
     맡는다. */
  body .venue-smart-search,
  body .venue-content-card,
  body .place-gallery,
  body .place-magazine,
  body .place-event,
  body .place-new,
  body .venue-detail__card,
  body .venue-special-section,
  body .search-img-results__panel,
  body .search-magazine-results__panel,
  body .search-video-results__panel {
    width: auto;
    margin-inline: calc(var(--section-bleed, 0px) * -1);
    border-width: 0;
    border-radius: 0;
    box-shadow: none;
  }

  /* 스티키 페이드 밴드는 좌우 보더가 사라졌으니 음수 inset 도 0 으로.
     안 그러면 화면 밖으로 1px 씩 삐져나가 가로 스크롤이 생긴다. */
  body .venue-home-main .venue-smart-search::before {
    right: 0;
    left: 0;
  }

  /* 잔여타임 핫딜 · 최근 본 항목만 들어있는 스티키 사이드바는 모바일에서 숨긴다.
     .venue-detail-sidebar 에는 상담 신청도 들어있는데, 그 기능은
     floating-scroll-actions 의 상담 버튼이 대신 받는다
     (floating-scroll-actions.js 가 페이지의 a.is-consult 링크를 물어온다).
     body 를 앞에 붙여 특이도를 (0,1,1) 로 올린다. 뒤에 로드되는
     place-special-offers-detail.css / venue-home-filter-sidebar.css 가
     같은 특이도(0,1,0)로 display:flex 를 다시 켜기 때문. */
  body .venue-detail-sidebar,
  body .venue-filter-sidebar {
    display: none;
  }

  /* 잔여타임 핫딜도 같은 성격의 사이드 위젯이라 모바일에서는 숨긴다
     (통합검색 / 이미지 / 매거진 / 영상 결과 전부). */
  body .search-hotdeal {
    display: none;
  }
}

@media (max-width: 479px) {
  .venue-utility {
    padding-right: var(--spacing-md);
    padding-left: var(--spacing-md);
  }

  .venue-utility__actions {
    gap: var(--spacing-3xs);
  }
}

/* Venue filter-page sticky header */
.venue-home-header {
  padding-top: var(--venue-utility-height);
}

.venue-home-header .venue-utility {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  overflow-anchor: none;
}

/* Venue special-offer sticky header */
.venue-home-header {
  padding-top: var(--venue-utility-height);
}

.venue-home-header .venue-utility {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  overflow-anchor: none;
}

/* Venue detail header state */
.venue-home-header {
  position: sticky;
  z-index: 100;
  top: 0;
  width: 100%;
  overflow-anchor: none;
}

.venue-home-header .venue-subnav__link {
  position: relative;
}

.venue-home-header .venue-subnav__list > li {
  display: flex;
  /* min-width: 64px; */
  justify-content: center;
}

/* Reservation sticky header */
.venue-home-header {
  position: sticky;
  top: 0;
  z-index: 100;
  overflow-anchor: none;
}

/* Partner landing header, navigation, and footer */
.partner-header {
  width: 100%;
  color: var(--neutral-tx2-title);
}

.partner-nav__inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.partner-header__start {
  display: inline-flex;
  min-width: 212px;
  height: 40px;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--radius-sm);
  color: var(--semantic-white);
  background: var(--brand-primary);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-22);
  text-decoration: none;
  white-space: nowrap;
}

.partner-header__start img {
  display: block;
  width: 6px;
  height: 10px;
}

.partner-nav {
  height: 91px;
  padding: var(--spacing-xl) var(--spacing-lg);
  background: var(--semantic-bg);
  border-bottom: var(--stroke-1) solid var(--semantic-border);
  box-shadow: var(--shadow-card, 0 2px 8px rgba(0, 0, 0, 0.07));
}

.partner-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.partner-nav__links {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
}

.partner-nav__link {
  position: relative;
  display: inline-flex;
  /* height: 34px; */
  align-items: center;
  color: var(--neutral-tx2-title);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-20);
  text-decoration: none;
  white-space: nowrap;
}

.partner-nav__link.is-active {
  font-weight: var(--font-weight-bold);
}

.partner-nav__link.is-active::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: var(--stroke-2);
  /* background: var(--brand-primary); */
  background-color: #c0ede9;
  content: '';
}

.partner-header__start:focus-visible,
.partner-nav__link:focus-visible {
  outline: var(--stroke-2) solid var(--brand-primary-dark);
  outline-offset: var(--stroke-2);
}

@media (max-width: 520px) {
  .partner-header__start {
    min-width: 0;
    padding-right: var(--spacing-md);
    padding-left: var(--spacing-md);
    font-size: var(--font-size-base);
  }

  .partner-nav {
    overflow-x: auto;
  }

  .partner-nav__inner {
    min-width: 620px;
  }
}

/* Partner landing responsive shell */
@media (max-width: 520px) {
  .partner-nav {
    height: auto;
  }

  .partner-nav {
    overflow-x: visible;
  }

  .partner-nav__inner {
    min-width: 0;
    flex-wrap: wrap;
    /* align-items: flex-start; */
    gap: var(--spacing-base);
  }

  .partner-nav__links {
    min-width: 0;
    flex-wrap: wrap;
    gap: var(--spacing-base);
  }

  .partner-nav .partner-header__start {
    margin-left: auto;
  }
}

.partner-header {
  position: sticky;
  top: 0;
  z-index: 100;
  overflow-anchor: none;
}

/* Partner signup sticky header */
.partner-signup-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Partner signup-complete shell */

.partner-signup-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
}

/* Member signup header and footer */
.signup-page .signup-top {
  display: flex;
  width: 100%;
  justify-content: flex-end;
  align-items: center;
  padding: var(--spacing-sm) var(--spacing-lg);
}

.signup-page .home-link {
  display: block;
  width: 40px;
  height: 40px;
}

.signup-page .home-link img {
  display: block;
  width: 100%;
  height: 100%;
}

.signup-page .home-link:focus-visible {
  outline: var(--stroke-1) solid var(--brand-primary);
  outline-offset: 0;
}

@media (max-width: 767px) {
  .signup-page .signup-top {
    padding: var(--spacing-sm) var(--spacing-base);
  }
}

@media (max-width: 359px) {
  .signup-page .signup-top {
    padding-right: var(--spacing-md);
    padding-left: var(--spacing-md);
  }
}

/* Member login header and footer */
.login-page .login-top {
  display: flex;
  width: 100%;
  justify-content: flex-end;
  align-items: center;
  padding: var(--spacing-sm) var(--spacing-lg);
}

.login-page .home-link {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  text-decoration: none;
}

.login-page .home-link:focus-visible {
  outline: var(--stroke-1) solid var(--brand-primary);
  outline-offset: 0;
}

.login-page .home-link img {
  display: block;
  width: 21px;
  height: 20px;
}

@media (max-width: 767px) {
  .login-page .login-top {
    padding: var(--spacing-sm) var(--spacing-base);
  }
}

@media (max-width: 359px) {
  .login-page .login-top {
    padding-right: var(--spacing-md);
    padding-left: var(--spacing-md);
  }
}

/* Reservation-complete header and footer */
.reservation-complete-header {
  width: 100%;
  height: 60px;
  flex: 0 0 60px;
  /* background: var(--semantic-white); */
}

.reservation-complete-header__inner {
  display: flex;
  width: 100%;
  max-width: 1280px;
  height: 100%;
  align-items: center;
  justify-content: flex-end;
  margin: 0 auto;
}

.reservation-complete-header__home {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
}

.reservation-complete-header__home img {
  display: block;
  width: 21px;
  height: 20px;
}

.reservation-complete-header__home:focus-visible {
  outline: var(--stroke-2) solid var(--brand-primary-dark);
  outline-offset: var(--stroke-2);
}

@media (max-width: 1319px) {
  .reservation-complete-header__inner {
    padding: 0 var(--spacing-lg);
  }
}

@media (max-width: 479px) {
  .reservation-complete-header__inner {
    padding: 0 var(--spacing-xs);
  }
}

/* Reservation-complete fixed shell */
/* .reservation-complete-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
} */

/* Reservation-complete shell
   헤더를 fixed 로 띄우고 푸터(.site-footer--reservation)도 fixed 로 바닥에 붙인 뒤
   main 을 그 사이 띠에 끼워 넣는 "스크롤 없는 1스크린" 구성이었는데,
   카드가 그 띠보다 높아지는 순간 넘친 부분이 잘려 하단 CTA 가 보이지 않았다.
   .reservation-complete-page 가 이미 flex column + min-height:100vh 라
   fixed 없이도 결과 화면은 같다(main 이 남는 높이를 채우고 푸터는 바닥에 붙는다).
   화면이 짧으면 잘리는 대신 페이지가 스크롤된다.
   → 헤더는 문서 흐름 유지. (푸터: site-footer.css, main: reservation-complete-fixed-layout.css) */
.reservation-complete-header {
  position: static;
  z-index: 100;
}
