/* ==========================================================================
   common.css
   - 전 페이지 공통 컴포넌트 (header / footer / button / chip / card 등)
   - 반응형: PC 퍼스트
     PC     : 1100px 이상 (기본값)
     Tablet : @media (max-width: 1099px)
     Mobile : @media (max-width: 767px)
   ========================================================================== */

/* ==========================================================================
   공통 레이아웃 유틸
   ========================================================================== */

/* 화면에서만 감추고 스크린리더에는 읽히는 텍스트.
   display:none / visibility:hidden 은 보조기기에서도 통째로 사라지므로 쓰지 않고,
   1px 영역으로 잘라내는 방식으로 숨김 (탭 패널 제목 등 문맥 안내용) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

/* 1280px 컨테이너 (페이지 섹션 공통 래퍼) */
.inner {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding-left: var(--space-side);
  padding-right: var(--space-side);
}

/* 섹션 상단 라벨 (예: Occasion / CS Center) */
.section-label {
  font-size: var(--fz-label-title);
  font-weight: 600;
  line-height: var(--lh-tight);
  color: var(--brand-primary);
}

/* 섹션 대제목 */
.section-heading {
  font-size: var(--fz-heading-l);
  font-weight: 600;
  line-height: var(--lh-heading);
  color: var(--text-primary);
}

/* ===== [추가] 2026-08-21 / 로그인·회원가입 작업 중 승격 =====
   모바일 전용 줄바꿈. index.css 에 같은 규칙이 있지만 index.html 은 이미
   개발단에 넘어가 수정하지 않고 두었다. 앞으로 만드는 페이지는 이 공통 규칙을 쓴다. */
.br-mo {
  display: none;
}

@media (max-width: 767px) {
  .br-mo {
    display: inline;
  }
}
/* ===== [추가 끝] ===== */

/* ==========================================================================
   Button (Figma "Button" 컴포넌트, Type × Shape × Size)
   - Type  : .btn(Primary, 기본) / .btn--secondary / .btn--neutral
   - Shape : 기본(Round) / .btn--capsule
   - Size  : 기본(L, 40/16) / .btn--m(16/12) / .btn--s(24/12, Secondary+Capsule 전용)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 40px;
  border-radius: 8px;
  font-size: var(--fz-body-s);
  font-weight: 500;
  background: var(--brand-primary);
  color: var(--base-white);
  white-space: nowrap;
}

/* Round + Capsule 공통 : Capsule 은 기본적으로 Medium(500) */
.btn--capsule {
  border-radius: 100px;
  font-weight: 500;
}

.btn--secondary {
  background: var(--base-white);
  border: 1px solid var(--brand-primary);
  color: var(--brand-primary);
  font-weight: 400;
}

.btn--secondary.btn--capsule {
  font-weight: 500;
}

.btn--neutral {
  background: var(--base-white);
  border: 1px solid var(--border-default);
  color: var(--text-primary);
  font-weight: 400;
}

/* Neutral 은 Capsule 이어도 Regular(400) 유지 */
.btn--neutral.btn--capsule {
  font-weight: 400;
}

.btn--m {
  padding: 12px 16px;
}

/* Secondary + Capsule + S 조합만 존재 */
.btn--s {
  padding: 12px 24px;
  font-size: var(--fz-label-l);
  font-weight: 500;
}

/* ===== [추가] 2026-08-21 / 로그인·회원가입 작업 중 승격 =====
   Form : 폼 안에서 전체폭으로 쓰는 버튼 (로그인 / 가입하기 / 동의하고 계속 등).
   Type/Shape 모디파이어와 조합해서 쓴다. 예) .btn.btn--form / .btn.btn--secondary.btn--form */
.btn--form {
  width: 100%;
  min-height: 50px;
  padding: var(--space-16) var(--space-side);
  font-weight: 500;
}

@media (max-width: 767px) {
  .btn--form {
    font-size: 15px;
  }
}
/* ===== [추가 끝] ===== */

/* ==========================================================================
   Chip
   ========================================================================== */
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1px solid var(--border-default);
  border-radius: 100px;
  font-size: var(--fz-body-s);
  line-height: var(--lh-body);
  letter-spacing: -0.02em;
  color: var(--text-secondary);
  white-space: nowrap;
  font-weight: 500;
}

.chip.is-active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  font-weight: 600;
  color: var(--base-white);
}

.chip--s {
  padding: 8px 16px;
  font-size: var(--fz-caption);
}

/* ===== [추가] 2026-08-21 / 로그인·회원가입 작업 중 승격 ===== */
/* ==========================================================================
   Form (입력 필드 / 체크박스)
   - 로그인, 비회원 주문조회, 회원가입(약관동의·정보입력)에서 공통으로 쓴다.
   - 높이 50px, 좌우 여백 24px 은 시안 기준 절대값.
   ========================================================================== */

/* 입력 필드 세로 리스트 */
.form-field-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

/* 세로 여백은 주지 않고 min-height 안에서 중앙정렬로 처리 */
.form-input {
  width: 100%;
  min-height: 50px;
  padding: 0 var(--space-24);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  font-size: 15px;
  line-height: var(--lh-tight);
  color: var(--text-primary);
}

.form-input::placeholder {
  color: var(--text-secondary);
}

.form-input:focus {
  border-color: var(--brand-primary);
}

/* ===== [추가] 2026-08-26 / 주문서 작업 중 추가 =====
   셀렉트 — .form-input 과 같은 규격(높이 50px / radius 8px / 좌우 24px).
   네이티브 <select> 를 그대로 쓴다. 값이 실제로 서버에 전송돼야 하는 폼이고
   모바일에서는 OS 기본 피커가 떠서 사용성이 가장 좋다.
   (pdp.css 의 .select 는 값 전송이 없는 표시용 버튼이라 용도가 다르다)
   화살표는 파일 대신 data URI 로 둔다 — common.css 가 특정 페이지 폴더의
   이미지에 의존하지 않도록. 색 #5F5F5F 는 --text-secondary 와 같은 값 */
.form-select {
  width: 100%;
  min-height: 50px;
  padding: 0 48px 0 var(--space-24);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  background: var(--base-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5.5 8L10 12.5L14.5 8' stroke='%235F5F5F' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat right var(--space-24) center / 20px 20px;
  font-size: 15px;
  line-height: var(--lh-tight);
  color: var(--text-primary);
  appearance: none;
  cursor: pointer;
}

.form-select:focus {
  border-color: var(--brand-primary);
}

/* 아직 고르지 않은 상태(placeholder option)는 입력창 placeholder 와 같은 톤으로 */
.form-select:invalid,
.form-select option[value=""] {
  color: var(--text-secondary);
}

/* IE/Edge 레거시의 기본 화살표 제거 */
.form-select::-ms-expand {
  display: none;
}
/* ===== [추가 끝] ===== */

/* 체크박스
   실제 input 은 .sr-only 로 감추고 .form-check__box 를 그려서 쓴다.
   (input 가상요소는 브라우저별 지원이 갈려 span 을 따로 둠) */
.form-check {
  display: flex;
}

.form-check__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fz-body-xxs);
  font-weight: 400;
  line-height: var(--lh-body);
  color: var(--text-primary);
  cursor: pointer;
}

.form-check__box {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 1px solid var(--text-muted);
  border-radius: 3px;
}

.form-check__box::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 5px;
  width: 6px;
  height: 10px;
  border: solid var(--base-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
}

.form-check__input:checked + .form-check__label .form-check__box {
  border-color: var(--brand-primary);
  background: var(--brand-primary);
}

.form-check__input:checked + .form-check__label .form-check__box::after {
  opacity: 1;
}

.form-check__input:focus-visible + .form-check__label .form-check__box {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

/* ===== [추가] 2026-08-26 / 주문서 작업 중 추가 =====
   라디오 — .form-check 구조는 그대로 두고 모양만 바꾸는 모디파이어.
   기존 체크박스 규칙은 한 줄도 건드리지 않는다.
   (signup 은 지금 라디오에도 네모 체크박스를 쓰고 있어 그대로 두었다) ===== */
.form-check--radio .form-check__box {
  border-radius: 50%;
}

/* 체크마크(∨) 자리를 가운데 원형 점으로 덮어쓴다. 보이고 숨는 건
   위의 :checked → opacity 규칙이 그대로 처리한다 */
.form-check--radio .form-check__box::after {
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: var(--brand-primary);
  transform: translate(-50%, -50%);
}

/* 선택 시 : 테두리만 브랜드 컬러로 바뀌고 안쪽은 흰색을 유지해야
   가운데 점이 보인다 (체크박스는 안쪽이 브랜드 컬러로 채워지는 것과 다름) */
.form-check--radio .form-check__input:checked + .form-check__label .form-check__box {
  background: var(--base-white);
}
/* ===== [추가 끝] ===== */

@media (max-width: 767px) {
  .form-input {
    font-size: 14px;
  }

  .form-select {
    font-size: 14px;
  }
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: relative;
  width: 100%;
}

/* ===== [추가] 헤더 하단 레드 라인 버전 (다른 페이지에서 사용) ===== */
.header--line {
  border-bottom: 0.5px solid var(--brand-primary);
}

/* ----- top-bar ----- */
.top-bar {
  width: 100%;
  height: 40px;
  background: var(--brand-primary);
  color: var(--base-white);
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-side);
}

/* ===== [수정] 2026-10-29 / 상단 공지를 왼쪽 메뉴와 상관없이 화면 가운데에 : 왼쪽 묶음(flex-shrink:0)을 flex:1 로 바꾸고
     오른쪽에 같은 flex:1 빈 칸(.top-bar__inner::after)을 두어 양쪽 공간이 항상 같게 함 (백업 : common_topbar수정전_1029백업.css) ===== */
.top-bar__left {
  display: flex;
  align-items: center;
  gap: var(--space-24);
  flex: 1;
}

.top-bar__inner::after {
  content: "";
  flex: 1;
}
/* ===== [수정 끝] ===== */

.top-bar__link {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: var(--fz-label-l);
  font-weight: 400;
  line-height: var(--lh-body);
  white-space: nowrap;
}

.top-bar__icon {
  width: 20px;
  height: 20px;
}

.top-bar__notice {
  flex: 0 1 auto; /* [수정] 2026-10-29 / flex:1 → 자기 폭만큼만 (양쪽 빈 칸이 같은 폭을 나눠 가져 가운데 정렬) */
  text-align: center;
  font-size: var(--fz-body-s);
  font-weight: 400;
  line-height: var(--lh-tight);
}

.top-bar__notice strong {
  font-weight: 600;
  color: #fff0c8;
}

/* ===== [추가] 2026-10-28 / 상단 띠배너 문구 PC·모바일 분리 (기본 PC 문구, Mobile에서 MO 문구로 전환) ===== */
.top-bar__notice-mo {
  display: none;
}
/* ===== [추가 끝] ===== */

/* ==========================================================================
   헤더 검색 추천 (search.html 전용이었다가 09.09 전체 메뉴 사용으로 승격됨)
   ========================================================================== */

.search {
  position: relative;
}

.search-suggest {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 450px;
  max-width: calc(100vw - 2 * var(--space-side));
  padding: var(--space-32) var(--space-24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(40px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.search-suggest[hidden] {
  display: none;
}

.search-suggest__group {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  width: 100%;
}

.search-suggest__tit {
  font-size: var(--fz-label-l);
  font-weight: 500;
  line-height: var(--lh-tight);
  color: var(--text-primary);
}

.search-suggest__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
}

.search-mo__suggest + .search-mo__suggest {
  margin-top: -8px;
}

/* ----- 최근 검색어 칩 : 삭제(×) 버튼 포함 (PC 팝업 · 모바일 오버레이 공용) -----
   공통 .chip--s 는 <a> 하나짜리 클릭 영역이라, 검색어 채우기(chip__text)와
   삭제(chip__remove) 두 버튼을 같이 담아야 해서 이 페이지에서 새 modifier로 확장.
   너비/색상 등 기본 .chip--s 값은 그대로 상속하고 내부 레이아웃만 덮어씀 */
.chip--removable {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 8px 8px 16px;
}

.chip--removable .chip__text {
  font: inherit;
  color: inherit;
  white-space: nowrap;
}

.chip--removable .chip__remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  font-size: 14px;
  line-height: 1;
  color: var(--text-muted);
}

.search-suggest__empty{
  font-size: var(--fz-body-xxs);
  color: var(--text-secondary);
}

/* 최근 검색어 : 한 줄이 넘어가면 줄바꿈 대신 옆으로 슬라이드 (추천검색어는 그대로 줄바꿈 유지) */
[data-recent-keywords] {
  overflow-x: auto;
  scrollbar-width: none;
}

[data-recent-keywords]::-webkit-scrollbar {
  display: none;
}

[data-recent-keywords] .chip--removable {
  flex-shrink: 0;
}



/* ----- head ----- */
.head {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 24px var(--space-side) 0;
}

.head__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-24);
}

/* width 만 고정하고 height 는 auto */
.logo img {
  display: block;
  width: 150px;
  height: auto;
}

/* ----- search ----- */
.search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  min-width: 264px;
  max-width: 320px;
  padding: 4px 0 4px 16px;
  border-bottom: 0.7px solid var(--brand-primary);
}

.search__input {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: var(--lh-tight);
  color: var(--text-secondary);
}

.search__input::placeholder {
  color: var(--text-muted);
}

/* 30x30 프레임은 유지하되, 아이콘 자체는 원래 벡터 크기 그대로 중앙 정렬 */
.search__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.search__btn img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

/* ----- util ----- */
.util {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* 30x30 프레임은 유지하되, 아이콘 자체는 원래 벡터 크기 그대로 중앙 정렬 */
.util__item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* ===== [추가] 2026-09-03 / PC 전용 마이페이지 드롭다운
   - 트리거 오른쪽 라인에 맞춰 왼쪽으로 펼쳐짐 (right:0)
   - data-login="guest"|"member" 로 두 패널 중 노출할 쪽을 고르고(allmenu-mo와 동일 방식),
     최종 열림은 JS 가 붙이는 .is-open 이 담당 ===== */
.util__my-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.util__my-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 100;
  display: none;
  flex-direction: column;
  gap: 12px;
  min-width: 120px;
  padding: 24px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  background: var(--base-white);
}

.util__item--my[data-login="guest"].is-open .util__my-dropdown--guest,
.util__item--my[data-login="member"].is-open .util__my-dropdown--member {
  display: flex;
}

.util__my-dropdown a {
  font-size: 15px;
  font-weight: 500;
  line-height: var(--lh-tight);
  color: var(--text-primary);
  white-space: nowrap;
}

.util__my-dropdown a:hover {
  color: var(--brand-primary);
}

/* Mobile 에서만 무조건 숨김 (PC·Tablet 전용) */
/* @media (max-width: 767px) {
  .util__item--my[data-login="guest"].is-open .util__my-dropdown--guest,
  .util__item--my[data-login="member"].is-open .util__my-dropdown--member {
    display: none;
  }
} */
/* ===== [추가 끝] ===== */

.util__count {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 16px;
  padding: 0 4px;
  border-radius: 120px;
  background: var(--brand-primary);
  font-size: 9px;
  font-weight: 700;
  color: var(--base-white);
}

/* ----- nav-bar ----- */
.nav-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-24);
  padding-bottom: 12px;
}

/* ===== 헤더 전국 당일배송 안내 버튼만 15px ===== */
.nav-bar .btn {
  font-size: 15px;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-bottom: 4px;
}

.nav__item {
  font-size: var(--fz-nav);
  line-height: var(--lh-nav);
  color: var(--text-primary);
  white-space: nowrap;
}

.nav__divider {
  width: 1px;
  height: 10px;
  background: var(--border-default);
}

/* ----- nav 드롭다운 (화환 / 꽃선물 / 식물) -----
   호버 또는 클릭 시 흰색 박스로 하위 카테고리 노출 (JS 의 .is-open 하나로 통일 제어 —
   순수 CSS :hover 는 JS 클릭 상태와 독립적으로 동작해 서로 다른 메뉴가 동시에
   열려 보이는 문제가 있어 쓰지 않음). 모바일 nav-bar-mo__row--sub 와 같은 데이터 구조,
   PC 전용 UI 라 common.css 에 별도로 둠 */
.nav__item--dropdown {
  position: relative;
}

.nav__link {
  font-weight: 500;
}

.nav__link.is-active {
  color: var(--brand-primary);
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: 0;
  z-index: 100;
  display: none;
  flex-direction: column;
  gap: 8px;
  min-width: 140px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(40px);
}

.nav__item--dropdown.is-open .nav__dropdown {
  display: flex;
}

.nav__dropdown a {
  padding: 8px 0;
  font-size: var(--fz-body-m);
  font-weight: 400;
  color: var(--text-primary);
  white-space: nowrap;
}

.nav__dropdown a:hover {
  color: var(--brand-primary);
  font-weight: 600;
}

.nav__dropdown-label {
  padding: 16px 0 8px;
  font-size: var(--fz-caption);
  font-weight: 400;
  color: var(--text-muted);
}

.nav__dropdown-label:first-child {
  padding-top: 8px;
}

/* 전체 메뉴 (햄버거 + 텍스트) */
.nav__all {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__all-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 30px;
}

.nav__all-icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.nav__all-txt {
  font-size: var(--fz-nav);
  font-weight: 600;
  line-height: var(--lh-nav);
}

/* ==========================================================================
   전체메뉴 드롭다운 (Figma : All-menuopen) — PC · Tablet 전용
   nav__all 클릭 시 노출, 좌측 카테고리 4그룹 + 우측 CS/배너 2단 구성
   ========================================================================== */
.nav__item--all {
  position: relative;
}

.allmenu {
  position: absolute;
  top: calc(100% + 16px);
  left: 0;
  z-index: 100;
  display: none;
  width: 516px;
  padding: 40px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.nav__item--all.is-open .allmenu {
  display: block;
}

.allmenu__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.75fr);
  gap: 30px;
  width: 100%;
}

/* ----- 좌측 : 카테고리 그룹 ----- */
.allmenu__cate {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.allmenu__group {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.allmenu__label {
  font-size: 13px;
  font-weight: 500;
  line-height: var(--lh-tight);
  color: var(--brand-primary);
}

.allmenu__group a {
  font-size: var(--fz-body-m);
  font-weight: 500;
  line-height: var(--lh-body);
  letter-spacing: -0.02em;
  color: var(--text-primary);
  white-space: nowrap;
}

.allmenu__group a:hover {
  color: var(--brand-primary);
  font-weight: 600;
}

/* ----- 우측 : 배송안내 / CS / 배너 ----- */
.allmenu__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.allmenu__delivery {
  font-size: var(--fz-body-xs);
  line-height: var(--lh-tight);
  color: var(--text-primary);
  text-align: right;
}

.allmenu__cs {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
  width: 100%;
}

.allmenu__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.allmenu__contact-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fz-body-xs);
  line-height: var(--lh-tight);
  color: var(--text-primary);
  white-space: nowrap;
}

.allmenu__contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  overflow: hidden;
  font-size: 10px;
  font-style: normal;
}

.allmenu__contact-icon--chat {
  background: #FFADB3;
}

.allmenu__contact-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.allmenu__tel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
  color: var(--text-primary);
}

.allmenu__tel-label {
  font-size: var(--fz-body-xs);
  line-height: var(--lh-tight);
}

.allmenu__tel-num {
  font-size: var(--fz-heading-m);
  font-weight: 600;
  line-height: var(--lh-heading);
}

.allmenu__banner {
  display: flex;
  align-items: flex-start;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 14px;
  border-radius: 8px;
  background: url('../images/common/banner/membership-menuall.png') center / cover no-repeat;
}

.allmenu__banner-txt {
  display: flex;
  flex-direction: column;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--base-white);
}

/* 모바일에서는 전용 nav-bar-mo 를 쓰므로 미노출
   (.nav__item--all.is-open .allmenu 와 명시도를 맞춰야 덮어쓸 수 있음) */
@media (max-width: 767px) {
  .nav__item--all.is-open .allmenu {
    display: none;
  }
}

/* 모바일 전용 검색 아이콘 (PC에서는 검색창 사용) */
.util__item--search-mo {
  display: none;
}

/* ==========================================================================
   모바일 전용 2단 nav-bar (Figma Header property1=mobile 전용 서브 컴포넌트)
   PC/Tablet 에서는 렌더링되지 않음
   ========================================================================== */
.nav-bar-mo {
  display: none;
  position: relative;
}

.nav-bar-mo__row {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px var(--space-side);
  border-bottom: 0.5px solid var(--border-default);
}

.nav-bar-mo__row--main {
  border-top: 0.5px solid var(--border-default);
}

/* 서브메뉴 : 기본 숨김 (메인 메뉴 클릭 시 .is-open 으로 노출)
   - 아래 콘텐츠를 밀지 않고 위에 겹쳐 뜨도록 absolute 오버레이
   - 가로 스크롤바는 숨기고, 오른쪽 끝 페이드로 "옆에 더 있다"는 힌트만 */
.nav-bar-mo__row--sub {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 100;
  display: none;
  /* 넘칠 때 center 면 좌우로 넘쳐 앞부분이 스크롤로 닿지 않으므로 flex-start */
  justify-content: flex-start;
  padding-top: 8px;
  padding-bottom: 8px;
  background: var(--base-white);
  box-shadow: 0 2px 6px -2px rgba(0, 0, 0, 0.05);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* 식물 서브메뉴만 항목 수가 많아 가로 스크롤이 생기므로, 페이드 힌트도 여기에만*/
/* 실제로 오른쪽에 더 스크롤할 내용이 남아있을 때만 (JS 로 .has-more 토글) */
.nav-bar-mo__row--sub[data-submenu-panel="plant"].has-more::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 21px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), var(--base-white));
  pointer-events: none;
}

.nav-bar-mo__row--sub::-webkit-scrollbar {
  display: none;
}

.nav-bar-mo__row--sub.is-open {
  display: flex;
}

.nav-bar-mo__list {
  display: flex;
  align-items: center;
  width: 100%;
}

.nav-bar-mo__row--main .nav-bar-mo__list {
  justify-content: space-between;
}

.nav-bar-mo__row--main a,
.nav-bar-mo__menu {
  font-size: var(--fz-nav);
  font-weight: 500;
  line-height: var(--lh-nav);
  color: var(--text-primary);
  white-space: nowrap;
}

/* 서브메뉴가 열린 메뉴만 브랜드 컬러로 */
.nav-bar-mo__menu.is-active {
  color: var(--brand-primary);
}

.nav-bar-mo__divider {
  width: 1px;
  height: 10px;
  background: var(--border-default);
}

.nav-bar-mo__all {
  display: flex;
  align-items: center;
}

/* row--sub : 라벨(난/식물) + 하위 카테고리 링크 */
.nav-bar-mo__row--sub .nav-bar-mo__list {
  flex-shrink: 0;
  gap: 28px;
  width: max-content;
  min-width: 100%;
  padding: 8px 0;
}

.nav-bar-mo__label {
  font-size: var(--fz-price-s);
  line-height: var(--lh-body);
  color: var(--text-muted);
  flex-shrink: 0;
}

.nav-bar-mo__row--sub a {
  font-size: 14px;
  font-weight: 400;
  line-height: var(--lh-tight);
  color: var(--text-primary);
  white-space: nowrap;
}

.nav-bar-mo__row--sub a:active {
  font-weight: 500;
}

/* ==========================================================================
   모바일 검색창 (Figma : serach_open)
   - 헤더의 모바일 검색 아이콘으로 열리는 전체화면 오버레이
   - 상단 : 뒤로가기 · 입력창 · 검색 버튼 한 줄, 아래 : 추천검색어 칩
   ========================================================================== */
.search-mo {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 40px;
  background: var(--base-white);
  overflow-y: auto;
}

.search-mo[hidden] {
  display: none;
}

.search-mo__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 18px 16px;
  border-bottom: 1px solid var(--border-default);
}

.search-mo__back {
  width: 30px;
  height: 30px;
  flex-shrink: 0;

}

/* 입력창*/
.search-mo__form {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.search-mo__input {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  line-height: var(--lh-tight);
  color: var(--text-secondary);
}

.search-mo__input::placeholder {
  color: var(--text-muted);
}

/* type="search" 입력 시 브라우저가 자동으로 붙이는 지우기(x) 버튼 제거 —
   디자인에 없는 네이티브 UI 라 각 브라우저 엔진별 셀렉터로 모두 숨김 */
.search-mo__input::-webkit-search-cancel-button,
.search-mo__input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.search-mo__input::-ms-clear {
  display: none;
}

.search-mo__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.search-mo__submit img {
  display: block;
  width: 100%;
  height: 100%;
}

.search-mo__suggest {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 22px;
}

.search-mo__suggest-tit {
  font-size: 14px;
  font-weight: 500;
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.search-mo__keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* 공통 .chip과 별도로 해당칩은 13px·Regular 유지 (모바일에서만 사용함) */
.search-mo .chip--s {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-primary);
}

/* 검색창이 열린 동안 뒤쪽 본문 스크롤 잠금 */
body.is-search-open {
  overflow: hidden;
}

/* 모바일 전용 UI — 창이 열린 채로 넓어져도 PC 화면을 덮지 않도록 */
@media (min-width: 768px) {
  .search-mo {
    display: none;
  }
}

/* ==========================================================================
   모바일 전체메뉴 오버레이 (Figma : m_menuopen)
   - nav-bar-mo 햄버거 버튼으로 열림 (JS 가 body.is-menu-open + hidden 해제)
   - 화면 오른쪽에 붙는 425px 패널 + 뒤쪽 딤 처리, 내용이 길어 세로 스크롤
   - 상단 영역만 로그인 여부에 따라 교체 : data-login="guest" / "member"
   ========================================================================== */
.allmenu-mo {
  position: fixed;
  inset: 0;
  z-index: 200;
}

.allmenu-mo[hidden] {
  display: none;
}

.allmenu-mo__dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

/* 모바일 메뉴패널 */
.allmenu-mo__panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  max-width: 450px;
  padding: 20px 24px 40px;
  background: var(--base-white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* 닫기(X) : 아코디언과 같은 + 아이콘을 45deg 돌려 X 로 사용 */
.allmenu-mo__close {
  display: block;
  width: 15px;
  height: 15px;
  margin-left: auto;
  background: url('../images/common/icon/icon-toggle-open.svg') center / 15px 15px no-repeat;
  transform: rotate(45deg);
}

.allmenu-mo__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 12px;
}

/* ----- 상단 : 앱 다운로드 + 로그인 상태 영역 ----- */
.allmenu-mo__top {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-default);
}

.allmenu-mo__app {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  align-self: flex-start;
  font-size: 16px;
  font-weight: 500;
  line-height: var(--lh-tight);
  color: var(--brand-primary);
}

/* 오른쪽 화살표(>) : 별도 아이콘 파일 없이 border 로 그림 */
.allmenu-mo__app-icon {
  width: 6px;
  height: 6px;
  border-top: 1.4px solid currentColor;
  border-right: 1.4px solid currentColor;
  transform: rotate(45deg);
}

/* 로그인 상태에 따라 둘 중 하나만 노출 */
.allmenu-mo[data-login="guest"] .allmenu-mo__my--member,
.allmenu-mo[data-login="member"] .allmenu-mo__my--guest {
  display: none;
}

.allmenu-mo__my {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.allmenu-mo__member {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.allmenu-mo__name {
  font-size: 20px;
  font-weight: 500;
  line-height: var(--lh-tight);
  color: var(--text-primary);
}

.allmenu-mo__member-links,
.allmenu-mo__guest-links {
  display: flex;
  gap: 16px;
  font-size: 15px;
  font-weight: 400;
  line-height: var(--lh-tight);
  color: var(--text-primary);
}

.allmenu-mo__guest-links {
  margin-left: 2px;
  margin-top: 2px;
}

.allmenu-mo__guest-links a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.allmenu-mo__btns {
  display: flex;
  gap: 8px;
}

/* 공통 .btn 은 모바일에서 14px 로 줄지만, 해당버튼만 16px 고정 */
.allmenu-mo .btn {
  font-size: 16px;
}

/* ----- 카테고리 ----- */
.allmenu-mo__menu {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.allmenu-mo__group {
  display: flex;
  flex-direction: column;
  gap: 22px;
  line-height: var(--lh-tight);
}

.allmenu-mo__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-primary);
}

.allmenu-mo__group a {
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

/* ----- 고객센터 ----- */
.allmenu-mo__cs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.allmenu-mo__tel-label {
  font-size: 15px;
  font-weight: 300;
  line-height: var(--lh-tight);
  color: var(--text-primary);
}

.allmenu-mo__tel-num {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
}

.allmenu-mo__contact {
  display: flex;
  gap: 16px;
}

.allmenu-mo__contact-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  font-weight: 300;
  line-height: var(--lh-tight);
  color: var(--text-primary);
}

.allmenu-mo__contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  overflow: hidden;
  font-size: 8px;
  font-style: normal;
}

.allmenu-mo__contact-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.allmenu-mo__contact-icon--chat {
  background: #ffadb3;
}

/* ----- 콘텐츠 배너 ----- */
.allmenu-mo__contents {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.allmenu-mo__cards {
  display: flex;
  gap: 10px;
}

/* 배경 이미지 위에 어두운 오버레이를 깔아 흰 글씨 가독성 확보
   정사각형 유지 + 컨테이너를 채우되 카드 하나당 최대 120px */
.allmenu-mo__card {
  position: relative;
  display: flex;
  flex: 1 1 0;
  align-items: flex-start;
  min-width: 0;
  max-width: 120px;
  aspect-ratio: 1 / 1;
  padding:  var(--space-12);
  border-radius: 8px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

.allmenu-mo__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.allmenu-mo__card span {
  position: relative;
  font-size: 18px;
  font-weight: 500;
  line-height: var(--lh-tight);
  color: var(--base-white);
}

.allmenu-mo__card--event {
  background-image: url('../images/common/banner/menuall-event.png');
}

.allmenu-mo__card--contents {
  background-image: url('../images/common/banner/menuall-contents.png');
}

.allmenu-mo__card--membership {
  background-image: url('../images/common/banner/membership-menuall.png');
}

/* 메뉴가 열린 동안 뒤쪽 본문 스크롤 잠금 */
body.is-menu-open {
  overflow: hidden;
}


/* ----- Mobile ----- */
@media (max-width: 767px) {
  .top-bar {
    height: 32px;
  }

  .top-bar__left {
    display: none;
  }

  /* [수정] 2026-10-29 / 모바일은 왼쪽 묶음이 없으므로 오른쪽 빈 칸을 없애고 공지가 전체 폭을 쓰게 함 */
  .top-bar__inner::after {
    display: none;
  }

  .top-bar__notice {
    flex: 1;
    font-size: var(--fz-label-l);
  }

  .top-bar__notice strong {
    font-size: var(--fz-body-s);
    color: var(--base-white);
  }

  /* ===== [추가] 2026-10-28 / 상단 띠배너 문구 PC·모바일 분리 ===== */
  .top-bar__notice-pc {
    display: none;
  }

  .top-bar__notice-mo {
    display: inline;
  }
  /* ===== [추가 끝] ===== */

  /* padding 비활성화 : nav-bar-mo 의 구분선이 화면 100% 폭을 가지도록
     대신 같은 값을 head__row 로 옮겨서 로고/검색/유틸 아이콘 줄만 인셋되게 함 */
  .head {
    gap: 14px;
    padding: 0;
  }

  .head__row {
    gap: var(--space-12);
    padding: 14px var(--space-side) 0;
  }

  /* PC 와 동일한 PNG 파일 사용, 가로만 100px 로 축소 (height 는 auto) */
  .logo img {
    width: 110px;
    height: auto;
  }

  /* 모바일 헤더 : 검색창 숨기고 검색 아이콘으로 대체.
     마이페이지는 그대로 노출, 찜만 숨겨 검색/마이페이지/장바구니 3개만 남김 */
  .search,
  .util__item--wish,
  .nav-bar {
    display: none;
  }

  .util__item--search-mo {
    display: block;
  }

  /* 클릭 영역(.util__item, 30x30)은 그대로 두고 아이콘만 살짝 축소, 아이콘 간격도 줄임 */
  .util {
    gap: 4px;
  }

  .util__item {
    width: 30px;
    height: 30px;
  }

  .util__item img {
    width: 28px;
    height: 28px;
  }

  .nav-bar-mo {
    display: block;
  }
}

/* ==========================================================================
   Product card
   ========================================================================== */
.product-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  background: var(--base-white);
}

.product-card__img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
}


.product-card__img > a {
  display: block;
  width: 100%;
  height: 100%;
}

.product-card__img > a > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== [추가] 2026-08-10 / 카드 전체를 한 링크(a.product-card)로 감싸는 새 구조용.
   위의 img > a > img 규칙(예전 구조)은 아직 이 구조로 안 옮긴 페이지가 있어 그대로 둠 —
   두 규칙은 서로 다른 마크업에 각각 걸리므로 충돌하지 않는다 ===== */
.product-card__img > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* ===== [추가 끝] ===== */

/* 찜 버튼 */
.wish-btn {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
}

.wish-btn img {
  width: 14px;
  height: 13px;
}

/* ===== [수정] 2026-08-04 / 클릭할 때마다 img.src 를 새로 불러오던 방식(JS)에서
   두 아이콘(기본/활성)을 처음부터 같이 그려두고 CSS 로만 전환하는 방식으로 변경.
   런타임 이미지 교체가 아이폰 등 일부 환경에서 깨진 이미지(네모)로 보이는 문제가 있었음.
   grid-area:1/1 로 같은 칸에 겹쳐두고 표시 여부만 토글 */
.wish-btn__icon {
  grid-area: 1 / 1;
}

.wish-btn__icon--active {
  display: none;
}

.wish-btn.is-active .wish-btn__icon--default {
  display: none;
}

.wish-btn.is-active .wish-btn__icon--active {
  display: block;
}
/* ===== [수정 끝] ===== */

.product-card__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left :6px;
}

.product-card__title {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/*
 * Figma "product-card" 컴포넌트는 Size 별로 지정값(고정 px)을 갖는 별도 스펙:
 *   - Size=M  (PC · Tablet 공통, 폰트사이즈는 브레이크포인트에 따라 변하지 않음)
 *   - Size=S-w (Mobile 전용, 767px 이하에서만 적용)
 */
/* 상품명이 카드 폭을 넘으면 줄바꿈 대신 한 줄로 자르고 ...으로 표시 */
.product-card__name {
  overflow: hidden;
  font-size: 17px;
  font-weight: 500;
  line-height: var(--lh-tight);
  color: var(--text-primary);
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* 2줄까지 채우고 넘치면 ...으로 자름 (PC·Tablet·Mobile 공통, 폰트 크기만 Mobile 에서 재정의) */
.product-card__desc {
  display: -webkit-box;
  overflow: hidden;
  font-size: 15px;
  line-height: var(--lh-heading);
  color: var(--text-secondary);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* 리뷰 */
.review {
  display: flex;
  align-items: center;
  gap: 5px;
}

.review img {
  width: 10px;
  height: 13px;
}

.review__score {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.review__count {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
}

/* 가격 */
.product-card__price {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price {
  display: flex;
  align-items: flex-end;
  gap: var(--space-12);
}

.price__now {
  font-size: 20px;
  font-weight: 700;
  line-height: var(--lh-tight);
  color: var(--text-primary);
}

.price__origin {
  font-size: 13px;
  font-weight: 400;
  line-height: var(--lh-body);
  color: var(--text-secondary);
  text-decoration: line-through;
}

.price__member {
  font-size: 14px;
  font-weight: 600;
  line-height: var(--lh-tight);
  color: var(--brand-primary);
}

.price__point {
  font-size: 13px;
  font-weight: 500;
  line-height: var(--lh-tight);
  color: var(--text-secondary);
}

/* ----- Mobile : 이미지 좌 / 정보 우 가로형 카드 (Size=S-w) ----- */
@media (max-width: 767px) {
  .product-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-width: 350px;
    width: 100%;
  }

  .product-card__img {
    min-width: 142px;
  }

  .product-card__info {
    justify-content: center;
    gap: 6px;
    min-width: 162px;
  }

  /* 한 줄 고정 + ... 처리는 위 기본 규칙에서 이미 적용됨 — 여기선 폰트 크기만 재정의 */
  .product-card__name {
    font-size: 15px;
  }

  /* 2줄 클램프는 위 기본 규칙에서 이미 적용됨 — 여기선 폰트 크기만 재정의 */
  .product-card__desc {
    font-size: 12.5px;
  }

  .product-card__price {
    gap: 2px;
  }

  .product-card__title{
    gap: 2px;
  }


  /* 모바일 찜 버튼 (S 사이즈) */
  .wish-btn {
    right: 8px;
    bottom: 8px;
    width: 24px;
    height: 24px;
    box-shadow: 0 0 12.5px 0 rgba(0, 0, 0, 0.1);
  }

  /* ===== [수정] 2026-08-04 / 모바일 터치 히트 영역 확장 : 눈에 보이는 원(20px)은 그대로 두고
     실제 탭 가능 범위만 40px로 넓힘 — 20px는 권장 최소 터치 타깃(44px 안팎)에 크게 못 미쳐
     손가락으로 살짝만 빗나가도 바로 아래 상품 이미지 링크가 눌리는 문제가 있었음 ===== */
  .wish-btn::after {
    content: '';
    position: absolute;
    inset: -10px;
  }


  .wish-btn img {
    width: 10.5px;
    height: 9.75px;
  }

  .review__score {
    font-size: 14px;
  }

  .price__now {
    font-size: 16px;
  }

  .price__origin {
    font-size: 12px;
  }

  .price__member {
    font-size: 12px;
  }

  .price__point {
    font-size: 12px;
  }
}

/* ===== [승격] 2026-08-26 / 주문서 작업 중 cart.css 에서 이동 =====
   이동하면서 이름을 .cart-badge → .product-badge 로 바꿨다.
   장바구니·주문서 두 곳에서 상품에 붙는 배지라 더 이상 장바구니 전용이 아니다. */
/* ==========================================================================
   Product badge (상품에 붙는 혜택 · 배송 배지)
   - --sale     : 회원 즉시할인
   - --point    : 회원 적립
   - --delivery : 당일/익일 배송 안내
   ※ 적립(--point) 의 초록(#2F7A4A / #EAF5EE)은 base.css 토큰에 없는 색이다.
     base.css 도 공유 파일이라 토큰 추가는 별도 승인이 필요해 값을 그대로 옮겼다.
     세 번째 페이지에서 같은 초록이 필요해지면 그때 토큰 승격을 제안할 것.
   ========================================================================== */
.product-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  border-radius: var(--space-8);
  font-size: var(--fz-caption);
  font-weight: 600;
  white-space: nowrap;
}

.product-badge--sale {
  background: var(--brand-primary-light);
  color: var(--brand-primary);
}

.product-badge--point {
  background: #EAF5EE;
  color: #2F7A4A;
}

.product-badge--delivery {
  padding: var(--space-8) var(--space-12);
  background: var(--brand-primary-light);
  font-size: var(--fz-caption);
  font-weight: 500;
  color: var(--brand-primary);
}

@media (max-width: 767px) {
  .product-badge--delivery {
    padding: 4px 8px;
  }
}
/* ===== [승격 끝] ===== */

/* ===== [추가] 2026-09-16 / 주문완료 페이지 작업 중 추가 =====
   Payment badge (Figma "badge-payment" 컴포넌트, status=default | fail)
   주문완료·주문보류 화면뿐 아니라 마이페이지 주문조회에서도 같은 배지를 쓰기로 해
   처음부터 공통에 둔다. 라벨(입금 대기중 / 결제대기 / 결제완료 / 제작·배송중 /
   배송완료 / 취소 요청됨 / 기한만료·자동취소 / 부분취소 / 주문취소 / 환불완료)은
   전부 기본 스타일이고, 경고로 보여야 하는 [결제 승인 실패] 하나만 --fail 을 쓴다.
   ※ 배지는 시안 고정 크기라 padding 을 --space-8(모바일 4px) 로 두지 않는다
     (CLAUDE.md : 아이콘·배지처럼 크기가 고정인 요소는 예외). */
.payment-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--base-surface);
  font-size: var(--fz-caption);
  font-weight: 600;
  line-height: var(--lh-tight);
  color: var(--text-secondary);
  white-space: nowrap;
}

/* 아이콘은 ::before 로 넣어 마크업에는 라벨만 두게 한다
   (배지를 쓰는 쪽에서 <img> 를 매번 적지 않아도 되도록) */
.payment-badge--fail {
  background: var(--brand-surface);
  color: var(--brand-primary);
}

.payment-badge--fail::before {
  content: '';
  flex: none;
  width: 13px;
  height: 13px;
  background: url('../images/common/icon/icon-warning-tri.svg') no-repeat center / contain;
}
/* ===== [추가 끝] ===== */

/* ==========================================================================
   Category menu (원형 카테고리)
   ========================================================================== */
.category-menu {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-16);
  min-width: 70px;
  padding: 0 4px;
}

.category-menu__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 100px;
  object-fit: cover;
}

.category-menu__tit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  line-height: var(--lh-body);
}

.category-menu__name {
  font-size: var(--fz-body-s);
  letter-spacing: -0.02em;
  color: var(--text-primary);
  font-weight: 500;
}

.category-menu__sub {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
}

/* ==========================================================================
   Best badge (Figma "best_icon" 컴포넌트, Shape × Size)
   - .best-badge (shape=square, 기본) : 60x60 정사각, "BEST" + 순위 숫자
   - .best-badge--label (shape=label) : 순위 없이 "BEST" 텍스트만
   ========================================================================== */
.best-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--brand-primary);
  color: var(--base-surface);
  text-align: center;
}

.best-badge__label {
  font-size: var(--fz-body-m);
  font-weight: 500;
  line-height: var(--lh-tight);
  margin-bottom: -5px;
}

.best-badge--label {
  width: 60px;
  height: auto;
  padding: 4px 12px;
  border-radius: 6px;
}

.best-badge--label .best-badge__label {
  font-size: var(--fz-label-l);
  font-weight: 600;
  margin-bottom: 0;
}

/* ==========================================================================
   Buy-now button (Figma "buynow_btn" 컴포넌트, buynow / addcart / wish)
   ========================================================================== */
.buynow-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  width: 100%;
}

.buynow-btn__item {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  height: 58px;
  padding: 16px 20px;
  border-radius: 8px;
  font-size: var(--fz-body-s);
  white-space: nowrap;
}

.buynow-btn__item--buynow {
  background: var(--brand-primary);
  font-weight: 700;
  color: var(--base-white);
}

.buynow-btn__item--addcart,
.buynow-btn__item--wish {
  border: 0.7px solid var(--border-default);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

/* ==========================================================================
   Occasion card
   ========================================================================== */
.occa-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-width: 140px;
}

.occa-card__img {
  width: 100%;
  aspect-ratio: 197.67 / 125;
  border-radius: 8px;
  object-fit: cover;
}

.occa-card__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding-bottom: 10px;
  text-align: center;
}

.occa-card__name {
  font-size: var(--fz-body-l);
  font-weight: 600;
  line-height: var(--lh-body);
  color: var(--text-primary);
}

.occa-card__desc {
  font-size: var(--fz-body-xs);
  line-height: var(--lh-tight);
  color: var(--text-secondary);
  letter-spacing: -0.02em;
}

@media (max-width: 767px) {
  .occa-card{
    gap: 12px;
  }
}

/* ===== [승격] 2026-08-26 / 주문서 작업 중 cart.css 에서 이동 =====
   이동하면서 이름을 .cart-summary → .pay-summary 로 바꿨다.
   장바구니와 주문서가 같은 구조의 결제 금액 박스를 쓴다. */
/* ==========================================================================
   Pay summary (결제 금액 박스)
   - 행(__row)은 페이지마다 다르게 구성한다.
       장바구니 : 상품 금액 / 즉시 할인 / 적립 예정
       주문서   : 상품 금액 / 즉시 할인 / 배송비 / 적립 예정
   - 위치(사이드바 sticky 등)는 컴포넌트가 정하지 않는다. 각 페이지 CSS 담당.
   ========================================================================== */
.pay-summary {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  padding: var(--space-32) var(--space-side);
  border: 1px solid var(--border-default);
  border-radius: 10px;
}

.pay-summary__tit {
  font-size: var(--fz-body-l);
  font-weight: 500;
  line-height: var(--lh-body);
  color: var(--text-primary);
}

.pay-summary__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.pay-summary__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
}

.pay-summary__label {
  font-size: var(--fz-body-xs);
  font-weight: 500;
  line-height: var(--lh-tight);
  color: var(--text-secondary);
}

/* 비회원 화면에서 "회원전용" 안내 문구 */
.pay-summary__only {
  margin-left: var(--space-8);
  font-size: var(--fz-caption);
  font-weight: 600;
  color: var(--brand-primary);
}

.pay-summary__value {
  font-size: var(--fz-body-s);
  font-weight: 600;
  line-height: var(--lh-tight);
  color: var(--text-primary);
  white-space: nowrap;
}

/* 혜택이 적용되지 않아 0 인 값 */
.pay-summary__value--muted {
  color: var(--text-muted);
}

.pay-summary__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
  padding: var(--space-16) 0;
  border-top: 1px solid var(--border-default);
}

.pay-summary__total-label {
  font-size: var(--fz-body-m);
  font-weight: 500;
  line-height: var(--lh-tight);
  color: var(--text-primary);
}

.pay-summary__total-value {
  font-size: var(--fz-price-m);
  font-weight: 700;
  line-height: var(--lh-tight);
  color: var(--brand-primary);
  white-space: nowrap;
}

.pay-summary__btns,
.pay-summary__guest {
  display: flex;
  flex-direction: column;
  gap: 8px; /* 토큰 대신 고정값 — 태블릿/모바일에서도 줄어들지 않게 (요청) */
}

.pay-summary__note {
  font-size: var(--fz-body-xxs); /* [수정] 2026-10-28 / xs → xxs (꽃 캘린더 문구 추가로 길어져 축소) */
  font-weight: 500;
  line-height: var(--lh-tight);
  color: var(--brand-primary);
  text-align: center;
}

@media (max-width: 767px) {
  .pay-summary__total-value {
    font-size: 20px;
  }
}
/* ===== [승격 끝] ===== */

/* ==========================================================================
   [추가] 2026-10-28 / 이벤트 공지용 안내박스 (.event-notice)
   - 꽃 캘린더 등 이벤트 안내를 여러 페이지에 같은 모양으로 넣기 위한 공통 박스
   - 사용처: 장바구니(비회원) / 예정 — 주문완료 · 회원가입 약관 동의 · 마이페이지 쿠폰함
   ========================================================================== */
.event-notice {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px; /* 토큰 대신 고정값 — 태블릿/모바일에서도 줄어들지 않게 (요청) */
  padding: 16px;
  border-radius: 8px; /* .btn · 다른 안내박스와 같은 값 */
  background-color: var(--brand-surface);
  text-align: left; /* 가운데 정렬인 부모(주문완료 히어로 등) 안에 놓여도 박스 안은 왼쪽 정렬 */
}

/* M 사이즈 — 기본(S, 패딩 16px)은 장바구니 등 작은 안내, M 은 라벨 + 제목 + 본문 + 버튼 구성(주문완료 등).
   글(__body)은 왼쪽, 버튼은 오른쪽 세로 중앙 (모바일은 아래 미디어쿼리에서 위아래로 쌓음) */
.event-notice--m {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  min-width: 500px; /* PC 최소 폭 — 문구가 짧아도 박스가 너무 좁아지지 않게 (모바일은 아래 미디어쿼리에서 해제) */
  padding: 24px; /* 토큰 대신 고정값 — 태블릿/모바일에서도 줄어들지 않게 (요청) */
}

/* M 사이즈 버튼은 라벨이 짧아도(예: 회원가입) [꽃편지 함께 받기] 와 같은 폭을 유지 */
.event-notice--m .event-notice__btn {
  min-width: 126px;
}

/* 라벨 · 제목 · 본문을 묶는 글 영역 — M 사이즈는 버튼과 가로로 놓이므로 항상 이 래퍼로 감싼다 */
.event-notice__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.event-notice--m .event-notice__body {
  gap: 8px;
}

.event-notice__label {
  font-size: var(--fz-label-s);
  font-weight: 500;
  line-height: var(--lh-tight);
  letter-spacing: 0.06em; /* 라벨 자간 (한글 기본) */
  color: var(--brand-primary-dark);
}

/* 영문 라벨(2027 FLOWER CALENDAR)은 시안처럼 자간을 더 넓게 — 마크업에 lang="en" 을 붙이면 적용 */
.event-notice__label:lang(en) {
  letter-spacing: 0.09em;
}

/* 제목은 M 구성에서만 사용 (장바구니 S 박스는 라벨 + 본문만) */
.event-notice__tit {
  font-size: var(--fz-body-s);
  font-weight: 500;
  line-height: var(--lh-tight);
  color: var(--text-primary);
  word-break: keep-all;
}

.event-notice__txt {
  font-size: var(--fz-body-xxs);
  font-weight: 400;
  line-height: var(--lh-body);
  color: var(--text-primary);
  word-break: keep-all;
}

/* 제목과 본문은 한 덩어리로 보이게 박스 gap(4px) 보다 가깝게 */
.event-notice__tit + .event-notice__txt {
  margin-top: -6px;
}

/* 문장 끝에 붙는 "자세히 ›" — 줄이 바뀌어도 한 덩어리로 넘어가게.
   앞 간격은 margin 이 아니라 마크업의 공백으로 둔다 (margin 이면 줄바꿈 시 왼쪽 라인이 안 맞음).
   간격을 넓히려면 앞 문장 끝에 &nbsp; 를 붙이고 마지막은 일반 공백으로 닫는다 : 도착합니다.&nbsp;&nbsp; <a>
   (일반 공백만 줄 맨 앞에서 사라지므로, &nbsp; 가 앞 문장 쪽에 남아 줄바꿈 후에도 라인이 맞음) */
.event-notice__link {
  font-size: var(--fz-caption);
  font-weight: 400;
  color: var(--text-muted);
  white-space: nowrap;
}

/* 박스 안 버튼 — 글자 폭에 맞춘 자동 폭 · 캡슐 모양 · 아주 연한 핑크 배경(#FEF0F1) + 로즈 테두리(#EDB4B9).
   두 색 모두 토큰에 없는 값 — base.css 가 공유 파일이라 토큰 추가 없이 직접 지정 (토큰 승격은 base.css 담당자와 협의 필요).
   <button> · <a> 모두 사용 가능. 주문완료 · 회원가입 · 쿠폰함 등 버튼이 들어가는 박스 공용 */
.event-notice__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none; /* 가로 배치에서 버튼이 줄어들지 않게 */
  min-height: 40px;
  padding: 0 var(--space-16);
  border: 1px solid #EDB4B9;
  border-radius: 999px;
  background-color: #FEF0F1;
  font-size: var(--fz-body-xxs);
  font-weight: 500;
  line-height: var(--lh-tight);
  color: var(--brand-primary);
  cursor: pointer;
}

/* M 사이즈는 모바일에서 글 위 · 버튼 아래로 쌓고 버튼은 전체 폭 */
@media (max-width: 767px) {
  .event-notice--m {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-16);
    min-width: 0;
    padding: 20px;
  }

  .event-notice--m .event-notice__btn {
    width: 100%;
    min-height: 44px; /* 전체 폭 버튼은 터치하기 편하게 높이를 조금 키움 */
  }
}
/* ===== [추가 끝] ===== */

/* ==========================================================================
   CS info (고객센터 + 기업제휴)
   ========================================================================== */
.cs-section {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-64) 0;
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: var(--space-96) var(--space-side);
}

.cs-info {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  gap: var(--space-32);
  min-width: 420px;
  padding-right: var(--space-24);
}

.cs-info__title {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.cs-info__title .section-heading {
  font-weight: 600;
}

.cs-info__number {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  width: 394px;
  max-width: 100%;
}

.cs-info__row {
  display: flex;
  gap: var(--space-48);
}

.cs-info__item {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.cs-info__label {
  font-size: var(--fz-body-l);
  font-weight: 500;
  line-height: var(--lh-tight);
  color: var(--text-secondary);
}

.cs-info__tel {
  font-size: var(--fz-heading-l);
  font-weight: 600;
  line-height: var(--lh-heading);
  color: var(--brand-primary);
}

.cs-info__item--fax .cs-info__tel {
  color: var(--text-secondary);
}

/* ===== [추가] 2026-08-10 / tel: 링크는 모바일에서만 눌리게.
   PC·Tablet 은 전화 걸기가 의미 없으므로(다이얼러가 없음) 기본은 막아두고,
   Mobile 미디어쿼리에서만 다시 풀어준다 */
.cs-info__tel a {
  pointer-events: none;
  cursor: default;
}
/* ===== [추가 끝] ===== */

/* flex 로 줄바꿈하면 새 줄이 아이콘 아래(왼쪽 끝)로 가버려서, 매달린 들여쓰기 방식으로
   변경 — 아이콘을 인라인으로 두고 text-indent 로 첫 줄만 왼쪽으로 당긴다.
   그러면 줄바꿈된 둘째 줄은 padding-left 위치(= "평일" 시작 위치)에 자연히 맞춰짐 */
.cs-info__time {
  padding-left: 22px;
  text-indent: -22px;
  font-size: var(--fz-body-xs);
  line-height: var(--lh-body);
  letter-spacing: -0.02em;
  color: var(--text-secondary);
}

.cs-info__time img {
  display: inline-block;
  margin-right: 6px;
  vertical-align: -3px;
}

/* 자리가 모자라면 "주말 및 공휴일..." 구간이 중간에서 잘리지 않고
   통째로 다음 줄로 내려가도록 (위 flex-wrap 과 함께 동작) */
.cs-info__time-weekend {
  white-space: nowrap;
}

/* ==========================================================================
   [추가] 2026-08-04 / 플로팅메뉴 (Figma: component > floating menu)
   - 화면 우하단 고정
   ========================================================================== */
.floating-menu {
  position: fixed;
  /* ===== [수정] 2026-08-07 / 화면 가장자리에 더 붙도록 여백을 --space-side 의 절반으로 ===== */
  right: calc(var(--space-side) / 2);
  /* ===== [수정] 2026-08-10 / 아이폰 하단 라운드(홈 인디케이터) 영역과 겹쳐서 6px 더 올림 ===== */
  bottom: calc(var(--space-side) / 2 + 6px);
  /* ===== [수정 끝] ===== */
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(24px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
}

.floating-menu.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-menu__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px;
  min-height: 80px;
  border: 1.2px solid var(--border-default);
  border-radius: 100px;
  background: var(--base-white);
  cursor: pointer;
}

/* 최근 본 상품은 아이콘·라벨·리스트가 한 캡슐 안에 들어가므로
   높이 가변적 */
.floating-menu__recent {
  gap: 9px;
  padding-top: 16px;
}

/* 리스트 접었을 때 캡슐 중앙에 맞춤 */
.floating-menu__recent.is-collapsed {
  padding-top: 0;
}

.floating-menu__recent[hidden] {
  display: none;
}

.floating-menu__recent-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  border: 0;
  background: none;
  font-family: inherit;
  cursor: pointer;
}

.floating-menu__recent-container[hidden] {
  display: none;
}

.floating-menu__label {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: -0.6px;
  color: var(--text-primary);
  white-space: nowrap;
}

.floating-menu__recent-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  width: 80px;
  padding-bottom: 16px;
}

.floating-menu__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 4px 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.floating-menu__arrow[hidden] {
  display: none;
}

.floating-menu__arrow-icon--next {
  transform: rotate(180deg);
}

.floating-menu__recent-viewport {
  overflow: hidden;
  width: 62px;
  height: 194px;
}

.floating-menu__recent-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform 0.3s ease;
}

.floating-menu__recent-item img {
  width: 62px;
  height: 62px;
  border-radius: 100px;
  object-fit: cover;
}

.floating-menu__btn--cart img,
.floating-menu__btn--top img {
  flex-shrink: 0;
}

/* ===== [수정] 2026-08-07 / 최근본상품·장바구니를 숨기는 기준을 프로젝트 기본
   Tablet 분기(1099px)가 아니라 이 컴포넌트 전용 1440px 로 변경. floating-menu 만의
   예외 기준이며, 3단계 반응형 체계(base.css 토큰)에는 영향 없음 */
@media (max-width: 1439px) {
  .floating-menu__recent,
  .floating-menu__btn--cart {
    display: none;
  }

  .floating-menu__btn--top {
    width: 48px;
    min-height: 48px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(6px);
  }

  .floating-menu__btn--top img {
    width: 16px;
    height: 17px;
  }
}

/* ----- 기업제휴 배너 ----- */
.partners {
  position: relative;
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  align-items: flex-start;
  height: 220px;
  min-width: 300px;
  max-width: 420px;
  padding: var(--space-24);
  border-radius: 8px;
  background: url('../images/common/banner/partners.png') center / cover no-repeat;
  overflow: hidden;
}

.partners::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(179.57deg, rgba(255, 255, 255, 0.1) 7.88%, rgba(235, 235, 235, 0) 128.58%);
}

/* ===== [수정] 2026-09-18 / h3 → p → 래퍼 태그 제거 (텍스트를 순수 텍스트 노드로) ===== */
.partners__txt {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: var(--fz-body-xl);
  font-weight: 600;
  line-height: var(--lh-heading);
  color: var(--text-primary);
}
/* ===== [수정 끝] ===== */

.partners__txt span {
  font-size: var(--fz-body-m);
  font-weight: 400;
  line-height: var(--lh-body);
}

/* ===== [추가] 2026-08-04 / .event-banner 기본 배경 = 패밀리 멤버십
   페이지마다 다른 배너를 쓰고 싶으면 그 페이지 CSS에서 .event-banner--xxx modifier 로 덮어씀
   (index 는 .event-banner--oneday 로 덮어쓰는 중).  */
.event-banner {
  position: relative;
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  align-items: flex-start;
  height: 220px;
  min-width: 300px;
  max-width: 420px;
  padding: var(--space-24);
  border-radius: 8px;
  background: var(--base-gray) url('../images/common/banner/event-banner-membership.png') center / cover no-repeat;
  background-position: bottom;
  overflow: hidden;
}
/* ===== [추가 끝] ===== */

.event-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(179.57deg, rgba(255, 255, 255, 0.1) 7.88%, rgba(235, 235, 235, 0) 128.58%);
}

/* ===== [수정] 2026-09-18 / h3 → p → 래퍼 태그 제거 (텍스트를 순수 텍스트 노드로) ===== */
.event-banner__txt {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--base-white);
  font-size: var(--fz-body-xl);
  font-weight: 600;
  line-height: var(--lh-heading);
}
/* ===== [수정 끝] ===== */

.event-banner__txt span {
  font-size: var(--fz-body-m);
  font-weight: 400;
  line-height: var(--lh-body);
}

/* ===== [추가] 2026-08-04 / .partners-list — 기업제휴+이벤트 배너를 나란히 2열로
   배치할 때 쓰는 래퍼. index.css 에 페이지 전용으로 있던 걸 여러 페이지에서 재사용할
   수 있도록 이동 (220px 정사각형 고정, 페이지별 이벤트 배경은 각 page.css 의
   .event-banner--xxx modifier 로 지정) ===== */
.partners-list {
  display: flex;
  align-items: center;
  gap: 12px;
}

.partners-list .partners,
.partners-list .event-banner {
  flex: none;
  width: 220px;
  height: 220px;
  min-width: 0;
  max-width: none;
  padding: 16px;
}
/* ===== [추가 끝] ===== */

/* ==========================================================================
   서비스 바로가기 (cs-info 아래, footer 위)
   ========================================================================== */
.service-tab {
  width: 100%;
  padding: var(--space-12) 0;
  border-top: 1px solid var(--border-default);
}

/* cs-section(common.css) · footer__inner(common.css)과 동일한
   max-width + margin auto + padding-side 조합으로 좌우 끝을 맞춤 */
.service-tab__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-48);
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-side);
}

.service-tab__link {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  font-size: var(--fz-label-title);
  font-weight: 500;
  line-height: var(--lh-tight);
  color: var(--text-secondary);
  white-space: nowrap;
}

/* ==========================================================================
   전자계산서 및 현금영수증 신청 팝업 (Figma: node-id=1354-30043)
   - 껍데기는 order.css 의 .order-modal 패턴(딤 + 패널 + 우상단 닫기 + 스크롤 본문)을
     그대로 따르되, 다른 페이지 CSS라 가져다 쓸 수 없어 이 페이지 전용 클래스로 새로 만듦
   ========================================================================== */
.receipt-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-24);
}

.receipt-modal[hidden] {
  display: none;
}

.receipt-modal__dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.receipt-modal__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 654px;
  max-height: 90vh;
  overflow: hidden;
  border-radius: var(--space-12);
  background: var(--base-white);
}

/* 닫기(×) — order-modal__close와 동일하게 이미지 없이 두 선을 회전시켜 그림 */
.receipt-modal__close {
  position: absolute;
  top: var(--space-24);
  right: var(--space-24);
  z-index: 1;
  width: 34px;
  height: 34px;
}

.receipt-modal__close::before,
.receipt-modal__close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 1px;
  background: var(--text-primary);
}

.receipt-modal__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.receipt-modal__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* 제목(.receipt-modal__tit)·닫기(.receipt-modal__close)는 패널에 고정, 이 영역만 스크롤.
   flex 컬럼 안에서는 min-height:0 이 없으면 overflow-y 가 동작하지 않는다
   (order.css의 .order-modal__body와 동일한 이유 — 상단 주석 참고) */
.receipt-modal__body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
  overflow-y: auto;
  padding: var(--space-8) var(--space-side) var(--space-side);
}

.receipt-modal__tit {
  flex-shrink: 0;
  padding: 40px var(--space-side) 16px;
  font-size: var(--fz-body-xl);
  font-weight: 600;
  line-height: var(--lh-tight);
  color: var(--text-primary);
}

.receipt-modal__intro {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.receipt-modal__types {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8) 12px;
}

.receipt-modal__notice-box {
  padding: 14px ;
  border-radius: 8px;
  background: var(--base-gray);
}

.receipt-modal__notice {
  font-size: var(--fz-body-xxs);
  line-height: var(--lh-body);
  color: var(--text-secondary);
}

/* 자주 묻는 질문(FAQ) 링크 — 아직 없는 페이지라 href="#" 상태.
   페이지 생기면 href만 교체하면 되도록 별도 클래스 없이 notice 안 a 로 스코프 */
.receipt-modal__notice a {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

.receipt-modal__fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.receipt-modal__set {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.receipt-modal__set[hidden] {
  display: none;
}

/* 현금영수증(개인)은 추가 입력 필드가 없어 항상 빈 div — flex gap 이중으로
   잡히지 않도록 hidden 해제돼도 레이아웃에서 아예 빠지게 함 */
.receipt-modal__set[data-receipt-fields="cash-personal"] {
  display: none;
}

.receipt-modal__field {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.receipt-modal__label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fz-body-s);
  font-weight: 500;
  line-height: var(--lh-tight);
  color: var(--text-primary);
}

.receipt-modal__req {
  font-size: var(--fz-body-xs);
  color: var(--brand-primary);
}

.receipt-modal__label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

/* ----- 주문번호 확인 방법 : 빨간 원 물음표 → 호버/포커스 시 툴팁 ----- */
.receipt-modal__tip {
  position: relative;
  flex-shrink: 0;
}

.receipt-modal__tip-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-primary);
  font-size: var(--fz-caption);
  font-weight: 700;
  color: var(--base-white);
}

.receipt-modal__tip-panel {
  display: none;
  position: absolute;
  top: calc(100% + var(--space-8));
  right: 0;
  z-index: 1;
  width: max-content;
  max-width: 260px;
  padding: var(--space-16);
  border-radius: 8px;
  background: var(--base-white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  text-align: left;
}

.receipt-modal__tip:hover .receipt-modal__tip-panel,
.receipt-modal__tip:focus-within .receipt-modal__tip-panel {
  display: block;
}

.receipt-modal__tip-tit {
  margin-bottom: var(--space-8);
  font-size: var(--fz-body-xxs);
  font-weight: 500;
  color: var(--text-primary);
}

.receipt-modal__tip-list {
  display: flex;
  flex-direction: column;
  font-size: var(--fz-caption);
  line-height: var(--lh-body);
  color: var(--text-secondary);
}

.receipt-modal__split {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

/* ===== [수정] 2026-09-18 / iOS 셀렉트 높이 버그로 연락처 지역번호 select 가
   .form-input → .form-select 로 바뀌면서 이 규칙에도 같이 걸리게 함
   (안 걸리면 .form-select 의 width:100% 때문에 3칸 균등폭이 깨짐) ===== */
.receipt-modal__split .form-input,
.receipt-modal__split .form-select {
  flex: 1;
  min-width: 0;
}
/* ===== [수정 끝] ===== */

.receipt-modal__split span {
  flex-shrink: 0;
  color: var(--text-muted);
}

/* ----- 개인정보 수집·이용 안내 아코디언 (기본 펼침) ----- */
.receipt-modal__privacy-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: var(--fz-body-s);
  color: var(--text-primary);
  font-weight: 500;
}

.receipt-modal__privacy-toggle [data-receipt-privacy-label] {
  font-size: var(--fz-caption);
  color: var(--text-muted);
  text-decoration: underline;
}

.receipt-modal__privacy-body {
  margin-top: 16px;
  padding: 20px 14px;
  border-radius: 8px;
  background: var(--base-gray);
  font-size: var(--fz-caption);
  line-height: var(--lh-body);
  color: var(--text-secondary);
}

.receipt-modal__privacy-body[hidden] {
  display: none;
}

.receipt-modal__agree .form-check__label {
  color: var(--text-secondary);
}

/* 위 안내문(.receipt-modal__privacy)에 대한 동의라는 게 보이도록,
   .receipt-modal__body 의 기본 gap(32)보다 좁게 붙인다 (효과 간격 = --space-8) */
.receipt-modal__agree {
  margin-top: calc( 14px - 32px);
}

/* 팝업이 열린 동안 뒤쪽 페이지 스크롤 잠금 (order.css의 body.is-modal-open과 동일 패턴) */
body.is-modal-open {
  overflow: hidden;
  /* ===== [추가] 2026-11-03 / 팝업이 열려 세로 스크롤바가 사라질 때 페이지가 오른쪽으로 밀리는 것 방지 =====
     스크롤바가 있던 폭(--scrollbar-w, js/common.js initScrollbarWidth 가 측정)만큼 오른쪽 여백을 줘 자리를 그대로 둠.
     스크롤바가 없는 환경(모바일 등)은 0 이라 영향 없음 */
  padding-right: var(--scrollbar-w, 0px);
  /* ===== [추가 끝] ===== */
}

/* ===== [추가] 2026-09-18 / 전자계산서·현금영수증 팝업 모바일 전용 —
   PC/Tablet 은 딤 + 가운데 카드, Mobile 은 .search-mo 처럼 딤 없이
   풀스크린으로 채운다 (service-tab 을 common 으로 승격하며 함께 정리).
   index.css 에 페이지 전용으로 먼저 있던 것을 그대로 승격해왔다 — 그쪽에
   2026-09-03 에 남겨진 수정 이유를 그대로 따른다 : height:100% 로 무조건
   화면을 채우면 입력폼이 짧은 경우(현금영수증) 신청하기 버튼 아래로 빈
   여백이 남아서, height 는 주지 않고 max-height 로 상한만 둔다 ===== */
@media (max-width: 767px) {
  .receipt-modal {
    padding: 0;
  }

  .receipt-modal__dim {
    display: none;
  }

  .receipt-modal__panel {
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    border-radius: 0;
  }

  .receipt-modal__body {
    max-height: none;
    gap: 24px;
  }
}
/* ===== [추가 끝] ===== */


@media (max-width: 767px) {
  .cs-info {
    min-width: 100%;
    padding-right: 0;
  }

  .cs-info__number {
    width: 100%;
  }

  /* ===== [추가] 2026-08-10 / Mobile 에서만 tel: 링크 클릭 허용 ===== */
  .cs-info__tel a {
    pointer-events: auto;
    cursor: pointer;
  }
  /* ===== [추가 끝] ===== */

  .partners {
    max-width: none;
    min-width: 100%;
    height: 140px;
  }

  .event-banner {
    max-width: none;
    min-width: 100%;
    height: 140px;
  }

  /* ===== [추가] 2026-08-04 / .partners-list 모바일 (index.css 에서 이동) ===== */
  .partners-list {
    width: 100%;
  }

  .partners-list .partners,
  .partners-list .event-banner {
    width: calc(50% - 6px);
    height: auto;
    aspect-ratio: 1 / 1;
    padding: 12px;
  }

  /* ===== [수정] 2026-09-18 / partners__txt, event-banner__txt 모두 래퍼 태그 제거로 자기 자신에 적용 ===== */
  .partners-list .partners__txt,
  .partners-list .event-banner__txt {
    font-size: 16px;
  }
  /* ===== [수정 끝] ===== */

  .partners-list .partners__txt span,
  .partners-list .event-banner__txt span {
    font-size: 12px;
  }
  /* ===== [추가 끝] ===== */
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  width: 100%;
  padding: var(--space-64) 0 var(--space-32);
  background: var(--base-surface);
}

.footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-48);
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-side);
}

.footer__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 700px;
}

.footer__policy {
  display: flex;
  gap: 12px;
  font-size: 13px;
  line-height: var(--lh-body);
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.footer__company {
  display: flex;
  flex-wrap: wrap;
  gap: 0 4px;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 400;
  font-style: normal;
  line-height: var(--lh-body);
  color: var(--text-secondary);
}

/* 항목 사이 구분자 */
.footer__company > span::after {
  content: '  |';
  white-space: pre;
}

.footer__company span.is-last::after {
  content: '';
}

.footer__trust {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0.6;
}

.footer__trust img {
  height: 30px;
  width: auto;
  mix-blend-mode: multiply;
}

.footer__links {
  display: flex;
  gap: var(--space-64);
  flex-shrink: 0;
  color: var(--text-primary);
}

.footer__col-tit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  width: 100%;
  margin-bottom: var(--space-24);
  font-size: 13px;
  font-weight: 600;
  line-height: var(--lh-heading);
  text-align: left;
  cursor: default;
  color: var(--text-secondary);
}

/* toggle-btn(use=open) 을 열림 상태에서 45deg 회전시켜 use=close 모양(X)을 재현 */
.footer__col-icon {
  display: none;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background: url('../images/common/icon/icon-toggle-open.svg') center / 10px 10px no-repeat;
  transition: transform 0.2s ease;
}

.footer__col-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  font-size: 13px;
  line-height: var(--lh-body);
  color: var(--text-secondary);
  font-weight: 400;
  margin: 8px 0 ;
}

/* ----- Tablet · Mobile : 링크 컬럼을 아코디언으로 ----- */
@media (max-width: 1099px) {
  .footer__inner {
    flex-direction: column;
    gap: var(--space-48);
  }

  /* 아코디언을 회사정보 위로 */
  .footer__links {
    order: -1;
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .footer__info {
    max-width: none;
    width: 100%;
    gap: 14px;
  }

  .footer__col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    padding: var(--space-24) 0;
    border-bottom: 1px solid var(--border-default);
  }

  .footer__col-tit {
    margin-bottom: 0;
    cursor: pointer;
  }

  .footer__col-icon {
    display: block;
  }

  .footer__col-list {
    display: none;
  }

  .footer__col.is-open .footer__col-list {
    display: flex;
  }

  .footer__col.is-open .footer__col-icon {
    transform: rotate(45deg);
  }
}

@media (max-width: 767px) {
  .footer__trust img {
    height: 24px;
  }
  
  .service-tab__list {
  padding: 8px var(--space-side) ;

}
/* ===== [수정] 2026-10-28 / 빠져 있던 @media (max-width: 767px) 닫는 괄호 추가 — 없으면 이 뒤에 붙는 스타일이 전부 모바일 전용이 됨 ===== */
}


/* ==========================================================================
   ★★★ 이벤트 전용 팝업 — 2027 꽃 캘린더 / 꽃편지 수신 동의 (맨 아래에 모아 둠) ★★★
   - 이 이벤트가 끝나거나 문구 · 스타일을 고칠 때 이 블록만 보면 되도록 일부러 파일 맨 아래에 따로 뺐다.
   - 클래스 이름은 .event-modal : 껍데기(딤 · 패널 · × · 제목 · 버튼)는 이 이벤트뿐 아니라 다른 이벤트 팝업(리뷰 · 포인세티아 등)도
     같이 쓰도록 일부러 "이벤트"로 지음. 꽃편지에만 해당하는 것은 data-letter-* 속성과 문구 2벌(data-letter-when).
   - 마크업 : event-flowercalendar.html 안의 "꽃편지 수신 동의 팝업" 블록 (줄 번호는 event-modal-preview.html 참고) / 동작 : js/common.js 맨 아래 "이벤트 전용 팝업" 블록 (initLetterModal)
   - 껍데기(딤 · 흰 패널 · 우상단 ×)는 위 .receipt-modal 과 같은 규칙, 버튼은 공통 .btn / .btn--neutral 을 그대로 씀.
     이벤트 컬러(분홍 · 세리프)는 쓰지 않음 — 장바구니 · 주문완료 · 쿠폰함 등 다른 페이지에서도 어울리도록.
   - 단계 4종 : consent(동의) / done(동의 완료) / login(로그인 안내) / already(이미 동의)
   - 문구 2벌 : [data-letter-when="2026"] = 12월(~12/31) 문구, [data-letter-when="2027"] = 2027년(1/1~) 문구.
     팝업 루트의 data-letter-phase 값(2026 | 2027)에 따라 한쪽만 보임.
   ========================================================================== */
/* ===== [추가] 2026-11-02 / 꽃편지 팝업 공통화 (이벤트 페이지 전용 .fc-modal 을 공통으로 승격) ===== */
.event-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-24);
}

.event-modal[hidden] {
  display: none;
}

.event-modal__dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.event-modal__panel {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--space-36) var(--space-side) var(--space-32);
  border-radius: var(--space-12);
  background: var(--base-white);
}

/* 닫기(×) — .receipt-modal__close 와 같이 이미지 없이 두 선을 회전시켜 그림 */
.event-modal__close {
  position: absolute;
  top: var(--space-24);
  right: var(--space-24);
  width: 34px;
  height: 34px;
}

.event-modal__close::before,
.event-modal__close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 1px;
  background: var(--text-primary);
}

.event-modal__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.event-modal__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.event-modal__step {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.event-modal__step[hidden] {
  display: none;
}

.event-modal__tit {
  font-size: var(--fz-body-l);
  font-weight: 600;
  line-height: var(--lh-tight);
  color: var(--text-primary);
}

.event-modal__lead {
  font-size: var(--fz-body-s);
  line-height: var(--lh-body);
  color: var(--text-primary);
  /* 단어 중간에서 끊기지 않게("받아보세/요." 방지) 하고, 줄이 넘칠 때는 두 줄 길이를 고르게 나눔 */
  word-break: keep-all;
  text-wrap: balance;
}

/* [삭제] 2026-11-09 / .event-modal__info(받는 곳 · 보내는 날 · 담기는 내용 표) — 1105 최종시안에서 표 삭제 */

.event-modal__note,
.event-modal__stamp {
  font-size: var(--fz-caption);
  line-height: var(--lh-body);
  color: var(--text-muted);
}

.event-modal__btns {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-8);
  margin-top: var(--space-8);
}

.event-modal__btns--single {
  grid-template-columns: 1fr;
}

/* 버튼 두 개가 같은 무게일 때(회원가입 · 로그인) 반반 */
.event-modal__btns--half {
  grid-template-columns: 1fr 1fr;
}

.event-modal__btns .btn {
  width: 100%;
  padding-left: var(--space-12);
  padding-right: var(--space-12);
}

.event-modal__btns .btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* 12월 / 2027년 문구 2벌 : data-letter-phase 와 다른 쪽은 숨김 */
.event-modal[data-letter-phase="2026"] [data-letter-when="2027"],
.event-modal[data-letter-phase="2027"] [data-letter-when="2026"] {
  display: none;
}
/* ===== [추가 끝] ===== */

/* ===== [수정] 2026-11-09 / 꽃편지 수신 동의 팝업 : 체크박스 1개 → 전체 동의 + 선택 3항목 (1105 최종시안) =====
   - 받는 곳 · 보내는 날 · 담기는 내용 표(.event-modal__info)는 삭제 (아래 [삭제] 참고)
   - 선택 3항목은 접힌 채 시작 → "보기"로 펼침. 항목 문구는 한 줄 … 처리, 누르면 전체 문장 + 상세가 펼쳐짐
   - 11px 은 시안 절대값 : 한 줄에 들어가도록 일부러 토큰(--fz-caption, 모바일 11px)이 아닌 고정값 */
.event-modal__checks {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  padding: var(--space-12) 0;
  border-top: 1px solid var(--border-default);
  border-bottom: 1px solid var(--border-default);
}

/* 문구가 두 줄로 넘어가도 체크 네모는 첫 줄 높이에 맞춤 */
.event-modal__checks .form-check__label {
  align-items: flex-start;
  word-break: keep-all;
}

.event-modal__checks .form-check__box {
  margin-top: 3px;
}

.event-modal__allrow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-8);
}

.event-modal__all .form-check__label {
  font-size: var(--fz-body-xs);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.event-modal__fold,
.event-modal__view {
  flex-shrink: 0;
  width: 32px;
  padding-top: 1px;
  font-size: var(--fz-caption);
  color: var(--text-secondary);
  text-decoration: underline;
  text-align: right;
  white-space: nowrap;
}

.event-modal__allsub {
  margin-left: 24px;
  font-size: 13px;
  line-height: var(--lh-body);
  letter-spacing: -0.03em;
  color: var(--text-muted);
  word-break: keep-all;
  white-space: nowrap;
}

/* hidden 속성으로 접고 펼치므로 display 는 여기서만 지정하고 [hidden] 을 따로 막아 둔다 */
.event-modal__items {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.event-modal__items[hidden] {
  display: none;
}

.event-modal__item {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
}

/* 체크 네모만 라벨 — 문구는 버튼(.event-modal__txt)이라 눌러도 체크되지 않고 펼쳐지기만 함 */
/* 누르는 영역 30×30 (네모 18px + 투명 여백). 늘린 만큼 음수 margin 으로 되돌려 보이는 위치·줄 간격은 그대로 */
.event-modal__box {
  display: inline-flex;
  flex-shrink: 0;
  padding: 6px 6px 3px;
  margin: -3px -6px -3px;
  cursor: pointer;
}

.event-modal__item .form-check__input:checked + .event-modal__box .form-check__box {
  border-color: var(--brand-primary);
  background: var(--brand-primary);
}

.event-modal__item .form-check__input:checked + .event-modal__box .form-check__box::after {
  opacity: 1;
}

.event-modal__item .form-check__input:focus-visible + .event-modal__box .form-check__box {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

.event-modal__txt {
  flex: 1;
  min-width: 0;
  margin-right: 4px;
  text-align: left;
  font-size: var(--fz-body-xs);
  line-height: var(--lh-body);
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: keep-all;
  cursor: pointer;
}

.event-modal__txt[aria-expanded="true"] {
  white-space: normal;
  overflow: visible;
}

.event-modal__txt b {
  font-weight: 600;
}

.event-modal__view {
  line-height: var(--lh-body);
}

.event-modal__detail {
  flex-basis: 100%;
  margin: 2px 0 2px 24px;
  padding: 10px 12px;
  border-radius: 6px;
  background: var(--base-surface);
}

.event-modal__detail[hidden] {
  display: none;
}

.event-modal__detail p,
.event-modal__detail dl {
  font-size: 12px;   /* 시안 절대값 */
  line-height: var(--lh-body);
  color: var(--text-secondary);
  word-break: keep-all;
}

.event-modal__detail-head {
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--text-primary);
}

.event-modal__detail dl {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 4px 8px;
}

.event-modal__detail dt {
  color: var(--text-muted);
}

.event-modal__detail dd {
  color: var(--text-primary);
}

/* 꽃편지 발송 조건 안내 — 본문색 · 굵게 · 한 줄 유지 */
.event-modal__note--em {
  font-size: var(--fz-body-xxs);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  white-space: nowrap;
}

/* 좁은 화면에서는 한 줄 고정을 풀어 팝업 밖으로 넘치지 않게 함 */
@media (max-width: 767px) {
  .event-modal__all .form-check__label,
  .event-modal__allsub,
  .event-modal__note--em {
    white-space: normal;
  }
}
/* ===== [수정 끝] ===== */

/* ==========================================================================
   '오픈 준비중' 토스트 (맨 아래에 모아 둠)
   - 마크업은 js/common.js 의 initComingSoon() 이 만들어 body 끝에 붙임 (HTML 에는 없음).
   - 트리거 : 링크에 [data-coming-soon] 속성 (현재 헤더 '콘텐츠' 3곳).
   - 위치 : 기본은 헤더 아래 가운데(top 은 JS 가 계산). 모바일 전체메뉴가 열려 있으면 .is-bottom 으로 하단 가운데.
   - 아이콘은 이미지 태그 대신 ::before 배경으로 처리 — 정적 페이지 / PHP 서버 어디서 열어도 경로가 같게(css 파일 기준 상대경로).
   ========================================================================== */
/* ===== [추가] 2026-11-17 / 헤더 '콘텐츠' 오픈 준비중 토스트 ===== */
.toast {
  position: fixed;
  left: 50%;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: var(--space-12);
  max-width: calc(100% - var(--space-side) * 2);
  padding: var(--space-16) var(--space-24);
  border: 1px solid var(--border-default);
  border-radius: var(--space-12);
  background: var(--base-white);
  color: var(--text-primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  font-family: var(--font-base-family);
  word-break: keep-all;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-active {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* 시계 아이콘 (icon-time.svg) */
.toast::before {
  content: '';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: url('../images/common/icon/icon-time.svg') center / contain no-repeat;
}

.toast__txt {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toast__tit {
  font-size: var(--fz-body-xs);
  font-weight: 600;
  line-height: var(--lh-tight);
}

.toast__sub {
  font-size: var(--fz-caption);
  line-height: var(--lh-tight);
  color: var(--text-secondary);
}

@media (prefers-reduced-motion: reduce) {
  .toast {
    transition: none;
  }
}

/* 모바일 전체메뉴가 열려 있을 때만 하단 (태블릿 이상에서는 전체메뉴 오버레이가 없음) */
@media (max-width: 767px) {
  .toast.is-bottom {
    top: auto;
    bottom: calc(var(--space-24) + env(safe-area-inset-bottom));
    transform: translate(-50%, 8px);
  }

  .toast.is-bottom.is-active {
    transform: translate(-50%, 0);
  }
}
/* ===== [추가 끝] ===== */
