
/* ─────────────────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  color: #544e48;
  background: #fff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}


/* ─────────────────────────────────────────────────────
   LAYOUT HELPERS
───────────────────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.row {
  display: flex;
  flex-wrap: wrap;
}


/* ─────────────────────────────────────────────────────
   TOP BAR
───────────────────────────────────────────────────── */
.top-bar {
  background: #f4e7e0;
  font-size: 12px;
  color: #a7896a;
  letter-spacing: 0.08em;
  text-align: right;
  padding: 6px 30px;
}

.top-bar a {
  color: #a7896a;
}

.top-bar a:hover {
  color: #3c3834;
}


/* ─────────────────────────────────────────────────────
   HEADER / NAVIGATION
───────────────────────────────────────────────────── */
#header {
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .07);
  position: relative;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 30px;
}

.logo img {
  height: 54px;
  width: auto;
  display: block;
}

nav ul {
  display: flex;
  gap: 0;
}

nav ul li {
  position: relative;
}

nav ul li a {
  display: block;
  padding: 4px 18px;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: #3c3834;
  transition: color .2s;
}

nav ul li a:hover {
  color: #a7896a;
}

nav ul li.active > a {
  color: #a7896a;
}

/* ── 헤더 nav 소셜 아이콘 (유튜브·인스타) — PC 전용 ── */
nav ul li.nav-social { display: flex; align-items: center; }
nav ul li.nav-social:first-of-type { margin-left: 6px; }
nav ul li.nav-social .nav-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 7px;
  color: #3c3834;
  transition: color .2s, transform .15s;
}
nav ul li.nav-social .nav-social-link:hover { color: #a7896a; transform: translateY(-1px); }
nav ul li.nav-social .nav-social-link svg { width: 24px; height: 24px; display: block; }

/* 이미지 버튼(월드플로라·꽃사) */
nav ul li.nav-social-btn .nav-social-btn-link {
  display: inline-flex;
  align-items: center;
  padding: 4px 4px;
  transition: transform .15s;
}
nav ul li.nav-social-btn .nav-social-btn-link:hover { transform: translateY(-1px); }
nav ul li.nav-social-btn .nav-social-btn-link img { height: 20px; width: auto; display: block; }

/* ── 1차 nav 링크 수직 패딩 (드롭다운과의 간격) ── */
nav > ul > li > a {
  padding: 20px 30px;
}

/* ── 2차 드롭다운 ─────────────────────────── */
nav ul li ul {
  display: none;
  position: absolute;
  top: 100%;          /* 1차 li 하단에 바로 붙임 — 패딩으로 공간 확보 */
  left: 0;
  min-width: 170px;
  background: #fff;
  flex-direction: column;
  z-index: 200;
  /* overflow: visible — 3차 플라이아웃이 잘리지 않도록 hidden 미사용 */
}

nav ul li:hover > ul {
  display: flex;
  animation: navDropIn .15s ease both;
}

@keyframes navDropIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 2차 항목 공통 */
nav ul li ul li {
  position: relative;
}

nav ul li ul li a {
  padding: 11px 20px;
  font-size: 13px;
  border-bottom: 1px solid #f0ece6;
  transition: background .15s, color .15s;
  white-space: nowrap;
}

nav ul li ul li:last-child > a {
  border-bottom: none;
}

nav ul li ul li > a:hover {
  background: #f8f5f2;
}

/* ── 3차 드롭다운 (2차 우측 플라이아웃) ──── */
nav ul li ul li ul {
  display: none;
  position: absolute;
  top: 0;
  left: calc(100% + 4px); /* 2차와 4px 간격 */
  min-width: 160px;
  background: #fff;
  flex-direction: column;
  z-index: 201;
}

/* 2차→3차 gap 위로 마우스가 지나갈 때 hover 끊김 방지 투명 브릿지 */
nav ul li ul li ul::before {
  content: '';
  position: absolute;
  top: 0;
  left: -4px;
  width: 4px;
  height: 100%;
}

nav ul li ul li:hover > ul {
  display: flex;
  animation: navFlyIn .15s ease both;
}

@keyframes navFlyIn {
  from { opacity: 0; transform: translateX(6px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* 2차에 3차가 있으면 화살표 표시 */
nav ul li ul li:has(> ul) > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul li ul li:has(> ul) > a::after {
  content: '›';
  font-size: 15px;
  line-height: 1;
  opacity: 0.4;
  transition: opacity .15s, transform .15s;
  flex-shrink: 0;
  margin-left: 10px;
}

nav ul li ul li:has(> ul):hover > a::after {
  opacity: 0.8;
  transform: translateX(2px);
}

.header-cart {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #3c3834;
  font-weight: 700;
  letter-spacing: .05em;
  cursor: pointer;
  text-decoration: none;
  transition: opacity .2s;
}
.header-cart:hover { opacity: .75; }

.header-cart-inner {
  position: relative;
  display: flex;
  align-items: center;
}

.header-cart svg {
  width: 22px;
  height: 22px;
}

/* A/B 라벨 배지 */
.cart-week-badge {
  position: absolute;
  bottom: -5px;
  right: -9px;
  min-width: 16px;
  height: 15px;
  padding: 0 4px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.5px;
  white-space: nowrap;
  border: 2px solid #fff;
}
.cart-week-badge-a {
  background: #3B1F82;
  color: #fff;
}
.cart-week-badge-b {
  background: #7a4e28;
  color: #fff;
}

/* A/B 카트 호버 색상 */
.header-cart-a { color: #3B1F82; }
.header-cart-b { color: #7a4e28; }

.cart-count {
  background: #a7896a;
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
}
.header-cart-a .cart-count { background: #3B1F82; }
.header-cart-b .cart-count { background: #7a4e28; }


/* ─────────────────────────────────────────────────────
   HEADER SEARCH
───────────────────────────────────────────────────── */
.header-search {
  position: relative;
  display: flex;
  align-items: center;
}

.header-search-icon {
  display: flex;
  align-items: center;
  color: #3c3834;
  cursor: pointer;
  transition: color .2s;
  line-height: 1;
}

.header-search-icon:hover {
  color: #a7896a;
}

.header-search-icon svg {
  width: 20px;
  height: 20px;
}

.header-search-box {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #ddd0c5;
  width: 220px;
}

.header-search-box input {
  flex: 1;
  border: none;
  outline: none;
  padding: 7px 12px;
  font-size: 13px;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  color: #3c3834;
  background: transparent;
  min-width: 0;
}

.header-search-box input::placeholder {
  color: #b0a090;
  font-size: 12px;
}
/* webkit 기본 검색 취소(X) 버튼 제거 */
.header-search-box input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }

/* 검색 폼 */
.header-search-form { display: flex; align-items: center; }

/* 검색 아이콘 버튼 — 입력창 오른쪽 안에 위치 */
button.header-search-icon {
  background: none;
  border: none;
  border-left: 1px solid #e8dfd6;
  padding: 0 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #888;
  transition: color .2s;
  flex-shrink: 0;
}
button.header-search-icon:hover { color: #3B1F82; }

/* 자동완성 드롭다운 */
.header-search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e0d6cc;
  border-radius: 6px;
  box-shadow: 0 8px 28px rgba(0,0,0,.12);
  z-index: 9999;
  overflow: hidden;
}
.header-search-dropdown[hidden] { display: none; }

.hs-drop-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  cursor: pointer;
  transition: background .15s;
  text-decoration: none;
  color: inherit;
}
.hs-drop-item:hover,
.hs-drop-item.is-active { background: #f8f4f0; }

.hs-drop-thumb {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  background: #f0ece6;
}
.hs-drop-thumb-placeholder {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: #f0ece6;
  flex-shrink: 0;
}
.hs-drop-info { flex: 1; min-width: 0; }
.hs-drop-name {
  font-size: 12px;
  font-weight: 500;
  color: #22112E;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hs-drop-name mark {
  background: none;
  color: #3B1F82;
  font-weight: 700;
}
.hs-drop-price {
  font-size: 11px;
  color: #888;
  margin-top: 1px;
}
.hs-drop-week {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 600;
  flex-shrink: 0;
}
.hs-drop-week-A { background: #ede8fb; color: #3B1F82; }
.hs-drop-week-B { background: #fde8f0; color: #a0295a; }

.hs-drop-all {
  display: block;
  padding: 9px 14px;
  font-size: 12px;
  color: #3B1F82;
  font-weight: 600;
  border-top: 1px solid #f0ece6;
  text-align: center;
  cursor: pointer;
  background: #faf8ff;
  text-decoration: none;
}
.hs-drop-all:hover { background: #f0eaff; }
.hs-drop-empty {
  padding: 16px 14px;
  font-size: 12px;
  color: #aaa;
  text-align: center;
}


/* ─────────────────────────────────────────────────────
   HERO SLIDER
───────────────────────────────────────────────────── */
.hero-slider {
  position: relative;
  width: 100%;
  height: 860px;
  overflow: hidden;
  background: #1a1a1a;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 20, 10, 0.30);
}

.slide-content {
  position: relative;
  z-index: 2;
  padding: 0 80px;
  max-width: 780px;
}

.slide-content.center {
  margin: 0 auto;
  text-align: center;
}

.slide-label {
  display: inline-block;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(167, 137, 106, 0.85);
  padding: 6px 20px;
  margin-bottom: 28px;
}

.slide-script {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 62px;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .3);
}

.slide-heading {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 40px;
}

/* PC/모바일 배너 텍스트 분리 — 모바일 전용은 기본 숨김 */
.slide-heading-mo,
.slide-script-mo { display: none; }

.slide-btn {
  display: inline-block;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #fff;
  border: 2px solid #fff;
  padding: 13px 36px;
  transition: background .25s, color .25s;
  margin-right: 14px;
}

.slide-btn:hover {
  background: #fff;
  color: #3c3834;
}

.slide-btn.filled {
  background: #a7896a;
  border-color: #a7896a;
}

.slide-btn.filled:hover {
  background: #3c3834;
  border-color: #3c3834;
}

/* 슬라이더 도트 */
.slider-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .7);
  background: transparent;
  cursor: pointer;
  transition: background .25s;
}

.dot.active {
  background: #fff;
}

/* 슬라이더 화살표 */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, .15);
  border: 2px solid rgba(255, 255, 255, .5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s;
}

.slider-arrow:hover {
  background: rgba(167, 137, 106, .8);
  border-color: transparent;
}

.slider-arrow.prev {
  left: 28px;
}

.slider-arrow.next {
  right: 28px;
}

.slider-arrow svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}


/* ─────────────────────────────────────────────────────
   SECTION: YOUR ONE & ONLY FLOWER SHOP
───────────────────────────────────────────────────── */
.shop-intro {
  background: #fff;
  padding: 0 0 60px;
}

.shop-intro .container {
  max-width: 1200px;
}

.shop-intro-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-top: 80px;
}

.shop-intro-text {
  flex: 0 0 38%;
  max-width: 38%;
  padding-left: 20px;
}

/* PC: 소셜/패밀리 채널 카드 (우측 공지 카드와 톤 통일) */
.shop-intro-text-default { display: none; }
.shop-intro-social {
  border: 1px solid #EAE4DC;
  background: #fff;
  overflow: hidden;
}
/* 헤더 (검정 바탕 제거 — 깔끔한 밝은 타이틀) */
.sis-head {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 22px 24px 16px;
}
.sis-head-en {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.42em;
  color: #b3a79b;
}
.sis-head-ko {
  position: relative;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #3c3834;
  padding-bottom: 12px;
}
.sis-head-ko::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 2px;
  background: #a7896a;
}
/* 2×2 타일 그리드 */
.sis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 20px;
}
.sis-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 104px;
  padding: 16px 10px;
  border: 1px solid #EAE4DC;
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.sis-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(34,17,46,.10);
  border-color: #c8bfb6;
}
.sis-tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.sis-tile-icon svg { width: 40px; height: 40px; display: block; }
.sis-tile-label {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #3c3834;
  line-height: 1;
}
.sis-tile-sub {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  color: #9a8f86;
  line-height: 1;
  letter-spacing: 0.01em;
}
.sis-tile-site .sis-tile-img { height: 30px; width: auto; display: block; }

.shop-intro-text .sub-script {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 32px;
  color: #a7896a;
  margin-bottom: 14px;
  display: block;
}

.shop-intro-text h2 {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #3c3834;
  line-height: 1.5;
  margin-bottom: 22px;
}

.btn-outline-dark {
  display: inline-block;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #3c3834;
  border: 2px solid #3c3834;
  padding: 12px 32px;
  transition: background .22s, color .22s;
}

.btn-outline-dark:hover {
  background: #3c3834;
  color: #fff;
}

.shop-intro-image {
  flex: 0 0 62%;
  max-width: 62%;
  text-align: center;
}

.shop-intro-image img {
  margin: 0 auto;
  max-height: 520px;
  object-fit: contain;
}


/* ─────────────────────────────────────────────────────
   SECTION: MAKING BOUQUETS WITH PASSION
───────────────────────────────────────────────────── */
.passion-section {
  background-image: url('../images/bg-passion.png');
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 120px 0 100px;
  text-align: center;
}

.passion-section .sub-script {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 48px;
  color: #a7896a;
  display: block;
  margin-bottom: 12px;
}

.passion-section h3 {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #3c3834;
  margin-bottom: 24px;
  line-height: 1.4;
}

.passion-section p {
  font-size: 18px;
  color: #544e48;
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto 40px;
}

.btn-filled-tan {
  display: inline-block;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #fff;
  background: #a7896a;
  padding: 14px 40px;
  transition: background .22s;
}

.btn-filled-tan:hover {
  background: #3c3834;
}


/* ─────────────────────────────────────────────────────
   SECTION: PRODUCTS GRID
───────────────────────────────────────────────────── */
.products-section {
  background-image: url('../images/bg-products.png');
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 80px 0 100px;
}

.section-title-center {
  text-align: center;
  margin-bottom: 60px;
}

.section-title-center .sub-script {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 36px;
  color: #a7896a;
  display: block;
  margin-bottom: 8px;
}

.section-title-center h2 {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #3c3834;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* 상품 카드 */
.product-card {
  background: #fff;
  text-align: center;
  transition: box-shadow .25s;
}

.product-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, .12);
}

.product-img-wrap {
  position: relative;
  overflow: hidden;
}

.product-img-wrap img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .4s ease;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.06);
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #a7896a;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(60, 56, 52, 0.0);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s, background .3s;
}

.product-card:hover .product-overlay {
  opacity: 1;
  background: rgba(60, 56, 52, 0.35);
}

.btn-add-cart {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  border: 2px solid #fff;
  padding: 10px 22px;
  background: transparent;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.btn-add-cart:hover {
  background: #fff;
  color: #3c3834;
}

.product-info {
  padding: 20px 16px 24px;
}

.product-cats {
  font-size: 11px;
  color: #a7896a;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.product-cats a {
  color: #a7896a;
  transition: color .2s;
}

.product-cats a:hover {
  color: #3c3834;
}

.product-name {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #3c3834;
  margin-bottom: 10px;
}

.product-name a {
  color: #3c3834;
}

.product-name a:hover {
  color: #a7896a;
}

.product-price {
  font-size: 13px;
  color: #a7896a;
  font-weight: 700;
}

.price-original {
  text-decoration: line-through;
  color: #bbb;
  font-size: 13px;
  margin-right: 8px;
  font-weight: 400;
}

.price-sale {
  color: #c0392b;
}


/* ─────────────────────────────────────────────────────
   SECTION: CONTACT INFO
───────────────────────────────────────────────────── */
.contact-section {
  background-image: url('../images/bg-passion.png');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 90px 0;
}

.contact-intro {
  text-align: center;
  margin-bottom: 56px;
}

.contact-intro .sub-script {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 36px;
  color: #a7896a;
  display: block;
  margin-bottom: 6px;
}

.contact-intro h3 {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #3c3834;
}

.contact-cols {
  display: flex;
  gap: 0;
  text-align: center;
}

.contact-col {
  flex: 1;
  padding: 40px 30px;
  border: 1px solid rgba(60, 56, 52, .12);
}

.contact-col:not(:last-child) {
  border-right: none;
}

.contact-col-icon {
  width: 58px;
  height: 58px;
  border: 2px solid #a7896a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
}

.contact-col-icon svg {
  width: 24px;
  height: 24px;
  fill: #a7896a;
}

.contact-col h2 {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #3c3834;
  margin-bottom: 12px;
}

.contact-col h6 {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #544e48;
  line-height: 1.6;
}


/* ─────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────── */
#footer {
  background: #3c3834;
  color: #a7896a;
  padding: 60px 0 0;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(167, 137, 106, .25);
}

.footer-brand {
  flex: 0 0 340px;
}

.footer-brand img {
  height: 44px;
  width: auto;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.75;
  color: #8c7b6e;
  max-width: 300px;
}

.footer-subscribe {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-subscribe h4 {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #a7896a;
  margin-bottom: 14px;
}

.subscribe-form {
  display: flex;
  gap: 0;
  max-width: 480px;
}

.subscribe-form input {
  flex: 1;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(167, 137, 106, .4);
  border-right: none;
  padding: 12px 18px;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 12px;
  color: #c0aa94;
  outline: none;
  letter-spacing: 0.05em;
}

.subscribe-form input::placeholder {
  color: #7a6b5e;
}

.subscribe-form button {
  background: #a7896a;
  border: 1px solid #a7896a;
  color: #fff;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 12px 24px;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}

.subscribe-form button:hover {
  background: #544e48;
  border-color: #544e48;
}

.footer-bottom {
  text-align: center;
  padding: 22px 20px;
  font-size: 12px;
  color: #7a6b5e;
  letter-spacing: 0.05em;
}

.footer-bottom a {
  color: #a7896a;
  transition: color .2s;
}

.footer-bottom a:hover {
  color: #fff;
}


/* ─────────────────────────────────────────────────────
   ORNAMENT DIVIDER
───────────────────────────────────────────────────── */
.ornament-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 auto 36px;
  color: #a7896a;
}

.ornament-divider::before,
.ornament-divider::after {
  content: '';
  height: 1px;
  width: 80px;
  background: #a7896a;
  opacity: .5;
}

.ornament-divider svg {
  width: 22px;
  height: 22px;
  fill: #a7896a;
}


/* ─────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-slider { height: 600px; }
  .slide-script { font-size: 52px; }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .shop-intro-text h2 { font-size: 22px; }
}

/* ── 햄버거 버튼 (기본: 숨김) ─────────────────── */
.ham-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.ham-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #22112E;
  border-radius: 2px;
  transition: transform .22s ease, opacity .18s ease;
}
.ham-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ham-btn.open span:nth-child(2) { opacity: 0; }
.ham-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 모바일 nav 패널 ───────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background: #fff;
  z-index: 9000;
  box-shadow: -4px 0 24px rgba(34,17,46,.18);
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
}
.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid #EAE4DC;
}
.mobile-nav-logo { height: 36px; width: auto; }
.mobile-nav-close {
  background: none;
  border: none;
  cursor: pointer;
  color: #22112E;
  padding: 4px;
  display: flex;
  align-items: center;
}
.mobile-nav-close svg { width: 22px; height: 22px; }

.mobile-nav-list {
  list-style: none;
  padding: 8px 0;
  margin: 0;
}

/* 모바일 메뉴 하단 — 로그인/로그아웃 영역 */
.mobile-nav-footer {
  margin-top: auto;
  padding: 16px 20px 24px;
  border-top: 2px solid #EAE4DC;
  background: #faf8f5;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-nav-footer a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 6px;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
  border: 1px solid transparent;
}
.mobile-nav-footer .mnl-logout {
  color: #c0392b;
  background: #fff;
  border-color: #f0d4d0;
}
.mobile-nav-footer .mnl-logout:hover { background: #c0392b; color: #fff; border-color: #c0392b; }
.mobile-nav-footer .mnl-join {
  color: #3B1F82;
  background: #fff;
  border-color: #d6cef0;
}
.mobile-nav-footer .mnl-join:hover { background: #3B1F82; color: #fff; border-color: #3B1F82; }
.mobile-nav-footer .mnl-login {
  color: #fff;
  background: #3B1F82;
  border-color: #3B1F82;
}
.mobile-nav-footer .mnl-login:hover { background: #22112E; border-color: #22112E; }
.mobile-nav-list > li > a,
.mnl-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 22px;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #22112E;
  letter-spacing: 0.06em;
  background: none;
  border: none;
  border-bottom: 1px solid #f5f1ee;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
}
.mobile-nav-list > li > a:hover,
.mnl-toggle:hover { color: #3B1F82; background: #f9f7fd; }

.mnl-arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform .2s ease;
}
.mnl-toggle[aria-expanded="true"] .mnl-arrow { transform: rotate(180deg); }

/* 2차 서브 */
.mnl-sub {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
  background: #f9f7fd;
}
.mnl-sub.open { display: block; }
.mnl-sub > li > a {
  display: block;
  padding: 11px 22px 11px 36px;
  font-size: 13px;
  font-weight: 500;
  color: #3a2260;
  border-bottom: 1px solid #ede8f8;
  text-decoration: none;
}
.mnl-sub > li > a:hover { color: #3B1F82; background: #ede8f8; }

/* 3차 서브 */
.mnl-sub2 {
  list-style: none;
  padding: 0;
  margin: 0;
  background: #f3f0fa;
}
.mnl-sub2 > li > a {
  display: block;
  padding: 9px 22px 9px 52px;
  font-size: 12px;
  color: #5533a8;
  border-bottom: 1px solid #e4ddf5;
  text-decoration: none;
}
.mnl-sub2 > li > a:hover { background: #ede8f8; }

/* 백드롭 */
.mobile-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(34,17,46,.45);
  z-index: 8999;
  backdrop-filter: blur(2px);
}
.mobile-nav-backdrop.open { display: block; }

/* ── 반응형 768px 이하 ─────────────────────────── */
@media (max-width: 768px) {
  .hero-slider { height: 420px; }
  .slide-script { font-size: 36px; }
  .slide-content { padding: 0 40px; }
  /* 모바일 배너 텍스트: PC 숨기고 모바일 표시 */
  .slide-heading-pc, .slide-script-pc { display: none; }
  .slide-heading-mo, .slide-script-mo { display: block; }
  .slide-script-mo { font-size: 28px !important; }
  .shop-intro-inner { flex-direction: column; }
  .shop-intro-text,
  .shop-intro-image { flex: 0 0 100%; width: 100%; max-width: 100%; align-self: stretch; padding: 0; text-align: center; }
  /* 모바일: PC와 동일하게 소셜 채널 카드 노출, 기존 텍스트 숨김 */
  .shop-intro-text-default { display: none; }
  .shop-intro-social { display: block; }
  .shop-intro { padding: 0 0 28px; }
  .products-section { padding: 40px 0 52px; }
  .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); min-width: 0; }
  .products-grid .product-info { padding: 10px 8px 12px; }
  .products-grid .product-cats, .products-grid .product-cats a { font-size: 10px; letter-spacing: 0; }
  .products-grid .product-name, .products-grid .product-name a { font-size: 11px; }
  .products-grid .product-price, .products-grid .price-hidden  { font-size: 12px; }
  .passion-section h3 { font-size: 28px; }
  .contact-cols { flex-direction: column; }
  .contact-col { border: 1px solid rgba(60, 56, 52, .12) !important; margin-bottom: 2px; }
  .footer-top { flex-direction: column; gap: 30px; }

  nav { display: none; }
  .ham-btn { display: flex; }
  .mobile-nav { display: flex; }
  .header-inner { padding: 14px 16px; }
  .header-search-box { display: none; }   /* 검색창 숨김 — 아이콘만 표시 */
  .header-icons { gap: 12px; }
  .header-search-icon svg { width: 18px; height: 18px; }
  .header-logout-btn { display: none; }   /* 모바일: 헤더 로그아웃 아이콘 숨김 */
  .header-username { display: none; }     /* 모바일: 헤더 사용자명 숨김 */
  .header-mypage-mo { display: flex; }    /* 모바일: 내정보(마이페이지) 아이콘 표시 */
  /* 모바일: 마이페이지·장바구니 아이콘 살짝 키움 */
  .header-login.header-mypage-mo svg { width: 24px; height: 24px; }
  .header-cart svg { width: 26px; height: 26px; }
}

@media (max-width: 480px) {
  .hero-slider { height: 300px; }
  .slide-script { font-size: 26px; }
  .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; min-width: 0; }
}


/* ============================================================================ */
/* SECTION : index.css  */
/* INDEX (HOME) PAGE — color overrides & dedicated components */
/* ============================================================================ */

/* ==========================================================================
   월드플로라 — index.html  Florita 참고 컬러 시스템  2026
   ─────────────────────────────────────────────────────────────────────────
   참고: florita.peerduck.com  CSS 변수 기반 설계
     #22112E  ── near-black     헤딩·본문 (Florita --global-txt-color)
     #746979  ── warm muted     보조 텍스트 (Florita --global-second-txt-color)
     #3B1F82  ── logo brand     CTA 배경·액티브·아이콘 (로고 색상 연결)
     #5533a8  ── brand hover    호버
     #FFFFFF  ── white          헤더·카드·배경
     #F9F5F2  ── warm off-white 소개 섹션 배경
     #F3EFE9  ── ivory          passion 섹션 (Florita 분위기)
     #EEE9E4  ── warm cream     products 섹션 배경
     #EAE4DC  ── warm border    구분선·카드 보더 (Florita #eeeae9 계열)
     #eeeae9  ── florita footer 푸터 배경 — 라이트 크림 (Florita 방식)
   ========================================================================== */

/* ─── BASE ────────────────────────────────────────── */
body {
  color: #22112E;
  background: #ffffff;
}

/* ─── TOP BAR ─────────────────────────────────────── */
.top-bar {
  background: #22112E;
  color: #746979;
  letter-spacing: 0.12em;
  font-size: 11px;
  padding: 7px 30px;
  border-bottom: none;
}
.top-bar a       { color: #746979; }
.top-bar a:hover { color: #eeeae9; }

/* ─── 헤더 ────────────────────────────────────────── */
#header {
  background: #ffffff;
  box-shadow: none;
  border-bottom: 1px solid #EAE4DC;
}

nav ul li a {
  color: #22112E;
  font-size: 16px;
  letter-spacing: 0.14em;
  font-weight: 600;
}
nav ul li a:hover        { color: #3B1F82; }
nav ul li.active > a     { color: #3B1F82; }
/* 2차 드롭다운 */
nav ul li ul             { box-shadow: 0 12px 32px rgba(34,17,46,.13); border-top: 2px solid #3B1F82; }
nav ul li ul li a        { color: #22112E; letter-spacing: 0.06em; font-weight: 500; }
nav ul li ul li > a:hover { color: #3B1F82; background: #f4f0fa; }
/* 3차 드롭다운 */
nav ul li ul li ul       { box-shadow: 6px 12px 32px rgba(34,17,46,.12); border-top: 2px solid #7c5cbf; }
nav ul li ul li ul li a  { color: #3a2260; font-size: 13px; letter-spacing: 0.05em; }
nav ul li ul li ul li > a:hover { color: #3B1F82; background: #ede8f8; }

.header-cart       { color: #22112E; }
.header-cart-a     { color: #3B1F82; }
.header-cart-b     { color: #7a4e28; }
.header-cart-a .cart-count { background: #3B1F82; }
.header-cart-b .cart-count { background: #7a4e28; }
.cart-count        { background: #3B1F82; color: #fff; font-size: 9px; }
.header-icons      { display: flex; align-items: center; gap: 18px; }
.header-login       { display: flex; align-items: center; color: #22112E; transition: color .2s; }
.header-login svg   { width: 20px; height: 20px; }
.header-login:hover { color: #3B1F82; }
.header-logout-btn  { color: #22112E; }
.header-logout-btn:hover { color: #c0392b; }
.header-mypage-mo   { display: none; }
.header-username {
  font-size: 12px;
  font-weight: 600;
  color: #3B1F82;
  white-space: nowrap;
  letter-spacing: -.3px;
}
.header-search-icon        { color: #22112E; }
.header-search-icon:hover  { color: #3B1F82; }
.header-search-box         { border-color: rgba(34,17,46,.2); }
button.header-search-icon  { border-left-color: rgba(34,17,46,.15); }

/* ─── 슬라이더 ────────────────────────────────────── */
.slide-overlay {
  background: linear-gradient(
    160deg,
    rgba(34, 17, 46, 0.62) 0%,
    rgba(34, 17, 46, 0.18) 100%
  );
}
.slide-label {
  background: #3B1F82;
  letter-spacing: 0.35em;
  font-size: 11px;
  border-radius: 0;
}
.slide-script { text-shadow: 0 2px 24px rgba(34,17,46,.5); }
.slide-btn {
  border: 1px solid rgba(255,255,255,.75);
  letter-spacing: 0.28em;
  font-size: 11px;
  padding: 14px 40px;
}
.slide-btn:hover {
  background: #fff;
  color: #22112E;
  border-color: #fff;
}
.slide-btn.filled {
  background: #3B1F82;
  border-color: #3B1F82;
}
.slide-btn.filled:hover {
  background: #5533a8;
  border-color: #5533a8;
}
.dot.active           { background: #fff; }
.dot                  { border-color: rgba(255,255,255,.5); }
.hero-slider          { height: 580px; }
.slider-arrow {
  background: rgba(34,17,46,.22);
  border: 1px solid rgba(255,255,255,.3);
}
.slider-arrow:hover   { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.6); }

/* ─── 소개 섹션 ───────────────────────────────────── */
.shop-intro           { background: #F9F5F2; }
.shop-intro-text .sub-script {
  color: #746979;
  font-size: 28px;
}
.shop-intro-text h2 {
  color: #22112E;
  font-size: 30px;
  line-height: 1.5;
  font-weight: 700;
  text-align: center;
}

.btn-outline-dark {
  color: #22112E;
  border: 1px solid #22112E;
  letter-spacing: 0.26em;
  font-size: 14px;
  padding: 13px 36px;
  transition: background .22s, color .22s, border-color .22s;
  display: block;
  text-align: center;
}
.btn-outline-dark:hover {
  background: #3B1F82;
  border-color: #3B1F82;
  color: #fff;
}

/* ─── ORNAMENT DIVIDER ────────────────────────────── */
.ornament-divider             { color: #746979; }
.ornament-divider::before,
.ornament-divider::after      { background: #EAE4DC; opacity: 1; width: 100px; }
.ornament-divider svg         { fill: #746979; }

/* ─── PASSION 섹션 ─────────────────────────────────── */
.passion-section {
  background-color: #F3EFE9;
}
.passion-section .sub-script {
  color: #746979;
  font-size: 50px;
}
.passion-section h3 {
  color: #22112E;
  font-size: 38px;
}
.passion-section p {
  color: #746979;
  font-size: 16px;
  line-height: 1.9;
}
.btn-filled-tan {
  background: #22112E;
  letter-spacing: 0.26em;
  font-size: 10px;
  padding: 15px 44px;
}
.btn-filled-tan:hover { background: #3B1F82; }

/* ─── PRODUCTS 섹션 ───────────────────────────────── */
.products-section     { background-color: #EEE9E4; }

.section-title-center .sub-script {
  color: #746979;
  font-size: 36px;
}
.section-title-center h2 {
  color: #22112E;
  letter-spacing: 0.36em;
  font-size: 12px;
}

/* 상품 카드 */
.product-card {
  background: #ffffff;
  border: 1px solid transparent;
  transition: box-shadow .28s, border-color .28s;
}
.product-card:hover {
  box-shadow: 0 14px 44px rgba(34,17,46,.09);
  border-color: #EAE4DC;
}

.product-badge {
  background: #3B1F82;
  letter-spacing: 0.14em;
  font-size: 9px;
}

.product-card:hover .product-overlay {
  background: rgba(34,17,46,.42);
}
.btn-add-cart {
  border: 1px solid rgba(255,255,255,.85);
  letter-spacing: 0.2em;
  font-size: 10px;
  padding: 11px 26px;
}
.btn-add-cart:hover { background: #fff; color: #22112E; }

.product-cats, .product-cats a { color: #746979; letter-spacing: 0.12em; font-size: 13px; }
.product-cats a:hover          { color: #3B1F82; }

.product-name, .product-name a {
  color: #22112E;
  letter-spacing: 0;
  font-size: 13px;
}
.product-name a:hover { color: #3B1F82; }

.product-price  { color: #22112E; font-size: 18px; font-weight: 700; }
.price-sale     { color: #c0392b; }
.price-hidden   { font-size: 18px; font-weight: 500; color: #999; letter-spacing: 0.05em; }

/* ─── CONTACT 섹션 ────────────────────────────────── */
.contact-intro .sub-script { color: #746979; font-size: 34px; }
.contact-intro h3 {
  color: #22112E;
  font-size: 12px;
  letter-spacing: 0.3em;
}

.contact-col {
  background: #ffffff;
  border: 1px solid #EAE4DC;
  transition: box-shadow .25s, border-color .25s;
}
.contact-col:not(:last-child) { border-right: none; }
.contact-col:hover {
  box-shadow: 0 8px 28px rgba(34,17,46,.07);
  border-color: #c8bfb6;
}

.contact-col-icon {
  border: 1px solid #EAE4DC;
  background: #F9F5F2;
  width: 54px;
  height: 54px;
}
.contact-col-icon svg { fill: #746979; }

.contact-col h2 { color: #22112E; font-size: 11px; letter-spacing: 0.3em; }
.contact-col h6 { color: #746979; font-size: 14px; line-height: 1.75; }

/* ─── shop-intro 공지사항 패널 ───────────────────── */
.shop-intro-notice {
  flex: 0 0 62%;
  max-width: 62%;
  display: flex;
  flex-direction: column;
  border: 1px solid #EAE4DC;
  background: #ffffff;
  overflow: hidden;
}

/* 헤더 바 */
.sin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  background: #22112E;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.sin-header-left {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.sin-en {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.42em;
  color: #3B1F82;
  color: rgba(255,255,255,.45);
}
.sin-ko {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ffffff;
}
.sin-more {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color .2s;
}
.sin-more svg {
  width: 12px;
  height: 12px;
  transition: transform .2s;
}
.sin-more:hover {
  color: #ffffff;
}
.sin-more:hover svg {
  transform: translateX(3px);
}

/* 목록 */
.sin-list {
  flex: 1;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sin-list li {
  border-bottom: 1px solid #F3EFE9;
}
.sin-list li:last-child {
  border-bottom: none;
}
.sin-list li a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px;
  text-decoration: none;
  transition: background .18s;
}
.sin-list li a:hover {
  background: #F9F5F2;
}
.sin-badge {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
  background: #3B1F82;
  padding: 3px 9px;
  flex-shrink: 0;
  line-height: 1.6;
}
.sin-badge.event {
  background: #a0826d;
}
.sin-title {
  flex: 1;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 15.5px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: #22112E;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .18s;
}
.sin-list li a:hover .sin-title {
  color: #3B1F82;
}
.sin-date {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  color: #b5aab8;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

/* 반응형 */
@media (max-width: 768px) {
  .shop-intro-notice {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .sin-list li a {
    padding: 14px 18px;
    gap: 10px;
  }
  .sin-header {
    padding: 16px 18px;
  }
  /* 모바일에서는 공지 2개만 노출 */
  .sin-list li.sin-item-extra {
    display: none;
  }
}

/* ─── FOOTER ─────────────────────────────────────── */
#footer {
  background: #f5f1ee;
  color: #22112E;
  border-top: 3px solid #3B1F82;
}

/* 메인 본문 영역 */
.footer-body {
  padding: 15px 0 40px;
}

/* 전체 2단 그리드 (정보 + 네비) */
.footer-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
  align-items: start;
}

/* ── 왼쪽: 회사 정보 ── */
.footer-logo-link {
  display: inline-block;
  margin-bottom: 32px;
}
.footer-logo-link img {
  height: 48px;
  width: auto;
  opacity: .92;
}

.footer-dl {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-dl-row {
  display: flex;
  align-items: baseline;
  gap: 0;
  font-size: 12.5px;
  line-height: 1.7;
}
.footer-dl-row dt {
  flex: 0 0 130px;
  color: #9585a1;
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.01em;
  padding-right: 8px;
}
.footer-dl-row dd {
  color: #3d2f46;
  font-size: 12.5px;
}

/* ── 구분선 ── */
.footer-company {
  padding-right: 40px;
  border-right: 1px solid rgba(59,31,130,.1);
}

/* ── 오른쪽: 네비게이션 ── */
.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 8px;
}
.footer-nav-col h5 {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #3B1F82;
  text-align: center;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(59,31,130,.15);
}
.footer-nav-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
}
.footer-nav-col ul li a {
  font-size: 13px;
  color: #4a3558;
  letter-spacing: 0.01em;
  transition: color .18s;
  display: inline-block;
  text-align: center;
}
.footer-nav-col ul li a:hover {
  color: #3B1F82;
}

/* ── 하단 저작권 바 ── */
.footer-bottom {
  background: #22112E;
  padding: 18px 20px;
  text-align: center;
  border-top: none;
  color: rgba(255,255,255,.35);
  font-size: 12px;
  letter-spacing: 0.05em;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,.38);
  letter-spacing: 0.04em;
  margin: 0;
}
.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.footer-bottom-links a {
  color: rgba(255,255,255,.5);
  letter-spacing: 0.04em;
  transition: color .2s;
}
.footer-bottom-links a:hover {
  color: #ffffff;
}
.footer-bottom-links span {
  color: rgba(255,255,255,.2);
  font-size: 10px;
}
.footer-bottom a       { color: rgba(255,255,255,.5); transition: color .2s; font-weight: 400; }
.footer-bottom a:hover { color: #fff; }

/* ── 반응형 ── */
@media (max-width: 1024px) {
  .footer-layout { grid-template-columns: 300px 1fr; gap: 48px; }
  .footer-company { padding-right: 0; border-right: none; border-bottom: 1px solid rgba(59,31,130,.1); padding-bottom: 40px; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); gap: 28px 36px; }
}
@media (max-width: 768px) {
  .footer-layout { grid-template-columns: 1fr; gap: 40px; }
  .footer-body { padding: 48px 0 36px; }
  .footer-company { border-right: none; padding-right: 0; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom-inner { justify-content: center; text-align: center; }
}
@media (max-width: 480px) {
  .footer-nav { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .footer-dl-row dt { flex: 0 0 110px; }
}


/* ============================================================================ */
/* SECTION : pages.css  */
/* INNER PAGES COMMON — color overrides (list / detail / cart / order / mypage / notice) */
/* ============================================================================ */

/* ==========================================================================
   월드플로라 — 내부 페이지 공통 컬러 시스템 (Florita 참고)
   ─────────────────────────────────────────────────────────────────────────
   list / detail / cart / order / mypage / notice 공용 컬러 오버라이드.
   style.css 로드 후, 각 페이지 CSS 이전에 적용.
   index.css 와 동일한 색상 토큰:
     #22112E  ── near-black     헤딩·본문
     #746979  ── warm muted     보조 텍스트
     #3B1F82  ── logo brand     CTA · 액티브 · 아이콘
     #5533a8  ── brand hover    호버
     #EAE4DC  ── warm border    구분선·보더
     #eeeae9  ── florita footer 푸터 배경 (라이트 크림)
   ========================================================================== */

/* ─── BASE ────────────────────────────────────────── */
body {
  color: #22112E;
  background: #ffffff;
}

/* ─── 헤더 ────────────────────────────────────────── */
#header {
  background: #ffffff;
  box-shadow: none;
  border-bottom: 1px solid #EAE4DC;
}

nav ul li a {
  color: #22112E;
  font-size: 16px;
  letter-spacing: 0;
  font-weight: 600;
}
nav ul li a:hover        { color: #3B1F82; }
nav ul li.active > a     { color: #3B1F82; }
/* 2차 드롭다운 */
nav ul li ul             { box-shadow: 0 12px 32px rgba(34,17,46,.13); border-top: 2px solid #3B1F82; }
nav ul li ul li a        { color: #22112E; letter-spacing: 0.06em; font-weight: 500; }
nav ul li ul li > a:hover { color: #3B1F82; background: #f4f0fa; }
/* 3차 드롭다운 */
nav ul li ul li ul       { box-shadow: 6px 12px 32px rgba(34,17,46,.12); border-top: 2px solid #7c5cbf; }
nav ul li ul li ul li a  { color: #3a2260; font-size: 13px; letter-spacing: 0.05em; }
nav ul li ul li ul li > a:hover { color: #3B1F82; background: #ede8f8; }

.header-cart       { color: #22112E; }
.header-cart-a     { color: #3B1F82; }
.header-cart-b     { color: #7a4e28; }
.header-cart-a .cart-count { background: #3B1F82; }
.header-cart-b .cart-count { background: #7a4e28; }
.cart-count        { background: #3B1F82; color: #fff; font-size: 9px; }
.header-icons      { display: flex; align-items: center; gap: 18px; }
.header-login       { display: flex; align-items: center; color: #22112E; transition: color .2s; }
.header-login svg   { width: 20px; height: 20px; }
.header-login:hover { color: #3B1F82; }
.header-logout-btn  { color: #22112E; }
.header-logout-btn:hover { color: #c0392b; }
.header-username {
  font-size: 12px;
  font-weight: 600;
  color: #3B1F82;
  white-space: nowrap;
  letter-spacing: -.3px;
}
.header-search-icon        { color: #22112E; }
.header-search-icon:hover  { color: #3B1F82; }
.header-search-box         { border-color: rgba(34,17,46,.2); }
button.header-search-icon  { border-left-color: rgba(34,17,46,.15); }

/* ─── PAGE BANNER 오버라이 ────────────────────────── */
  background: rgba(34, 17, 46, 0.52);
}

.page-banner .breadcrumb      { color: rgba(255,255,255,.65); }
.page-banner .breadcrumb a    { color: rgba(255,255,255,.65); }
.page-banner .breadcrumb a:hover { color: #fff; }
.breadcrumb a:hover           { color: #fff; }

/* ─── FOOTER — 라이트 크림 (Florita 방식) ─────────── */
#footer {
  background: #eeeae9;
  color: #22112E;
  padding: 60px 0 0;
}

.footer-top {
  border-bottom: 1px solid rgba(34,17,46,.1);
  padding-bottom: 48px;
}

.footer-brand img    { opacity: .95; }
.footer-brand p      { color: #746979; line-height: 1.85; font-size: 13px; }

.footer-subscribe h4 {
  color: #22112E;
  letter-spacing: 0.24em;
  font-size: 11px;
}

.subscribe-form input {
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(34,17,46,.15);
  border-right: none;
  color: #22112E;
  font-size: 12px;
}
.subscribe-form input::placeholder { color: #a89fac; }
.subscribe-form input:focus {
  outline: none;
  border-color: rgba(59,31,130,.4);
  background: #ffffff;
}

.subscribe-form button {
  background: #3B1F82;
  border: 1px solid #3B1F82;
  color: #ffffff;
  letter-spacing: 0.2em;
  font-size: 10px;
  transition: background .2s, border-color .2s;
}
.subscribe-form button:hover {
  background: #5533a8;
  border-color: #5533a8;
}

.footer-bottom {
  text-align: center;
  padding: 22px 20px;
  color: #746979;
  border-top: 1px solid rgba(34,17,46,.1);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.footer-bottom a       { color: #22112E; transition: color .2s; font-weight: 500; }
.footer-bottom a:hover { color: #3B1F82; }


/* ============================================================================ */
/* SECTION : list.css  */
/* LIST PAGE — product listing grid, filters, sort, view-toggle, pagination */
/* ============================================================================ */

/* ==========================================================================
   Flower Shop — Product List Page Stylesheet
   list.html 전용 스타일 (style.css 를 base로 사용)
   ========================================================================== */


/* ─────────────────────────────────────────────────────
   PAGE BANNER
───────────────────────────────────────────────────── */
.page-banner {
  position: relative;
  background-image: url('../images/bg-sub-top.webp');
  background-size: cover;
  background-position: center top;
  padding: 90px 0 70px;
  text-align: center;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(40, 30, 20, 0.52);
}

.page-banner-inner {
  position: relative;
  z-index: 1;
}

.page-banner .breadcrumb {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 18px;
}

.page-banner .breadcrumb a {
  color: rgba(255, 255, 255, 0.65);
  transition: color .2s;
}

.page-banner .breadcrumb a:hover {
  color: #fff;
}

.page-banner .breadcrumb .sep {
  margin: 0 10px;
}

.page-banner h1 {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 44px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  line-height: 1.3;
}

.page-banner .banner-script {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 26px;
  color: rgba(255, 255, 255, 0.82);
  display: block;
}


/* ─────────────────────────────────────────────────────
   SHOP PAGE WRAPPER
───────────────────────────────────────────────────── */
.shop-page {
  background: #F9F5F2;
  padding: 56px 0 90px;
}

/* ─────────────────────────────────────────────────────
   SHOP SEARCH BAR
───────────────────────────────────────────────────── */
.shop-search-bar {
  margin-bottom: 28px;
}

.shop-search-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shop-search-inner {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1.5px solid #EAE4DC;
  border-radius: 4px;
  padding: 0 6px 0 18px;
  gap: 10px;
  transition: border-color .2s, box-shadow .2s;
}

.shop-search-inner:focus-within {
  border-color: #3B1F82;
  box-shadow: 0 0 0 3px rgba(59,31,130,.08);
}

.shop-search-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #b0a8b9;
  pointer-events: none;
}

.shop-search-input {
  flex: 1;
  min-width: 0;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 15px;
  color: #22112E;
  background: transparent;
  border: none;
  outline: none;
  padding: 14px 0;
  line-height: 1.4;
}

.shop-search-input::placeholder {
  color: #c8c2ce;
}

/* 검색어 지우기 버튼 */
.shop-search-clear {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f0edf5;
  color: #746979;
  flex-shrink: 0;
  transition: background .18s, color .18s;
  text-decoration: none;
}

.shop-search-clear:hover {
  background: #3B1F82;
  color: #fff;
}

.shop-search-clear svg {
  width: 13px;
  height: 13px;
}

/* 검색 버튼 */
.shop-search-btn {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #fff;
  background: #22112E;
  border: none;
  padding: 10px 22px;
  border-radius: 3px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
  flex-shrink: 0;
}

.shop-search-btn:hover {
  background: #3B1F82;
}

/* 검색 결과 레이블 */
.shop-search-result-label {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 14px;
  color: #746979;
  margin: 0;
}

.shop-search-result-label strong {
  color: #3B1F82;
  font-weight: 700;
}

.shop-search-result-label span {
  color: #22112E;
  font-weight: 700;
}

/* 인라인 검색 (shop-meta 우측 끝) */
.shop-search-inline {
  margin-left: auto;
  flex-shrink: 0;
}

.shop-search-inline .shop-search-inner {
  padding: 0 5px 0 14px;
  gap: 8px;
  border-radius: 4px;
}

.shop-search-inline .shop-search-input {
  width: 200px;
  font-size: 13.5px;
  padding: 9px 0;
}

.shop-search-inline .shop-search-btn {
  font-size: 13px;
  padding: 8px 16px;
}

/* 결과 레이블 — shop-controls 바로 아래 */
.shop-search-result-label {
  margin: -20px 0 24px;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13.5px;
  color: #746979;
}

/* ─────────────────────────────────────────────────────
   SHOP CONTROLS (필터 + 정렬 + 뷰토글)
───────────────────────────────────────────────────── */
.shop-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid #EAE4DC;
}

/* 카테고리 필터 탭 */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

.filter-tab {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #22112E;
  background: #fff;
  border: 1px solid #EAE4DC;
  padding: 9px 22px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  user-select: none;
  line-height: 1;
}

.filter-tab:hover {
  border-color: #3B1F82;
  color: #3B1F82;
}

.filter-tab.active {
  background: #3B1F82;
  border-color: #3B1F82;
  color: #fff;
}

/* 2차 카테고리 탭 */
.filter-tab.filter-tab-sub {
  font-size: 13px;
  font-weight: 400;
  padding: 7px 16px;
  color: #746979;
  border-color: #EAE4DC;
}
.filter-tab.filter-tab-sub:hover {
  color: #3B1F82;
  border-color: #3B1F82;
}
.filter-tab.filter-tab-sub.active {
  background: #5533a8;
  border-color: #5533a8;
  color: #fff;
}

/* 3차 카테고리 서브 탭 행 */
.filter-tabs-3rd {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px dashed #EAE4DC;
  align-items: center;
}

.filter-3rd-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #7c5cbf;
  text-transform: uppercase;
  margin-right: 4px;
  white-space: nowrap;
}

.filter-tab.filter-tab-3rd {
  font-size: 12px;
  font-weight: 400;
  padding: 6px 14px;
  color: #5a4070;
  border-color: #d6cce8;
  background: #f9f7fd;
}
.filter-tab.filter-tab-3rd:hover {
  color: #3B1F82;
  border-color: #7c5cbf;
  background: #ede8f8;
}
.filter-tab.filter-tab-3rd.active {
  background: #7c5cbf;
  border-color: #7c5cbf;
  color: #fff;
}

/* 우측 메타 영역 */
.shop-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;          /* 두 번째 행 전체 너비 점유 */
}

.product-count {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 15px;
  color: #aaa;
  white-space: nowrap;
}

.product-count strong {
  color: #22112E;
  font-weight: 700;
}

/* 정렬 셀렉트 */
.sort-select {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 14px;
  color: #22112E;
  border: 1px solid #EAE4DC;
  background-color: #fff;
  padding: 9px 34px 9px 14px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%233B1F82' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
  outline: none;
  transition: border-color .2s;
  min-width: 130px;
}

.sort-select:hover,
.sort-select:focus {
  border-color: #3B1F82;
}

/* 뷰 토글 버튼 */
.view-toggle {
  display: flex;
  gap: 4px;
}

.view-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #EAE4DC;
  background: #fff;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
  color: #c0b4aa;
}

.view-btn:hover {
  border-color: #3B1F82;
  color: #3B1F82;
}

.view-btn.active {
  border-color: #3B1F82;
  background: #3B1F82;
  color: #fff;
}

.view-btn svg {
  width: 15px;
  height: 15px;
}


/* ─────────────────────────────────────────────────────
   PRODUCT LIST GRID (4열 기본)
────────────────────────────────────────────────── */
.products-list-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* 필터로 숨긴 카드 */
.product-card.hidden {
  display: none;
}

/* 상품 설명 (리스트뷰에서만 노출) */
.product-desc {
  display: none;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  color: #746979;
  line-height: 1.75;
  margin: 8px 0 14px;
}


/* ─────────────────────────────────────────────────────
   LIST VIEW (리스트 토글 시)
───────────────────────────────────────────────────── */
.products-list-grid.list-view {
  grid-template-columns: 1fr;
  gap: 16px;
}

.products-list-grid.list-view .product-card {
  display: flex;
  align-items: stretch;
  text-align: left;
}

.products-list-grid.list-view .product-img-wrap {
  flex: 0 0 200px;
  width: 200px;
}

.products-list-grid.list-view .product-img-wrap img {
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.products-list-grid.list-view .product-info {
  flex: 1;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.products-list-grid.list-view .product-desc {
  display: block;
}

.products-list-grid.list-view .product-name {
  font-size: 15px;
  margin-bottom: 6px;
}

.products-list-grid.list-view .product-price {
  font-size: 18px;
}

.products-list-grid.list-view .product-bottom {
  margin-top: auto;
  padding-top: 10px;
  align-items: center;
}

.products-list-grid.list-view .product-card:hover .product-img-wrap img {
  transform: none;
}

.products-list-grid.list-view .product-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, .09);
}


/* ─────────────────────────────────────────────────────
   PRODUCT CARD ACTIONS (찜하기 + 장바구니)
───────────────────────────────────────────────────── */
.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  gap: 8px;
}

.product-actions {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.btn-wishlist,
.btn-cart-icon,
.btn-add-cart {
  width: 32px;
  height: 32px;
  border: 1px solid #EAE4DC;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
  color: #bbb;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
}

/* list.php 상품카드 — 두 버튼 크기 강제 통일 (detail 규칙 덮어쓰기 방지) */
.product-actions .btn-wishlist,
.product-actions .btn-add-cart {
  width: 34px !important;
  height: 34px !important;
  padding: 0 !important;
}
.product-actions .btn-wishlist svg,
.product-actions .btn-add-cart svg {
  width: 15px !important;
  height: 15px !important;
  display: block;
  flex-shrink: 0;
}

/* list.php 상품카드 — 미니 수량 컨트롤 ─────────────────── */
.product-actions .qty-wrap-mini {
  display: inline-flex;
  align-items: stretch;
  height: 34px;
  border: 1px solid #EAE4DC;
  background: #fff;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
}
.product-actions .qty-wrap-mini .qty-btn {
  width: 22px;
  height: 100%;          /* 전역 .qty-btn{height:38px} 오버라이드, wrapper 높이 따라감 */
  min-height: 0;
  border: none;
  background: #fff;
  color: #666;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, color .15s;
  box-sizing: border-box;
}
.product-actions .qty-wrap-mini .qty-btn:hover {
  background: #f7f5f3;
  color: #3B1F82;
}
.product-actions .qty-wrap-mini .qty-input {
  width: 30px;
  height: 100%;          /* 전역 .qty-input{height:38px} 오버라이드 */
  min-height: 0;
  border: none;
  border-left: 1px solid #EAE4DC;
  border-right: 1px solid #EAE4DC;
  background: #fff;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #22112E;
  padding: 0 2px;
  outline: none;
  box-sizing: border-box;
  -moz-appearance: textfield;
  appearance: textfield;
}
.product-actions .qty-wrap-mini .qty-input::-webkit-outer-spin-button,
.product-actions .qty-wrap-mini .qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.btn-wishlist:hover {
  border-color: #e05a5a;
  color: #e05a5a;
}

.btn-wishlist.active {
  border-color: #e05a5a;
  color: #e05a5a;
  background: #fff5f5;
}

.btn-wishlist.active svg path {
  fill: #e05a5a;
  stroke: #e05a5a;
}

.btn-cart-icon:hover {
  border-color: #3B1F82;
  color: #3B1F82;
  background: #f5f3ff;
}

.btn-add-cart:hover {
  border-color: #3B1F82;
  color: #3B1F82;
  background: #f5f3ff;
}

.btn-add-cart.added {
  border-color: #3B1F82;
  color: #3B1F82;
  background: #ede8fb;
}

.btn-wishlist svg,
.btn-cart-icon svg,
.btn-add-cart svg {
  width: 15px;
  height: 15px;
  display: block;
  flex-shrink: 0;
}


/* ─────────────────────────────────────────────────────
   결과 없음 메시지
───────────────────────────────────────────────────── */
.no-results {
  display: none;
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
}

.no-results.show {
  display: block;
}

.no-results svg {
  color: #ddd;
  margin: 0 auto 14px;
  display: block;
}

.no-results p {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 15px;
  color: #bbb;
}


/* ─────────────────────────────────────────────────────
   PAGINATION
───────────────────────────────────────────────────── */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 56px;
}

.page-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #22112E;
  background: #fff;
  border: 1px solid #EAE4DC;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  line-height: 1;
}

.page-btn:hover {
  border-color: #3B1F82;
  color: #3B1F82;
}

.page-btn.active {
  background: #3B1F82;
  border-color: #3B1F82;
  color: #fff;
}

.page-btn.arrow {
  font-size: 18px;
  color: #3B1F82;
}

.page-btn.arrow:hover {
  background: #3B1F82;
  border-color: #3B1F82;
  color: #fff;
}

.page-btn.disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}


/* ─────────────────────────────────────────────────────
   ORNAMENT DIVIDER (공통 유틸)
───────────────────────────────────────────────────── */
.ornament-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 auto 44px;
  justify-content: center;
}

.ornament-line::before,
.ornament-line::after {
  content: '';
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: #EAE4DC;
}

.ornament-line svg {
  width: 18px;
  height: 18px;
  fill: #3B1F82;
  opacity: 0.7;
}


/* ─────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .products-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-banner {
    padding: 60px 0 50px;
  }

  .page-banner h1 {
    font-size: 30px;
  }

  .page-banner .banner-script {
    font-size: 20px;
  }

  .shop-controls {
    flex-direction: column;
    align-items: flex-start;
  }

  .shop-meta {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .shop-search-inline-wrap {
    width: 100%;
    flex-shrink: 1;
    margin-left: 0;
  }

  .shop-search-inline-wrap .shop-search-inline,
  .shop-search-inline {
    width: 100%;
    margin-left: 0;
  }

  .shop-search-inline .shop-search-input {
    width: 100%;
    min-width: 0;
  }

  .products-list-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .products-list-grid.list-view .product-card {
    flex-direction: column;
  }

  .products-list-grid.list-view .product-img-wrap {
    flex: none;
    width: 100%;
  }

  .products-list-grid.list-view .product-img-wrap img {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .products-list-grid.list-view .product-overlay {
    position: absolute;
    opacity: 0;
  }

  .products-list-grid.list-view .product-card:hover .product-overlay {
    opacity: 1;
    background: rgba(60, 56, 52, 0.35);
  }
}

@media (max-width: 480px) {
  .products-list-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    min-width: 0;
  }

  .filter-tabs {
    gap: 6px;
  }

  .filter-tab {
    font-size: 11px;
    padding: 7px 14px;
  }
}


/* ============================================================================ */
/* SECTION : detail.css  */
/* DETAIL PAGE — gallery, info panel, tabs, reviews, related products, sticky bar */
/* ============================================================================ */

/* ==========================================================================
   Flower Shop — Product Detail Page Stylesheet  (detail.html 전용)
   Base: style.css + list.css 의 공통 컴포넌트 재사용
   ========================================================================== */


/* ─────────────────────────────────────────────────────
   PAGE BANNER (list.css 동일 패턴, 재정의)
───────────────────────────────────────────────────── */
.page-banner {
  position: relative;
  background-image: url('../images/bg-passion.png');
  background-size: cover;
  background-position: center;
  padding: 64px 0 52px;
  text-align: center;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30, 20, 12, 0.55);
}

.page-banner-inner {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.62);
  transition: color .2s;
}

.breadcrumb a:hover { color: #fff; }

.breadcrumb .sep { margin: 0 10px; }

.page-banner h1 {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
  line-height: 1.35;
  margin: 0;
}


/* ─────────────────────────────────────────────────────
   DETAIL WRAPPER
───────────────────────────────────────────────────── */
.detail-page {
  background: #F9F5F2;
  padding: 60px 0 90px;
}


/* ─────────────────────────────────────────────────────
   PRODUCT MAIN LAYOUT
───────────────────────────────────────────────────── */
.product-detail {
  display: flex;
  gap: 56px;
  align-items: flex-start;
  margin-bottom: 80px;
}


/* ── 갤러리 (좌측 50%) ───────────────────────────── */
.product-gallery {
  flex: 0 0 50%;
  max-width: 50%;
  position: sticky;
  top: 20px;
}

.gallery-main {
  position: relative;
  overflow: hidden;
  background: #fff;
  margin-bottom: 14px;
  cursor: zoom-in;
}

.gallery-main img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .5s ease;
  display: block;
}

.gallery-main:hover img {
  transform: scale(1.05);
}

.gallery-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: #3B1F82;
  color: #fff;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 5px 14px;
  z-index: 2;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
}

.thumb-item {
  flex: 0 0 calc(25% - 8px);
  cursor: pointer;
  border: 2px solid transparent;
  overflow: hidden;
  transition: border-color .2s;
  background: #fff;
}

.thumb-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .3s ease, opacity .2s;
  opacity: 0.72;
}

.thumb-item:hover img {
  opacity: 1;
  transform: scale(1.04);
}

.thumb-item.active {
  border-color: #3B1F82;
}

.thumb-item.active img {
  opacity: 1;
}


/* ── 상품 정보 (우측 50%) ─────────────────────────── */
.product-info-panel {
  flex: 1;
  padding-top: 8px;
}

/* 카테고리 & 뱃지 행 */
.info-top-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.info-cats {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #3B1F82;
}

.info-cats a {
  color: #3B1F82;
  transition: color .2s;
}

.info-cats a:hover { color: #22112E; }

.info-badge {
  background: #e8453c;
  color: #fff;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 10px;
}

/* 상품명 */
.info-name {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #22112E;
  line-height: 1.4;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

/* 별점 */
.info-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.stars {
  display: flex;
  gap: 3px;
}

.stars svg {
  width: 14px;
  height: 14px;
}

.rating-text {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 12px;
  color: #aaa;
  letter-spacing: 0.04em;
}

.rating-text span {
  color: #3B1F82;
  font-weight: 600;
}

/* 가격 */
.info-price {
  margin-bottom: 28px;
}

.info-price .price-original {
  text-decoration: line-through;
  color: #bbb;
  font-size: 17px;
  font-weight: 400;
  display: block;
  margin-bottom: 4px;
}

.info-price .price-sale {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #7a4e28;
  letter-spacing: -0.01em;
}

.info-price .price-note {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 14px;
  color: #e8453c;
  font-weight: 600;
  margin-left: 10px;
  letter-spacing: 0.04em;
}

/* 구분선 */
.info-divider {
  height: 1px;
  background: #EAE4DC;
  margin: 24px 0;
}

/* 짧은 설명 */
.info-desc {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 15px;
  color: #22112E;
  line-height: 1.85;
  margin-bottom: 28px;
}

/* 색상 선택 */
.option-group {
  margin-bottom: 24px;
}

.option-label {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #22112E;
  margin-bottom: 12px;
  display: block;
}

.color-swatches {
  display: flex;
  gap: 10px;
}

.swatch {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  outline-offset: 3px;
}

.swatch:hover { transform: scale(1.12); }

.swatch.active {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #3B1F82;
}

/* 수량 + 장바구니 행 */
.add-to-cart-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

/* 수량 컨트롤 */
.qty-wrap {
  display: flex;
  align-items: center;
  border: 1px solid #EAE4DC;
  background: #fff;
}

.qty-btn {
  width: 40px;
  height: 46px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: #3B1F82;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
  line-height: 1;
}

.qty-btn:hover {
  background: #3B1F82;
  color: #fff;
}

.qty-input {
  width: 52px;
  height: 46px;
  text-align: center;
  border: none;
  border-left: 1px solid #EAE4DC;
  border-right: 1px solid #EAE4DC;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #22112E;
  background: #fff;
  outline: none;
  -moz-appearance: textfield;
}

.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

/* 장바구니 버튼 */
.btn-cart-main {
  flex: 1;
  height: 46px;
  background: #3B1F82;
  border: 2px solid #3B1F82;
  color: #fff;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .22s, border-color .22s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 160px;
}

.btn-cart-main:hover {
  background: #22112E;
  border-color: #22112E;
}

.btn-cart-main svg {
  width: 16px;
  height: 16px;
}

/* 위시리스트 버튼 (detail.php) */
.btn-wishlist,
.detail-actions .btn-add-cart {
  width: 46px;
  height: 46px;
  background: #fff;
  border: 1px solid #EAE4DC;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
  color: #bbb;
  flex-shrink: 0;
}

.btn-wishlist:hover,
.btn-wishlist.active {
  background: #fff0f0;
  border-color: #e57373;
  color: #e57373;
}

.btn-wishlist svg {
  width: 18px;
  height: 18px;
}

/* 구매 버튼 */
.btn-buy-now {
  width: 100%;
  height: 46px;
  background: #22112E;
  border: 2px solid #22112E;
  color: #fff;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .22s;
  margin-bottom: 28px;
}

.btn-buy-now:hover {
  background: #22112E;
  border-color: #22112E;
}

/* 상품 메타 — 2열 그리드, 얇은 구분선 */
.info-meta {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  margin: 0;
  padding: 14px 18px;
  border: 1px solid rgba(34, 17, 46, .08);
  border-radius: 6px;
  background: #fafafa;
  letter-spacing: 0;
}
.info-meta .im-row {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(34, 17, 46, .09);
  font-size: 14px;
}
.info-meta .im-row:last-child {
  border-bottom: none;
}
.info-meta dt {
  color: #888;
  font-weight: 500;
  font-size: 13px;
  margin: 0;
}
.info-meta dd {
  color: #22112E;
  font-weight: 500;
  margin: 0;
  word-break: break-word;
}
.info-meta .im-row--note dd {
  line-height: 1.55;
  color: #3c3834;
  font-weight: 400;
  font-size: 13.5px;
}

@media (max-width: 768px) {
  .info-meta { padding: 12px 14px; }
  .info-meta .im-row { grid-template-columns: 72px 1fr; gap: 10px; padding: 8px 0; font-size: 13.5px; }
  .info-meta dt { font-size: 12.5px; }
}

/* 소셜 공유 */
.info-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #EAE4DC;
}

.share-label {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #22112E;
}

.share-btn {
  width: 38px;
  height: 38px;
  border: 1px solid #EAE4DC;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #aaa;
  transition: background .2s, color .2s, border-color .2s;
  border-radius: 50%;
}

.share-btn:hover {
  background: #3B1F82;
  border-color: #3B1F82;
  color: #fff;
}

.share-btn svg {
  width: 16px;
  height: 16px;
}


/* ─────────────────────────────────────────────────────
   PRODUCT TABS
───────────────────────────────────────────────────── */
.product-tabs {
  margin-bottom: 80px;
}

.tab-nav {
  display: flex;
  border-bottom: 2px solid #EAE4DC;
  margin-bottom: 40px;
}

.tab-btn {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #aaa;
  background: none;
  border: none;
  padding: 14px 32px;
  cursor: pointer;
  position: relative;
  transition: color .2s;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #3B1F82;
  transform: scaleX(0);
  transition: transform .25s;
}

.tab-btn:hover { color: #22112E; }

.tab-btn.active {
  color: #22112E;
}

.tab-btn.active::after {
  transform: scaleX(1);
}

/* 탭 패널 */
.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* 상세정보 탭 */
.detail-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 56px;
  margin-bottom: 40px;
}

.detail-info-item h4 {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #22112E;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #EAE4DC;
}

.detail-info-item p,
.detail-info-item ul {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 14px;
  color: #22112E;
  line-height: 1.85;
}

.detail-info-item ul {
  padding-left: 18px;
}

.detail-info-item ul li {
  list-style: disc;
  margin-bottom: 6px;
}

/* 배송 테이블 */
.delivery-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 14px;
}

.delivery-table th,
.delivery-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid #EAE4DC;
  color: #22112E;
}

.delivery-table th {
  width: 160px;
  font-weight: 700;
  color: #22112E;
  background: #f7f2ee;
  letter-spacing: 0.04em;
}

/* 리뷰 탭 */
.review-summary {
  display: flex;
  gap: 48px;
  align-items: center;
  padding: 32px 40px;
  background: #fff;
  margin-bottom: 32px;
}

.review-score {
  text-align: center;
  flex-shrink: 0;
}

.review-score .big-score {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 56px;
  font-weight: 700;
  color: #22112E;
  line-height: 1;
  margin-bottom: 8px;
}

.review-score .score-stars {
  justify-content: center;
  margin-bottom: 6px;
}

.review-score .score-count {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 12px;
  color: #aaa;
}

.review-bars {
  flex: 1;
}

.review-bar-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 12px;
  color: #aaa;
}

.review-bar-row .bar-label {
  width: 28px;
  flex-shrink: 0;
  text-align: right;
  display: flex;
  align-items: center;
  gap: 3px;
  color: #3B1F82;
  font-size: 11px;
}

.review-bar-row .bar-label svg {
  width: 10px;
  height: 10px;
  fill: #3B1F82;
}

.bar-track {
  flex: 1;
  height: 6px;
  background: #EAE4DC;
  border-radius: 3px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: #3B1F82;
  border-radius: 3px;
  transition: width .6s ease;
}

.bar-count {
  width: 24px;
  flex-shrink: 0;
  text-align: right;
}

/* 리뷰 아이템 */
.review-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.review-item {
  background: #fff;
  padding: 28px 32px;
  border-bottom: 1px solid #f0ebe6;
}

.review-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f4e7e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #3B1F82;
  flex-shrink: 0;
}

.reviewer-name {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #22112E;
  margin-bottom: 4px;
}

.reviewer-date {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  color: #bbb;
}

.review-stars { margin-bottom: 12px; }

.review-body {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 14px;
  color: #22112E;
  line-height: 1.85;
}


/* ─────────────────────────────────────────────────────
   관련 상품
───────────────────────────────────────────────────── */
.related-section {
  padding-top: 20px;
}

.related-title {
  text-align: center;
  margin-bottom: 44px;
}

.related-title .sub-script {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 34px;
  color: #3B1F82;
  display: block;
  margin-bottom: 6px;
}

.related-title h2 {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #22112E;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}


/* ─────────────────────────────────────────────────────
   STICKY ADD-TO-CART BAR (스크롤 시 하단 노출)
───────────────────────────────────────────────────── */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #22112E;
  z-index: 500;
  padding: 14px 0;
  transform: translateY(100%);
  transition: transform .35s ease;
  box-shadow: 0 -4px 20px rgba(0,0,0,.18);
}

.sticky-bar.visible {
  transform: translateY(0);
}

.sticky-bar-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
}

.sticky-bar-name {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-bar-price {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #3B1F82;
  white-space: nowrap;
}

.sticky-bar-btn {
  background: #3B1F82;
  border: none;
  color: #fff;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 12px 36px;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.sticky-bar-btn:hover {
  background: #c0a07c;
}


/* ─────────────────────────────────────────────────────
   TOAST 알림
───────────────────────────────────────────────────── */
.toast {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 1000;
  background: #22112E;
  color: #fff;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 14px 22px;
  border-left: 4px solid #3B1F82;
  box-shadow: 0 6px 24px rgba(0,0,0,.18);
  transform: translateX(120%);
  transition: transform .35s ease;
  max-width: 300px;
}

.toast.show {
  transform: translateX(0);
}


/* ─────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .product-detail { gap: 36px; }
  .detail-info-grid { grid-template-columns: 1fr; gap: 28px; }
  .related-grid { grid-template-columns: repeat(3, 1fr); }
  .review-summary { flex-direction: column; gap: 24px; padding: 24px; }
}

@media (max-width: 768px) {
  .product-detail {
    flex-direction: column;
  }

  .product-gallery,
  .product-info-panel {
    flex: 0 0 100%;
    max-width: 100%;
    position: static;
  }

  .info-name { font-size: 20px; }

  .info-price .price-sale { font-size: 22px; }

  .tab-btn { padding: 12px 16px; font-size: 12px; }

  .related-grid { grid-template-columns: repeat(2, 1fr); }

  .sticky-bar-name { display: none; }
}

@media (max-width: 480px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .add-to-cart-row { flex-wrap: wrap; }
  .btn-cart-main { min-width: 100%; order: 3; }
  .tab-nav { overflow-x: auto; }
  .tab-btn { white-space: nowrap; }
}


/* ============================================================================ */
/* SECTION : cart.css  */
/* CART PAGE — cart table, qty control, coupon, order summary sidebar */
/* ============================================================================ */

/* ==========================================================================
   Flower Shop — Cart Page Stylesheet  (cart.html 전용)
   Base: style.css 공통 컴포넌트 위에 덮어씌우는 페이지별 스타일
   ========================================================================== */


/* ─────────────────────────────────────────────────────
   PAGE BANNER
───────────────────────────────────────────────────── */
.page-banner {
  position: relative;
  background-image: url('../images/bg-sub-top.webp');
  background-size: cover;
  background-position: center;
  padding: 64px 0 52px;
  text-align: center;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30, 20, 12, 0.55);
}

.page-banner-inner {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.62);
  transition: color .2s;
}

.breadcrumb a:hover { color: #fff; }

.breadcrumb .sep { margin: 0 10px; }

.page-banner h1 {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
  line-height: 1.35;
  margin: 0;
}


/* ─────────────────────────────────────────────────────
   CART PAGE WRAPPER
───────────────────────────────────────────────────── */
.cart-page {
  background: #F9F5F2;
  padding: 64px 0 96px;
}

.cart-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}


/* ─────────────────────────────────────────────────────
   CART TABLE (좌측)
───────────────────────────────────────────────────── */
.cart-table-wrap {
  flex: 1;
  min-width: 0;
}

/* 섹션 타이틀 */
.cart-section-title {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #22112E;
  letter-spacing: 0.02em;
  padding-bottom: 14px;
  border-bottom: 2px solid #22112E;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-item-count {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #3B1F82;
  letter-spacing: 0.08em;
}

/* 테이블 헤더 */
.cart-table-head {
  display: grid;
  grid-template-columns: 1fr 120px 130px 80px;
  gap: 0;
  padding: 12px 16px;
  background: #f2ece7;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #22112E;
}

/* 카트 아이템 목록 */
.cart-items {
  border-bottom: 1px solid #EAE4DC;
}

/* 개별 아이템 행 */
.cart-item {
  display: grid;
  grid-template-columns: 1fr 120px 130px 80px;
  gap: 0;
  align-items: center;
  padding: 20px 16px;
  border-top: 1px solid #EAE4DC;
  transition: background .18s;
}

.cart-item:hover {
  background: #fff;
}

/* 상품 셀 */
.cart-item-product {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-right: 20px;
}

.cart-item-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item-info {}

.cart-item-cats {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #3B1F82;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.cart-item-name {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #22112E;
  line-height: 1.4;
  margin-bottom: 5px;
}

.cart-item-name a {
  color: inherit;
  transition: color .2s;
}

.cart-item-name a:hover { color: #3B1F82; }

.cart-item-option {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  color: #bbb;
}

.cart-item-option span {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 4px;
  border: 1px solid #ddd;
}

/* 단가 셀 */
.cart-item-price {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 14px;
  color: #22112E;
  text-align: center;
}

.cart-item-price .price-original {
  display: block;
  text-decoration: line-through;
  color: #bbb;
  font-size: 12px;
  margin-bottom: 2px;
}

.cart-item-price .price-sale {
  color: #22112E;
  font-weight: 700;
}

/* 수량 셀 */
.cart-item-qty {
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-wrap {
  display: flex;
  align-items: center;
  border: 1px solid #EAE4DC;
  background: #fff;
}

.qty-btn {
  width: 32px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: #3B1F82;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s, color .18s;
  line-height: 1;
}

.qty-btn:hover {
  background: #3B1F82;
  color: #fff;
}

.qty-input {
  width: 40px;
  height: 38px;
  text-align: center;
  border: none;
  border-left: 1px solid #EAE4DC;
  border-right: 1px solid #EAE4DC;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #22112E;
  background: #fff;
  outline: none;
  -moz-appearance: textfield;
}

.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

/* 삭제 셀 */
.cart-item-remove {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-remove {
  width: 32px;
  height: 32px;
  background: none;
  border: 1px solid #ddd;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  transition: background .18s, color .18s, border-color .18s;
}

.btn-remove:hover {
  background: #e8453c;
  border-color: #e8453c;
  color: #fff;
}

.btn-remove svg { width: 13px; height: 13px; }

/* 장바구니 비어있을 때 */
.cart-empty {
  text-align: center;
  padding: 64px 20px;
  display: none;
}

.cart-empty.visible { display: block; }

.cart-empty svg {
  width: 60px;
  height: 60px;
  color: #EAE4DC;
  margin-bottom: 20px;
}

.cart-empty p {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 15px;
  color: #aaa;
  margin-bottom: 28px;
  line-height: 1.8;
}

.cart-empty .btn-shop {
  display: inline-block;
  padding: 13px 40px;
  background: #3B1F82;
  color: #fff;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: background .2s;
}

.cart-empty .btn-shop:hover {
  background: #22112E;
}

/* 하단 버튼 행 */
.cart-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.btn-continue {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #22112E;
  border: 1px solid #EAE4DC;
  background: #fff;
  padding: 11px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: border-color .2s, background .2s, color .2s;
}

.btn-continue:hover {
  border-color: #22112E;
  background: #22112E;
  color: #fff;
}

.btn-continue svg { width: 14px; height: 14px; }

.btn-update-cart {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #3B1F82;
  border: 1px solid #3B1F82;
  background: #fff;
  padding: 11px 24px;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.btn-update-cart:hover {
  background: #3B1F82;
  color: #fff;
}

/* 쿠폰 입력 */
.cart-coupon {
  display: flex;
  gap: 0;
  margin-top: 28px;
}

.coupon-label {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #22112E;
  margin-bottom: 12px;
  display: block;
}

.coupon-wrap {
  display: flex;
  gap: 0;
  width: 100%;
}

.coupon-input {
  flex: 1;
  height: 44px;
  padding: 0 16px;
  border: 1px solid #EAE4DC;
  border-right: none;
  background: #fff;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  color: #22112E;
  outline: none;
}

.coupon-input::placeholder { color: #bbb; }

.coupon-input:focus { border-color: #3B1F82; }

.btn-coupon {
  height: 44px;
  padding: 0 22px;
  background: #22112E;
  border: 1px solid #22112E;
  color: #fff;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
}

.btn-coupon:hover { background: #22112E; border-color: #22112E; }


/* ─────────────────────────────────────────────────────
   ORDER SUMMARY (우측 사이드바)
───────────────────────────────────────────────────── */
.cart-summary {
  flex: 0 0 340px;
  width: 340px;
  position: sticky;
  top: 20px;
}

.summary-box {
  background: #fff;
  border: 1px solid #EAE4DC;
  padding: 32px 28px;
}

.summary-title {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #22112E;
  padding-bottom: 18px;
  border-bottom: 2px solid #22112E;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 14px;
  color: #22112E;
  margin-bottom: 14px;
}

.summary-row .label { letter-spacing: 0.04em; }

.summary-row .value {
  font-weight: 600;
  color: #22112E;
}

.summary-row.discount .value { color: #e8453c; }

.summary-row.shipping .value { color: #3B1F82; }

.summary-divider {
  height: 1px;
  background: #EAE4DC;
  margin: 18px 0;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.summary-total .total-label {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #22112E;
  letter-spacing: 0.04em;
}

.summary-total .total-value {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #22112E;
}

/* 체크아웃 버튼 */
.btn-checkout {
  width: 100%;
  height: 52px;
  background: #3B1F82;
  border: 2px solid #3B1F82;
  color: #fff;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .22s, border-color .22s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}

.btn-checkout:hover {
  background: #22112E;
  border-color: #22112E;
}

.btn-checkout svg { width: 18px; height: 18px; }

.btn-checkout-secondary {
  width: 100%;
  height: 46px;
  background: #fff;
  border: 1px solid #EAE4DC;
  color: #22112E;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}

.btn-checkout-secondary:hover {
  background: #f4e7e0;
  border-color: #3B1F82;
}

/* 결제 안내 */
.summary-note {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  color: #bbb;
  text-align: center;
  margin-top: 18px;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.summary-note a {
  color: #3B1F82;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}

.summary-note a:hover { border-color: #3B1F82; }

/* 배송 기준 배너 */
.free-shipping-bar {
  background: #f4e7e0;
  padding: 12px 16px;
  margin-top: 18px;
  text-align: center;
}

.free-shipping-bar p {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 12px;
  color: #22112E;
  letter-spacing: 0.05em;
  line-height: 1.6;
}

.free-shipping-bar .highlight { color: #3B1F82; font-weight: 700; }

.shipping-progress {
  height: 4px;
  background: #EAE4DC;
  border-radius: 2px;
  margin-top: 8px;
  overflow: hidden;
}

.shipping-progress-bar {
  height: 100%;
  background: #3B1F82;
  border-radius: 2px;
  transition: width .5s ease;
}

/* 결제 수단 아이콘 */
.payment-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.payment-icon {
  background: #f7f2ee;
  border: 1px solid #EAE4DC;
  border-radius: 4px;
  padding: 4px 10px;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: #22112E;
  letter-spacing: 0.06em;
}


/* ─────────────────────────────────────────────────────
   추천 상품 (장바구니 페이지 하단)
───────────────────────────────────────────────────── */
.upsell-section {
  padding-top: 64px;
  border-top: 1px solid #EAE4DC;
  margin-top: 64px;
}

.upsell-title {
  text-align: center;
  margin-bottom: 44px;
}

.upsell-title .sub-script {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 34px;
  color: #3B1F82;
  display: block;
  margin-bottom: 6px;
}

.upsell-title h2 {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #22112E;
}

.upsell-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}


/* ─────────────────────────────────────────────────────
   TOAST
───────────────────────────────────────────────────── */
.toast {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 1000;
  background: #22112E;
  color: #fff;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 14px 22px;
  border-left: 4px solid #3B1F82;
  box-shadow: 0 6px 24px rgba(0,0,0,.18);
  transform: translateX(120%);
  transition: transform .35s ease;
  max-width: 300px;
}

.toast.show { transform: translateX(0); }


/* ─────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .cart-layout {
    flex-direction: column;
  }
  .cart-summary {
    flex: none;
    width: 100%;
    position: static;
  }
  .upsell-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .cart-table-head { display: none; }

  /* 5개 자식(product, price, qty, subtotal, remove)을 3행 grid 로 명확히 분리
     → 모바일 좁은 폭에서 소계·삭제가 우측으로 튀어나가는 깨짐 해소 */
  .cart-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "product  product"
      "qty      subtotal"
      "price    remove";
    column-gap: 12px;
    row-gap: 8px;
    padding: 14px;
    min-width: 0;
  }
  .cart-item-product       { grid-area: product; min-width: 0; }
  .cart-item-qty           { grid-area: qty; justify-self: start; }
  .cart-item-subtotal-cell { grid-area: subtotal; justify-self: end; align-self: center; }
  .cart-item-price         { grid-area: price; justify-self: start; align-self: center; text-align: left; }
  .cart-item-remove        { grid-area: remove; justify-self: end; align-self: center; }

  .upsell-grid { grid-template-columns: repeat(2, 1fr); }

  .cart-actions { flex-direction: column; align-items: stretch; }

  .btn-continue,
  .btn-update-cart { justify-content: center; }
}

@media (max-width: 480px) {
  .page-banner h1 { font-size: 26px; }
  .upsell-grid { gap: 14px; }
}


/* ============================================================================ */
/* SECTION : order.css  */
/* ORDER PAGE — step indicator, form fields, payment methods, agreement */
/* ============================================================================ */

/* ==========================================================================
   Flower Shop — Order Page Stylesheet  (order.html 전용)
   Base: style.css 공통 컴포넌트 위에 덮어씌우는 페이지별 스타일
   ========================================================================== */


/* ─────────────────────────────────────────────────────
   PAGE BANNER
───────────────────────────────────────────────────── */
.page-banner {
  position: relative;
  background-image: url('../images/bg-passion.png');
  background-size: cover;
  background-position: center;
  padding: 64px 0 52px;
  text-align: center;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30, 20, 12, 0.55);
}

.page-banner-inner {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.62);
  transition: color .2s;
}

.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { margin: 0 10px; }

.page-banner h1 {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
  line-height: 1.35;
  margin: 0;
}


/* ─────────────────────────────────────────────────────
   ORDER PAGE WRAPPER
───────────────────────────────────────────────────── */
.order-page {
  background: #F9F5F2;
  padding: 64px 0 96px;
}


/* ─────────────────────────────────────────────────────
   STEP INDICATOR
───────────────────────────────────────────────────── */
.order-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
}

.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 16px;
  left: calc(50% + 16px);
  width: 80px;
  height: 1px;
  background: #ddd;
}

.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #EAE4DC;
  background: #fff;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #bbb;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}

.step-label {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #bbb;
  white-space: nowrap;
}

.step-item.done .step-circle {
  background: #3B1F82;
  border-color: #3B1F82;
  color: #fff;
}

.step-item.done .step-label { color: #3B1F82; }

.step-item.active .step-circle {
  background: #22112E;
  border-color: #22112E;
  color: #fff;
}

.step-item.active .step-label {
  color: #22112E;
  font-weight: 700;
}

/* 스텝 간 연결선 wrapper */
.step-connector {
  width: 80px;
  height: 1px;
  background: #ddd;
  margin-bottom: 20px;
  flex-shrink: 0;
}


/* ─────────────────────────────────────────────────────
   2-COLUMN LAYOUT
───────────────────────────────────────────────────── */
.order-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.order-form-col {
  flex: 1;
  min-width: 0;
}

.order-summary-col {
  flex: 0 0 340px;
  position: sticky;
  top: 90px;
}


/* ─────────────────────────────────────────────────────
   공통 SECTION CARD
───────────────────────────────────────────────────── */
.order-card {
  background: #fff;
  border: 1px solid #ece4dc;
  margin-bottom: 24px;
}

.order-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid #ece4dc;
  cursor: pointer;
  user-select: none;
}

.order-card-title {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #22112E;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.order-card-title .step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #3B1F82;
  color: #fff;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-toggle-icon {
  width: 18px;
  height: 18px;
  color: #3B1F82;
  transition: transform .3s ease;
}

.order-card-header.collapsed .card-toggle-icon {
  transform: rotate(-90deg);
}

.order-card-body {
  padding: 28px;
}

.order-card-body.collapsed { display: none; }


/* ─────────────────────────────────────────────────────
   FORM ELEMENTS
───────────────────────────────────────────────────── */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-row.full { grid-template-columns: 1fr; }
.form-row.triple { grid-template-columns: 1fr 1fr 1fr; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-label {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #22112E;
}

.form-label .req {
  color: #c0442a;
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #EAE4DC;
  background: #fff;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 14px;
  color: #22112E;
  outline: none;
  transition: border-color .2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #c0b5ab;
  font-weight: 300;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #3B1F82;
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: #c0442a;
  background: #fff9f8;
}

.form-error-msg {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  color: #c0442a;
  display: none;
  margin-top: 3px;
}

.form-error-msg.visible { display: block; }

.form-textarea {
  height: auto;
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.7;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%233B1F82' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

/* 주소 버튼 행 */
.addr-search-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.addr-search-row .form-input {
  flex: 1;
  background: #f7f4f1;
  color: #aaa;
  cursor: default;
}

.btn-addr-search {
  flex-shrink: 0;
  padding: 0 20px;
  height: 44px;
  background: #22112E;
  color: #fff;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
}

.btn-addr-search:hover { background: #3B1F82; }

/* 배송 메모 */
.delivery-note-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.delivery-note-row .form-select { flex: 1; }

.delivery-custom-note {
  margin-bottom: 16px;
  display: none;
}

.delivery-custom-note.visible { display: block; }


/* ─────────────────────────────────────────────────────
   SAME ADDR CHECKBOX
───────────────────────────────────────────────────── */
.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 14px 18px;
  background: #f7f4f1;
  border: 1px solid #ece4dc;
  cursor: pointer;
  user-select: none;
}

.check-row input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: #3B1F82;
  cursor: pointer;
  flex-shrink: 0;
}

.check-row label {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  color: #22112E;
  cursor: pointer;
}


/* ─────────────────────────────────────────────────────
   PAYMENT METHOD
───────────────────────────────────────────────────── */
.payment-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.pay-option {
  position: relative;
}

.pay-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.pay-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 12px;
  border: 2px solid #EAE4DC;
  background: #fff;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  text-align: center;
}

.pay-label:hover {
  border-color: #3B1F82;
}

.pay-option input[type="radio"]:checked + .pay-label {
  border-color: #3B1F82;
  background: #fdf8f4;
}

.pay-icon {
  font-size: 22px;
  line-height: 1;
}

.pay-name {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #22112E;
}

.pay-option input[type="radio"]:checked + .pay-label .pay-name {
  color: #3B1F82;
}

/* 결제 상세 패널 */
.payment-detail {
  padding: 20px;
  background: #f7f4f1;
  border: 1px solid #ece4dc;
  margin-top: -1px;
  display: none;
}

.payment-detail.visible { display: block; }

.payment-detail p {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  color: #22112E;
  line-height: 1.8;
}

.payment-detail strong { color: #22112E; }

/* 카드 행 */
.card-number-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.card-number-row .form-input {
  flex: 1;
  text-align: center;
  letter-spacing: 0.2em;
  font-size: 16px;
  font-weight: 700;
}

.card-sep {
  font-size: 20px;
  color: #ddd;
  flex-shrink: 0;
}


/* ─────────────────────────────────────────────────────
   AGREEMENT
───────────────────────────────────────────────────── */
.agree-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.agree-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.agree-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #3B1F82;
  flex-shrink: 0;
  cursor: pointer;
}

.agree-row label {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  color: #22112E;
  cursor: pointer;
  flex: 1;
  line-height: 1.5;
}

.agree-row label a {
  color: #3B1F82;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.agree-row label a:hover { color: #22112E; }

.agree-row.all label {
  font-weight: 700;
  color: #22112E;
}

.agree-divider {
  border: none;
  border-top: 1px solid #ece4dc;
  margin: 4px 0;
}


/* ─────────────────────────────────────────────────────
   ORDER SUMMARY (우측)
───────────────────────────────────────────────────── */
.summary-box {
  background: #fff;
  border: 1px solid #ece4dc;
  padding: 28px;
}

.summary-title {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #22112E;
  padding-bottom: 16px;
  border-bottom: 2px solid #22112E;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

/* 상품 미리보기 목록 */
.order-items {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ece4dc;
}

.order-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 10px 0;
}

.order-item:not(:last-child) {
  border-bottom: 1px solid #f4ede8;
}

.order-item-img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  flex-shrink: 0;
}

.order-item-info {
  flex: 1;
  min-width: 0;
}

.order-item-name {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #22112E;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.order-item-option {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  color: #bbb;
  margin-bottom: 2px;
}

.order-item-qty {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  color: #3B1F82;
}

.order-item-price {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #22112E;
  white-space: nowrap;
  flex-shrink: 0;
}

/* 요약 행 */
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.summary-row .label {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  color: #888;
}

.summary-row .value {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  color: #22112E;
  font-weight: 600;
}

.summary-row.discount .value { color: #c0442a; }
.summary-row.shipping .value { color: #22112E; }

.summary-divider {
  border: none;
  border-top: 1px solid #ece4dc;
  margin: 10px 0;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0 20px;
}

.total-label {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #22112E;
}

.total-value {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #3B1F82;
}

/* 주문하기 버튼 */
.btn-order {
  width: 100%;
  height: 52px;
  background: #3B1F82;
  color: #fff;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background .2s;
  margin-bottom: 12px;
}

.btn-order:hover { background: #22112E; }
.btn-order svg { width: 18px; height: 18px; }

.btn-order-secondary {
  width: 100%;
  height: 48px;
  background: #fee500;
  color: #3c1e1e;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  transition: background .2s;
  margin-bottom: 16px;
}

.btn-order-secondary:hover { background: #f6d700; }

/* 요약 하단 노트 */
.summary-note {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  color: #bbb;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 16px;
}

.summary-note a {
  color: #3B1F82;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* 보안 배지 */
.security-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid #ece4dc;
}

.security-badge {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 10px;
  color: #bbb;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.06em;
  text-align: center;
}

.security-badge svg {
  width: 22px;
  height: 22px;
  color: #EAE4DC;
}

/* 쿠폰 */
.coupon-applied-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #fff8f2;
  border: 1px solid #f0d9c4;
  margin-bottom: 12px;
  display: none;
}

.coupon-applied-row.visible { display: flex; }

.coupon-applied-text {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 12px;
  color: #3B1F82;
  font-weight: 700;
}

.btn-remove-coupon {
  background: none;
  border: none;
  font-size: 16px;
  color: #bbb;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}

.btn-remove-coupon:hover { color: #c0442a; }


/* ─────────────────────────────────────────────────────
   TOAST
───────────────────────────────────────────────────── */
.toast {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  background: #22112E;
  color: #fff;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  padding: 14px 24px;
  min-width: 220px;
  max-width: 340px;
  box-shadow: 0 6px 24px rgba(60,56,52,.18);
  transform: translateX(calc(100% + 40px));
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}

.toast.show { transform: translateX(0); }


/* ─────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .order-layout { flex-direction: column; }
  .order-summary-col { flex: none; width: 100%; position: static; }
  .payment-methods { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .order-steps { gap: 0; }
  .step-connector { width: 40px; }
  .order-card-body { padding: 20px 18px; }
  .order-card-header { padding: 16px 18px; }
  .form-row { grid-template-columns: 1fr; }
  .form-row.triple { grid-template-columns: 1fr 1fr; }
  .payment-methods { grid-template-columns: repeat(2, 1fr); }
  .card-number-row { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .page-banner h1 { font-size: 26px; }
  .form-row.triple { grid-template-columns: 1fr; }
  .payment-methods { grid-template-columns: 1fr 1fr; }
  .order-steps { gap: 0; }
  .step-connector { width: 20px; }
  .step-label { font-size: 9px; }
}


/* ============================================================================ */
/* SECTION : join.css  */
/* JOIN PAGE — sign-up form, social buttons, terms checkbox */
/* ============================================================================ */

/* ==========================================================================
   월드플로라 — join.css   회원가입 페이지 전용 스타일   2026
   ─────────────────────────────────────────────────────────────────────────
   의존: style.css → index.css → join.css  순서로 로드
   ========================================================================== */

/* ─── 페이지 기본 ─────────────────────────────────── */
body.join-page {
  background: #F9F5F2;
  min-height: 100vh;
}

/* ─── 섹션 전체 ───────────────────────────────────── */
.join-section {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: stretch;
}

/* ─── 배경 이미지 ─────────────────────────────────── */
.join-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  filter: blur(4px);
  transform: scale(1.04); /* blur 엣지 잘림 방지 */
}
.join-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(34, 17, 46, 0.88) 0%,
    rgba(59, 31, 130, 0.60) 55%,
    rgba(34, 17, 46, 0.50) 100%
  );
}

/* ─── 컨텐츠 래퍼 ────────────────────────────────── */
.join-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 72px 40px;
  display: flex;
  align-items: flex-start;
  gap: 72px;
}

/* ─── 좌측: 브랜드 ───────────────────────────────── */
.join-brand {
  flex: 1;
  color: #ffffff;
  padding-top: 12px;
  position: sticky;
  top: 100px;
}

.join-script {
  display: block;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 24px;
  color: rgba(255,255,255,.72);
  margin-bottom: 16px;
  line-height: 1.4;
}

.join-brand-title {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin: 0 0 28px;
}

.join-brand-divider {
  width: 48px;
  height: 2px;
  background: rgba(255,255,255,.45);
  margin-bottom: 28px;
}

/* 혜택 리스트 */
.join-benefits {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.join-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,.82);
  line-height: 1.5;
}

.join-benefits li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: rgba(255,255,255,.6);
  stroke: rgba(255,255,255,.6);
}

.join-brand-link {
  display: inline-block;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #ffffff;
  border-bottom: 1px solid rgba(255,255,255,.45);
  padding-bottom: 3px;
  transition: border-color .2s, color .2s;
}
.join-brand-link:hover {
  color: rgba(255,255,255,.72);
  border-color: rgba(255,255,255,.22);
  text-decoration: none;
}

/* ─── 우측: 가입 카드 ────────────────────────────── */
.join-card {
  width: 460px;
  flex-shrink: 0;
  background: #ffffff;
  padding: 44px 40px;
  box-shadow: 0 24px 64px rgba(34,17,46,.18);
}

.join-card-logo {
  margin-bottom: 24px;
}

.join-card-title {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #22112E;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}

.join-card-sub {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  color: #746979;
  margin: 0 0 28px;
}

/* ─── 폼 ─────────────────────────────────────────── */
.join-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #22112E;
  font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="tel"] {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid #EAE4DC;
  background: #faf8f6;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 15px;
  color: #22112E;
  outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
  box-sizing: border-box;
  border-radius: 0;
  -webkit-appearance: none;
}

.form-group input:focus {
  border-color: #3B1F82;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(59,31,130,.08);
}

.form-group input::placeholder {
  color: #b8afc0;
  font-size: 15px;
}

.form-group.has-error input {
  border-color: #c0392b;
  background: #fff9f9;
}

.form-error {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  color: #c0392b;
  min-height: 14px;
}

/* ─── 이메일 중복확인 wrap ────────────────────────── */
.input-action-wrap {
  display: flex;
  gap: 0;
}

.input-action-wrap input {
  flex: 1;
}

.btn-check {
  flex-shrink: 0;
  height: 46px;
  padding: 0 16px;
  background: #22112E;
  border: 1px solid #22112E;
  color: #ffffff;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, border-color .2s;
}

.btn-check:hover {
  background: #3B1F82;
  border-color: #3B1F82;
}

.btn-check.checked {
  background: #2e7d52;
  border-color: #2e7d52;
  cursor: default;
}

/* ─── 비밀번호 토글 ───────────────────────────────── */
.input-password-wrap {
  position: relative;
}

.input-password-wrap input {
  padding-right: 46px;
}

.toggle-pw {
  position: absolute;
  right: 0;
  top: 0;
  height: 46px;
  width: 44px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b8afc0;
  transition: color .2s;
  padding: 0;
}

.toggle-pw:hover { color: #22112E; }

.toggle-pw svg {
  width: 17px;
  height: 17px;
  pointer-events: none;
}

/* ─── 비밀번호 강도 ───────────────────────────────── */
.pw-strength {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.pw-strength-bar {
  flex: 1;
  height: 3px;
  background: #EAE4DC;
  overflow: hidden;
}

.pw-strength-bar span {
  display: block;
  height: 100%;
  width: 0;
  transition: width .3s, background .3s;
}

.pw-strength-label {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 10px;
  color: #b8afc0;
  white-space: nowrap;
  min-width: 36px;
  text-align: right;
}

/* ─── 약관 ────────────────────────────────────────── */
.join-terms {
  border: 1px solid #EAE4DC;
  background: #faf8f6;
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.terms-divider {
  height: 1px;
  background: #EAE4DC;
  margin: 2px 0;
}

.check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 12px;
  color: #746979;
  cursor: pointer;
  user-select: none;
  flex-wrap: wrap;
}

.check-label strong {
  color: #22112E;
  font-size: 13px;
}

.check-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 16px;
  height: 16px;
  border: 1px solid #EAE4DC;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s, border-color .2s;
}

.check-label input:checked + .checkmark {
  background: #3B1F82;
  border-color: #3B1F82;
}

.check-label input:checked + .checkmark::after {
  content: '';
  display: block;
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}

.check-all .checkmark {
  border-color: #c8bfb6;
}

.terms-link {
  margin-left: auto;
  font-size: 10px;
  color: #b8afc0;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  letter-spacing: 0.1em;
  transition: color .2s;
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  line-height: inherit;
}
.terms-link:hover { color: #3B1F82; }

/* ─── 가입 버튼 ───────────────────────────────────── */
.btn-join {
  width: 100%;
  height: 50px;
  background: #3B1F82;
  border: none;
  color: #ffffff;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background .22s;
  margin-top: 4px;
}

.btn-join:hover {
  background: #5533a8;
}

.btn-join-spinner svg {
  width: 16px;
  height: 16px;
  animation: spin .8s linear infinite;
}

/* 가입 완료 성공 박스 */
.join-success {
  text-align: center;
  padding: 40px 20px;
}
.join-success svg {
  display: block;
  margin: 0 auto 16px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ─── 구분선 ──────────────────────────────────────── */
.join-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 16px;
  color: #b8afc0;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
}

.join-divider::before,
.join-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #EAE4DC;
}

/* ─── 소셜 가입 버튼 ──────────────────────────────── */
.social-join {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-social {
  width: 100%;
  height: 46px;
  border: none;
  cursor: pointer;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: opacity .2s;
}

.btn-social:hover { opacity: .88; }

.btn-kakao {
  background: #FEE500;
  color: #3C1E1E;
}

.btn-naver {
  background: #03C75A;
  color: #ffffff;
}

.naver-n {
  display: inline-flex;
  width: 18px;
  height: 18px;
  background: #03C75A;
  border: 1.5px solid rgba(255,255,255,.6);
  border-radius: 2px;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

/* ─── 로그인 안내 ─────────────────────────────────── */
.join-login {
  margin-top: 22px;
  text-align: center;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 16px;
  color: #746979;
}

.join-login a {
  color: #3B1F82;
  font-weight: 600;
  margin-left: 4px;
  transition: color .2s;
}

.join-login a:hover {
  color: #5533a8;
  text-decoration: none;
}

/* ─── 반응형 ──────────────────────────────────────── */
@media (max-width: 960px) {
  .join-container {
    flex-direction: column;
    gap: 36px;
    padding: 56px 24px;
    align-items: flex-start;
  }

  .join-brand {
    width: 100%;
    position: static;
  }

  .join-brand-title {
    font-size: 30px;
  }

  .join-card {
    width: 100%;
    max-width: 520px;
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  .join-container {
    padding: 36px 16px;
  }

  .join-script {
    font-size: 20px;
  }

  .join-brand-title {
    font-size: 26px;
  }

  .join-card {
    padding: 24px 16px;
  }

  .join-card-title {
    font-size: 19px;
  }

  .input-action-wrap {
    flex-direction: column;
    gap: 8px;
  }

  .btn-check {
    height: 42px;
    width: 100%;
  }
}


/* ============================================================================ */
/* SECTION : login.css  */
/* LOGIN PAGE — login form, social login, brand side panel */
/* ============================================================================ */

/* ==========================================================================
   월드플로라 — login.css   로그인 페이지 전용 스타일   2026
   ─────────────────────────────────────────────────────────────────────────
   의존: style.css → index.css → login.css  순서로 로드
   ========================================================================== */

/* ─── 페이지 기본 ─────────────────────────────────── */
body.login-page {
  background: #F9F5F2;
  min-height: 100vh;
}

/* ─── 로그인 섹션 전체 래퍼 ───────────────────────── */
.login-section {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: stretch;
}

/* ─── 배경 이미지 레이어 ──────────────────────────── */
.login-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  filter: blur(4px);
  transform: scale(1.04);
}
.login-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(34, 17, 46, 0.88) 0%,
    rgba(59, 31, 130, 0.60) 55%,
    rgba(34, 17, 46, 0.50) 100%
  );
}

/* ─── 콘텐츠 컨테이너 ─────────────────────────────── */
.login-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 40px;
  display: flex;
  align-items: center;
  gap: 80px;
}

/* ─── 좌측: 브랜드 소개 ───────────────────────────── */
.login-brand {
  flex: 1;
  color: #ffffff;
}

.login-script {
  display: block;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 26px;
  color: rgba(255,255,255,.75);
  margin-bottom: 18px;
  line-height: 1.4;
}

.login-brand-title {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin: 0 0 28px;
}

.login-brand-divider {
  width: 48px;
  height: 2px;
  background: rgba(255,255,255,.5);
  margin-bottom: 24px;
}

.login-brand-desc {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255,255,255,.75);
  margin-bottom: 36px;
}

.login-brand-link {
  display: inline-block;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #ffffff;
  border-bottom: 1px solid rgba(255,255,255,.5);
  padding-bottom: 3px;
  transition: border-color .2s, color .2s;
}
.login-brand-link:hover {
  color: rgba(255,255,255,.75);
  border-color: rgba(255,255,255,.25);
  text-decoration: none;
}

/* ─── 우측: 로그인 카드 ───────────────────────────── */
.login-card {
  width: 420px;
  flex-shrink: 0;
  background: #ffffff;
  padding: 48px 44px;
  box-shadow: 0 24px 64px rgba(34,17,46,.18);
}

.login-card-logo {
  margin-bottom: 28px;
}

.login-card-title {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #22112E;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}

.login-card-sub {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  color: #746979;
  margin: 0 0 32px;
}

/* ─── 폼 공통 ─────────────────────────────────────── */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* 서버 오류 메시지 박스 */
.login-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fef0f0;
  border: 1px solid #f5c6c6;
  border-left: 3px solid #d94040;
  border-radius: 4px;
  padding: 12px 16px;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13.5px;
  color: #b32222;
  line-height: 1.5;
}

.login-alert svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: #d94040;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #22112E;
  font-weight: 600;
}

.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="text"] {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid #EAE4DC;
  background: #faf8f6;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 15px;
  color: #22112E;
  outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
  box-sizing: border-box;
  border-radius: 0;
  -webkit-appearance: none;
}

.form-group input:focus {
  border-color: #3B1F82;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(59,31,130,.08);
}

.form-group input::placeholder {
  color: #b8afc0;
  font-size: 15px;
}

/* 유효성 오류 상태 */
.form-group.has-error input {
  border-color: #c0392b;
  background: #fff9f9;
}

.form-error {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  color: #c0392b;
  min-height: 14px;
}

/* ─── 비밀번호 토글 ───────────────────────────────── */
.input-password-wrap {
  position: relative;
}

.input-password-wrap input {
  padding-right: 46px;
}

.toggle-pw {
  position: absolute;
  right: 0;
  top: 0;
  height: 46px;
  width: 44px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b8afc0;
  transition: color .2s;
  padding: 0;
}

.toggle-pw:hover {
  color: #22112E;
}

.toggle-pw svg {
  width: 17px;
  height: 17px;
  pointer-events: none;
}

/* ─── 로그인 유지 & 비밀번호 찾기 ────────────────── */
.form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: -4px;
}

.check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 12px;
  color: #746979;
  cursor: pointer;
  user-select: none;
}

.check-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 16px;
  height: 16px;
  border: 1px solid #EAE4DC;
  background: #faf8f6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s, border-color .2s;
}

.check-label input:checked + .checkmark {
  background: #3B1F82;
  border-color: #3B1F82;
}

.check-label input:checked + .checkmark::after {
  content: '';
  display: block;
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}

.forgot-link {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  color: #3B1F82;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s, opacity .2s;
}
.forgot-link:hover {
  color: #22112E;
  opacity: .8;
  text-decoration: underline;
}

/* ─── 로그인 버튼 ─────────────────────────────────── */
.btn-login {
  width: 100%;
  height: 50px;
  background: #22112E;
  border: none;
  color: #ffffff;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background .22s;
  margin-top: 4px;
}

.btn-login:hover {
  background: #3B1F82;
}

.btn-login-spinner svg {
  width: 16px;
  height: 16px;
  animation: spin .8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ─── 구분선 ──────────────────────────────────────── */
.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 18px;
  color: #b8afc0;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
}

.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #EAE4DC;
}

/* ─── 소셜 로그인 ─────────────────────────────────── */
.social-login {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-social {
  width: 100%;
  height: 46px;
  border: none;
  cursor: pointer;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: opacity .2s, filter .2s;
}

.btn-social:hover {
  opacity: .88;
}

.btn-kakao {
  background: #FEE500;
  color: #3C1E1E;
}

.btn-naver {
  background: #03C75A;
  color: #ffffff;
}

.naver-n {
  display: inline-flex;
  width: 18px;
  height: 18px;
  background: #03C75A;
  border: 1.5px solid rgba(255,255,255,.6);
  border-radius: 2px;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

/* ─── 회원가입 안내 ───────────────────────────────── */
.login-signup {
  margin-top: 24px;
  text-align: center;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  color: #746979;
}

.login-signup a {
  color: #3B1F82;
  font-weight: 600;
  margin-left: 4px;
  transition: color .2s;
}

.login-signup a:hover {
  color: #5533a8;
  text-decoration: none;
}

/* ─── 반응형 ──────────────────────────────────────── */
@media (max-width: 900px) {
  .login-container {
    flex-direction: column;
    gap: 40px;
    padding: 60px 24px;
    align-items: flex-start;
  }

  .login-brand {
    width: 100%;
  }

  .login-brand-title {
    font-size: 32px;
  }

  .login-card {
    width: 100%;
    max-width: 480px;
    padding: 36px 28px;
  }
}

@media (max-width: 480px) {
  .login-container {
    padding: 40px 16px;
  }

  .login-script {
    font-size: 20px;
  }

  .login-brand-title {
    font-size: 26px;
  }

  .login-card {
    padding: 28px 20px;
  }

  .login-card-title {
    font-size: 19px;
  }
}


/* ============================================================================ */
/* SECTION : mypage.css  */
/* MYPAGE — sidebar, dashboard, wishlist, points, coupons, address, settings */
/* ============================================================================ */

/* ==========================================================================
   Flower Shop — MyPage Stylesheet  (mypage.html 전용)
   Base: style.css 공통 컴포넌트 위에 덮어씌우는 페이지별 스타일
   ========================================================================== */


/* ─────────────────────────────────────────────────────
   PAGE BANNER
───────────────────────────────────────────────────── */
.page-banner {
  position: relative;
  background-image: url('../images/bg-passion.png');
  background-size: cover;
  background-position: center;
  padding: 64px 0 52px;
  text-align: center;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30, 20, 12, 0.55);
}

.page-banner-inner {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.62);
  transition: color .2s;
}

.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { margin: 0 10px; }

.page-banner h1 {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
  line-height: 1.35;
  margin: 0;
}


/* ─────────────────────────────────────────────────────
   MYPAGE WRAPPER
───────────────────────────────────────────────────── */
.mypage {
  background: #F9F5F2;
  padding: 60px 0 100px;
}

.mypage-layout {
  display: flex;
  gap: 36px;
  align-items: flex-start;
}


/* ─────────────────────────────────────────────────────
   SIDEBAR
───────────────────────────────────────────────────── */
.mypage-sidebar {
  flex: 0 0 240px;
  position: sticky;
  top: 90px;
}

/* 프로필 카드 */
.profile-card {
  background: #fff;
  border: 1px solid #ece4dc;
  padding: 28px 24px;
  text-align: center;
  margin-bottom: 12px;
}

.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #f4e7e0;
  border: 3px solid #3B1F82;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  overflow: hidden;
  position: relative;
}

.profile-avatar svg {
  width: 38px;
  height: 38px;
  color: #3B1F82;
}

.profile-avatar-edit {
  position: absolute;
  inset: 0;
  background: rgba(60,56,52,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s;
  cursor: pointer;
  border-radius: 50%;
}

.profile-avatar:hover .profile-avatar-edit { opacity: 1; }

.profile-avatar-edit svg {
  width: 18px;
  height: 18px;
  color: #fff;
}

.profile-name {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #22112E;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

.profile-email {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 12px;
  color: #aaa;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.profile-grade {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 14px;
  background: #f4e7e0;
  border-radius: 20px;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #3B1F82;
  letter-spacing: 0.08em;
}

.profile-grade svg {
  width: 13px;
  height: 13px;
}

/* 포인트/쿠폰 */
.profile-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #ece4dc;
  border: 1px solid #ece4dc;
  margin-bottom: 12px;
}

.profile-stat-item {
  background: #fff;
  padding: 14px 10px;
  text-align: center;
}

.stat-value {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #3B1F82;
  line-height: 1.2;
  display: block;
  margin-bottom: 4px;
}

.stat-label {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 10px;
  color: #bbb;
  letter-spacing: 0.08em;
  display: block;
}

/* 사이드바 내비 */
.sidebar-nav {
  background: #fff;
  border: 1px solid #ece4dc;
  overflow: hidden;
}

.sidebar-nav-group {
  border-bottom: 1px solid #ece4dc;
}

.sidebar-nav-group:last-child { border-bottom: none; }

.sidebar-nav-group-title {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #bbb;
  padding: 14px 20px 8px;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  color: #22112E;
  cursor: pointer;
  transition: background .18s, color .18s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.sidebar-nav-item svg {
  width: 16px;
  height: 16px;
  color: #EAE4DC;
  flex-shrink: 0;
  transition: color .18s;
}

.sidebar-nav-item:hover {
  background: #F9F5F2;
  color: #3B1F82;
}

.sidebar-nav-item:hover svg { color: #3B1F82; }

.sidebar-nav-item.active {
  background: #fdf8f4;
  color: #3B1F82;
  font-weight: 700;
}

.sidebar-nav-item.active svg { color: #3B1F82; }

.sidebar-nav-badge {
  margin-left: auto;
  background: #3B1F82;
  color: #fff;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
}

/* 로그아웃 */
.sidebar-logout {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 12px;
  color: #bbb;
  cursor: pointer;
  background: none;
  border: none;
  border-top: 1px solid #ece4dc;
  width: 100%;
  text-align: left;
  transition: color .18s;
  margin-top: 12px;
}

.sidebar-logout:hover { color: #c0442a; }

.sidebar-logout svg {
  width: 15px;
  height: 15px;
}


/* ─────────────────────────────────────────────────────
   MAIN CONTENT AREA
───────────────────────────────────────────────────── */
.mypage-content {
  flex: 1;
  min-width: 0;
}

/* 공통 패널 */
.mypage-panel {
  display: none;
}

.mypage-panel.active {
  display: block;
}

/* 패널 헤더 */
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #22112E;
}

.panel-title {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #22112E;
  letter-spacing: 0.02em;
}

.panel-subtitle {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 12px;
  color: #bbb;
  margin-left: 10px;
}


/* ─────────────────────────────────────────────────────
   DASHBOARD 패널
───────────────────────────────────────────────────── */
/* 주문 현황 요약 */
.order-status-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: #ece4dc;
  border: 1px solid #ece4dc;
  margin-bottom: 28px;
}

.order-status-item {
  background: #fff;
  padding: 20px 10px;
  text-align: center;
  cursor: pointer;
  transition: background .18s;
}

.order-status-item:hover { background: #fdf8f4; }

.order-status-count {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #3B1F82;
  display: block;
  margin-bottom: 6px;
}

.order-status-label {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  color: #888;
  letter-spacing: 0.06em;
  display: block;
}

.order-status-arrow {
  font-size: 14px;
  color: #EAE4DC;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 0;
  background: #F9F5F2;
}

/* 최근 주문 */
.section-card {
  background: #fff;
  border: 1px solid #ece4dc;
  margin-bottom: 20px;
}

.section-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid #ece4dc;
}

.section-card-title {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #22112E;
  letter-spacing: 0.02em;
}
/* 주문 안내 배지 (최근 주문 내역 / 주문 내역 타이틀 옆) */
.section-card-note {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 10px;
  padding: 4px 11px 4px 9px;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  color: #8a5a1e;
  background: linear-gradient(180deg, #fff8ec 0%, #fdeed5 100%);
  border: 1px solid #f0d9b0;
  border-radius: 999px;
  vertical-align: middle;
  white-space: nowrap;
}
.section-card-note::before {
  content: '';
  display: inline-block;
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8862a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E");
}
@media (max-width: 768px) {
  .section-card-note {
    display: inline-flex;
    margin: 6px 0 0;
    font-size: 11px;
    white-space: normal;
  }
}

.section-card-more {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  color: #3B1F82;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: color .2s;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.section-card-more:hover { color: #22112E; }
.section-card-more svg { width: 12px; height: 12px; }

.section-card-body { padding: 0; }


/* ─────────────────────────────────────────────────────
   주문 목록 (공통)
───────────────────────────────────────────────────── */
.order-list-item {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 18px 24px;
  border-bottom: 1px solid #f0ebe5;
  transition: background .18s, box-shadow .18s;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.order-list-item:last-child { border-bottom: none; }
.order-list-item:hover {
  background: #fdf8f4;
  box-shadow: inset 0 0 0 1px #e8d8f0;
}

/* ── 주문 내역 주차 탭 ──────────────────────────────────── */
.order-week-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #f0ebe5;
  margin-bottom: 20px;
}

.order-week-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #aaa;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}

.order-week-tab:hover { color: #666; }

.order-week-tab.tab-a.active {
  color: #3B1F82;
  border-bottom-color: #3B1F82;
}
.order-week-tab.tab-b.active {
  color: #c0395a;
  border-bottom-color: #c0395a;
}

.owt-label { font-size: 14px; font-weight: 700; }

.owt-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 20px;
  padding: 0 7px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  background: #f0ebe5;
  color: #aaa;
  transition: background .2s, color .2s;
}
.order-week-tab.tab-a.active .owt-count {
  background: #ede8fb;
  color: #3B1F82;
}
.order-week-tab.tab-b.active .owt-count {
  background: #fde8ef;
  color: #c0395a;
}

/* 탭 패널 */
.order-week-panel[hidden] { display: none; }

/* 1주차 아이템 — 왼쪽 강조선 */
.order-item-a,
.order-item-b {
  border-left: 4px solid transparent;
  padding-left: 20px;
}
.order-item-a { border-left-color: #3B1F82; }
.order-item-b { border-left-color: #c0395a; }

/* 빈 목록 메시지 */
.order-empty-msg {
  padding: 48px 24px;
  text-align: center;
  color: #bbb;
  font-size: 13px;
}

/* 주차 구분 사이드 스트라이프 (이전 코드 유지) */
.order-week-stripe {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  flex-shrink: 0;
}
.order-week-stripe.stripe-a { background: #3B1F82; }
.order-week-stripe.stripe-b { background: #c0395a; }

/* 썸네일 placeholder */
.order-thumb-placeholder {
  background: #f0ede8;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 외 N건 */
.order-item-more { color: #bbb; font-size: 12px; }

.order-list-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  flex-shrink: 0;
  margin-right: 16px;
}

.order-list-info {
  flex: 1;
  min-width: 0;
}

.order-list-date {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 14px;
  color: #666;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* 주차 뱃지 */
.order-week-badge {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 4px;
  line-height: 1.6;
}
.order-week-badge.week-a {
  background: #ede8fb;
  color: #3B1F82;
  border: 1px solid rgba(59,31,130,.15);
}
.order-week-badge.week-b {
  background: #fde8ef;
  color: #c0395a;
  border: 1px solid rgba(192,57,90,.15);
}

/* 주문일 */
.order-date-line {
  display: inline;
  font-size: 14px;
  font-weight: 500;
  color: #999;
  white-space: nowrap;
}

/* 주문번호 텍스트 */
.order-no-text {
  display: inline;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #8e77c8;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.order-list-name {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #22112E;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.order-list-option {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  color: #aaa;
}

.order-list-price {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #22112E;
  white-space: nowrap;
  margin-left: 16px;
  flex-shrink: 0;
}

/* 주문내역 — 주문금액 좌측 배송일 */
.order-list-delivery {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #1c8a55;
  white-space: nowrap;
  margin-left: 16px;
  flex-shrink: 0;
  text-align: right;
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.order-list-delivery .odl-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: #1c8a55;
  border-radius: 3px;
  padding: 1px 5px;
  margin-right: 3px;
  vertical-align: middle;
}

/* 부분취소 안내 (관리자 코멘트 — 마이페이지 주문카드 하단) */
.order-cancel-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: -4px 0 10px;
  padding: 9px 12px;
  background: #fff8e7;
  border: 1px solid #f0dca8;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: #5c4500;
}
.order-cancel-note-label {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #e5a000;
  border-radius: 4px;
  padding: 2px 7px;
  margin-top: 1px;
}
.order-cancel-note-text { white-space: pre-line; word-break: break-word; }

/* 마이페이지 주문카드 — 품절 상품 포함 배지 */
.order-soldout-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 10px;
  background: #fdecea;
  color: #c0392b;
  font-size: 11px;
  font-weight: 700;
  vertical-align: middle;
}

/* 주문상세 부분취소 안내 카드 */
.od-cancel-card { background: #fff8e7; border: 1px solid #f0dca8; }

.order-list-status {
  margin-left: 16px;
  flex-shrink: 0;
  text-align: right;
}

.order-badge {
  display: inline-block;
  padding: 3px 12px;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 20px;
}

.order-badge.delivered {
  background: #e8f5e9;
  color: #388e3c;
}

.order-badge.shipping {
  background: #e3f2fd;
  color: #1565c0;
}

.order-badge.preparing {
  background: #fff3e0;
  color: #e65100;
}

.order-badge.cancelled {
  background: #fce4ec;
  color: #c62828;
}

.order-list-btn {
  display: block;
  margin-top: 6px;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 10px;
  color: #3B1F82;
  letter-spacing: 0.08em;
  border: 1px solid #EAE4DC;
  background: none;
  padding: 3px 10px;
  cursor: pointer;
  transition: all .18s;
  white-space: nowrap;
}

.order-list-btn:hover {
  background: #3B1F82;
  border-color: #3B1F82;
  color: #fff;
}


/* ─────────────────────────────────────────────────────
   위시리스트
───────────────────────────────────────────────────── */
.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.wishlist-item {
  background: #fff;
  border: 1px solid #ece4dc;
  position: relative;
}

.wishlist-item-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.wishlist-item-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.wishlist-item:hover .wishlist-item-img-wrap img {
  transform: scale(1.05);
}

.btn-wishlist-remove {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  z-index: 2;
  transition: background .18s, color .18s;
}

.btn-wishlist-remove:hover {
  background: #e8453c;
  color: #fff;
}

.btn-wishlist-remove svg { width: 13px; height: 13px; }

.wishlist-item-info {
  padding: 14px 16px;
}

.wishlist-item-cats {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #3B1F82;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.wishlist-item-name {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #22112E;
  margin-bottom: 8px;
  line-height: 1.4;
}

.wishlist-item-price {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #22112E;
  margin-bottom: 12px;
}

.wishlist-item-price .price-original {
  text-decoration: line-through;
  color: #ccc;
  font-size: 12px;
  font-weight: 400;
  margin-right: 6px;
}

.wishlist-item-price .price-sale {
  color: #c0442a;
}

.btn-wishlist-cart {
  width: 100%;
  height: 38px;
  background: #22112E;
  color: #fff;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  border: none;
  cursor: pointer;
  transition: background .2s;
}

.btn-wishlist-cart:hover { background: #3B1F82; }


/* ─────────────────────────────────────────────────────
   포인트 내역
───────────────────────────────────────────────────── */
.point-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #ece4dc;
  border: 1px solid #ece4dc;
  margin-bottom: 24px;
}

.point-summary-item {
  background: #fff;
  padding: 22px 20px;
  text-align: center;
}

.point-summary-value {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}

.point-summary-value.total { color: #3B1F82; }
.point-summary-value.earned { color: #388e3c; }
.point-summary-value.used { color: #c0442a; }

.point-summary-label {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  color: #bbb;
  letter-spacing: 0.06em;
  display: block;
}

.point-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #ece4dc;
}

.point-table th {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  background: #f7f4f1;
  padding: 13px 18px;
  border-bottom: 1px solid #ece4dc;
  text-align: left;
}

.point-table td {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  color: #22112E;
  padding: 14px 18px;
  border-bottom: 1px solid #f0ebe5;
  vertical-align: middle;
}

.point-table tr:last-child td { border-bottom: none; }

.point-table tr:hover td { background: #fdf8f4; }

.point-plus { color: #388e3c; font-weight: 700; }
.point-minus { color: #c0442a; font-weight: 700; }


/* ─────────────────────────────────────────────────────
   쿠폰함
───────────────────────────────────────────────────── */
.coupon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.coupon-card {
  background: #fff;
  border: 1px solid #ece4dc;
  padding: 22px 24px;
  display: flex;
  gap: 20px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.coupon-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: #3B1F82;
}

.coupon-card.expired::before { background: #ddd; }
.coupon-card.expired { opacity: .6; }

.coupon-discount {
  flex-shrink: 0;
  text-align: center;
}

.coupon-discount-value {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #3B1F82;
  line-height: 1;
  display: block;
}

.coupon-discount-unit {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  color: #bbb;
  display: block;
  margin-top: 3px;
}

.coupon-info {
  flex: 1;
  min-width: 0;
}

.coupon-name {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #22112E;
  margin-bottom: 5px;
}

.coupon-condition {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  color: #aaa;
  margin-bottom: 6px;
}

.coupon-expiry {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  color: #bbb;
}

.coupon-expiry.near { color: #e65100; }

.coupon-deco {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 80px;
  background: #F9F5F2;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px dashed #ece4dc;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #EAE4DC;
  writing-mode: vertical-rl;
}

.coupon-empty {
  text-align: center;
  padding: 48px 20px;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 14px;
  color: #bbb;
}


/* ─────────────────────────────────────────────────────
   회원 정보 수정
───────────────────────────────────────────────────── */
.info-form-section {
  background: #fff;
  border: 1px solid #ece4dc;
  padding: 28px;
  margin-bottom: 20px;
}

.info-form-section-title {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #22112E;
  padding-bottom: 16px;
  border-bottom: 1px solid #ece4dc;
  margin-bottom: 22px;
  letter-spacing: 0.02em;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-row.full { grid-template-columns: 1fr; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-label {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #22112E;
}

.form-label .req { color: #c0442a; margin-left: 2px; }

.form-input,
.form-select {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #EAE4DC;
  background: #fff;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 14px;
  color: #22112E;
  outline: none;
  transition: border-color .2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder { color: #c0b5ab; font-weight: 300; }

.form-input:focus,
.form-select:focus { border-color: #3B1F82; }

.form-input:disabled,
.form-input[readonly] {
  background: #f7f4f1;
  color: #aaa;
  cursor: default;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%233B1F82' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

/* 비밀번호 강도 */
.pw-strength-bar {
  height: 4px;
  background: #f0ebe5;
  margin-top: 6px;
  border-radius: 2px;
  overflow: hidden;
}

.pw-strength-fill {
  height: 100%;
  width: 0%;
  border-radius: 2px;
  transition: width .3s, background .3s;
}

.pw-strength-fill.weak   { background: #e53935; width: 25%; }
.pw-strength-fill.fair   { background: #fb8c00; width: 50%; }
.pw-strength-fill.good   { background: #43a047; width: 75%; }
.pw-strength-fill.strong { background: #1e88e5; width: 100%; }

.pw-strength-label {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 10px;
  color: #bbb;
  margin-top: 5px;
  display: block;
}

/* 저장 버튼 */
.btn-save {
  height: 48px;
  padding: 0 36px;
  background: #3B1F82;
  color: #fff;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  border: none;
  cursor: pointer;
  transition: background .2s;
}

.btn-save:hover { background: #22112E; }

.btn-cancel {
  height: 48px;
  padding: 0 28px;
  background: #fff;
  color: #888;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  border: 1px solid #EAE4DC;
  cursor: pointer;
  transition: all .2s;
  margin-left: 10px;
}

.btn-cancel:hover {
  border-color: #22112E;
  color: #22112E;
}

/* 마케팅 수신 토글 */
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #f0ebe5;
}

.toggle-row:last-child { border-bottom: none; }

.toggle-label-wrap {}

.toggle-main-label {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #22112E;
  display: block;
  margin-bottom: 3px;
}

.toggle-sub-label {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  color: #bbb;
}

/* iOS-style toggle */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: #ddd;
  border-radius: 24px;
  cursor: pointer;
  transition: background .2s;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
}

.toggle-switch input:checked + .toggle-slider {
  background: #3B1F82;
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(20px);
}


/* ─────────────────────────────────────────────────────
   배송지 관리
───────────────────────────────────────────────────── */
.addr-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.addr-card {
  background: #fff;
  border: 1px solid #ece4dc;
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.addr-card.default-addr { border-color: #3B1F82; }

.addr-default-badge {
  display: inline-block;
  padding: 2px 10px;
  background: #3B1F82;
  color: #fff;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-radius: 10px;
  margin-bottom: 8px;
}

.addr-card-info { flex: 1; }

.addr-name {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #22112E;
  margin-bottom: 6px;
}

.addr-detail {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  color: #888;
  line-height: 1.7;
  margin-bottom: 4px;
}

.addr-phone {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 12px;
  color: #bbb;
}

.addr-card-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}

.btn-addr-edit,
.btn-addr-delete {
  padding: 6px 14px;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border: 1px solid #EAE4DC;
  background: #fff;
  cursor: pointer;
  transition: all .18s;
  white-space: nowrap;
}

.btn-addr-edit:hover {
  border-color: #3B1F82;
  color: #3B1F82;
}

.btn-addr-delete:hover {
  border-color: #c0442a;
  color: #c0442a;
}

.btn-add-addr {
  height: 48px;
  width: 100%;
  background: #fff;
  border: 1px dashed #3B1F82;
  color: #3B1F82;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: background .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.btn-add-addr:hover { background: #fdf8f4; }
.btn-add-addr svg { width: 16px; height: 16px; }


/* ─────────────────────────────────────────────────────
   빈 상태 공통
───────────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 64px 20px;
  background: #fff;
  border: 1px solid #ece4dc;
}

/* ─── 거래명세서 (마이페이지) ───────────────────────── */
.invoice-list { display: flex; flex-direction: column; gap: 12px; }
.invoice-card {
  background: #fff;
  border: 1px solid #ece4dc;
  border-radius: 6px;
  overflow: hidden;
}
.invoice-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  cursor: pointer;
  transition: background .18s;
}
.invoice-card-head:hover { background: #faf7f3; }
.invoice-card-titlewrap {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  min-width: 0;
}
.invoice-card-title {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #22112E;
}
.invoice-card-date { font-size: 12px; color: #a99e94; }
.invoice-card-arrow { width: 18px; height: 18px; color: #a99e94; flex-shrink: 0; transition: transform .2s; }
.invoice-card.is-open .invoice-card-arrow { transform: rotate(180deg); }
.invoice-card-body { display: none; padding: 0 20px 18px; border-top: 1px solid #f1ebe4; }
.invoice-card.is-open .invoice-card-body { display: block; }
.invoice-card-content {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 14px;
  color: #4a4540;
  line-height: 1.8;
  padding-top: 16px;
  word-break: break-word;
}
.invoice-card-file {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed #ece4dc;
}
.invoice-file-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: #3B1F82;
  text-decoration: none;
  word-break: break-all;
}
.invoice-file-link:hover { text-decoration: underline; }
.invoice-file-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.invoice-file-download {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: #3B1F82;
  border-radius: 4px;
  padding: 5px 12px;
  text-decoration: none;
}
.invoice-file-download:hover { background: #2c1661; }

.empty-state svg {
  width: 52px;
  height: 52px;
  color: #e0d7d0;
  margin-bottom: 18px;
}

.empty-state p {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 14px;
  color: #bbb;
  line-height: 1.8;
  margin-bottom: 24px;
}

.btn-empty-action {
  display: inline-block;
  padding: 12px 36px;
  background: #3B1F82;
  color: #fff;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  border: none;
  cursor: pointer;
  transition: background .2s;
}

.btn-empty-action:hover { background: #22112E; }


/* ─────────────────────────────────────────────────────
   TOAST
───────────────────────────────────────────────────── */
.toast {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  background: #22112E;
  color: #fff;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  padding: 14px 24px;
  min-width: 220px;
  max-width: 340px;
  box-shadow: 0 6px 24px rgba(60,56,52,.18);
  transform: translateX(calc(100% + 40px));
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}

.toast.show { transform: translateX(0); }


/* ─────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .mypage-layout { flex-direction: column; }
  .mypage-sidebar { flex: none; width: 100%; position: static; }
  .mypage-content { width: 100%; min-width: 0; }
  .mypage-panel { display: none; }
  .mypage-panel.active { display: block; }
  .profile-card { display: flex; gap: 20px; text-align: left; align-items: center; }
  .profile-avatar { margin: 0; flex-shrink: 0; }
  .profile-stats { grid-template-columns: repeat(4, 1fr); }
  .sidebar-nav { display: flex; flex-wrap: wrap; }
  .sidebar-nav-group { border: none; }
  .sidebar-nav-group-title { display: none; }
  .wishlist-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .order-status-bar { grid-template-columns: repeat(3, 1fr); }
  .order-status-arrow { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .coupon-grid { grid-template-columns: 1fr; }
  .wishlist-grid { grid-template-columns: repeat(2, 1fr); }
  .point-summary { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .page-banner h1 { font-size: 26px; }
  .order-status-bar { grid-template-columns: repeat(2, 1fr); }
  .profile-stats { grid-template-columns: 1fr 1fr; }
  .wishlist-grid { grid-template-columns: 1fr 1fr; }
  .order-list-price { display: none; }
  /* 배송일: 모바일에서는 상품명 아래 별도 줄(전체폭)로 노출 */
  .order-list-item { flex-wrap: wrap; }
  .order-list-delivery {
    display: flex;
    align-items: center;  /* 배송일 배지와 날짜 텍스트 높이 정렬 */
    order: 9;            /* 썸네일·정보·상태 다음(다음 줄)로 밀어 전체폭 표시 */
    flex-basis: 100%;
    width: 100%;
    max-width: none;
    margin: 8px 0 0;
    text-align: left;
    white-space: normal;
  }

  /* 갤럭시/안드로이드 등 한글 폰트 폭 차이로 주문번호와 상태 뱃지 겹침 방지
     → 날짜와 주문번호를 별도 줄로 분리 + 주문번호 overflow ellipsis + 폰트/자간 축소 */
  .order-list-info {
    padding-right: 10px;
    min-width: 0;
  }
  .order-list-date {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .order-no-text {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    letter-spacing: 0.02em;
  }
  .order-list-name {
    font-size: 13px;
  }
}


/* ============================================================================ */
/* SECTION : notice.css  */
/* NOTICE PAGE — toolbar, table, accordion detail, pagination */
/* ============================================================================ */

/* ==========================================================================
   Flower Shop — Notice Page Stylesheet  (notice.html 전용)
   ========================================================================== */


/* ─────────────────────────────────────────────────────
   PAGE BANNER
───────────────────────────────────────────────────── */
.page-banner {
  position: relative;
  background-image: url('../images/bg-sub-top.webp');
  background-size: cover;
  background-position: center;
  padding: 64px 0 52px;
  text-align: center;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30, 20, 12, 0.55);
}

.page-banner-inner {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.62);
  transition: color .2s;
}

.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep    { margin: 0 10px; }

.page-banner h1 {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
  line-height: 1.35;
  margin: 0;
}


/* ─────────────────────────────────────────────────────
   NOTICE WRAPPER
───────────────────────────────────────────────────── */
.notice-section {
  background: #F9F5F2;
  padding: 60px 0 100px;
}


/* ─────────────────────────────────────────────────────
   TOOLBAR  (카테고리 탭 + 검색)
───────────────────────────────────────────────────── */
.notice-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

/* 카테고리 탭 */
.notice-tabs {
  display: flex;
  gap: 0;
  border: 1px solid #EAE4DC;
  overflow: hidden;
}

.notice-tab {
  padding: 10px 24px;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #888;
  background: #fff;
  border: none;
  border-right: 1px solid #EAE4DC;
  cursor: pointer;
  transition: background .18s, color .18s;
  white-space: nowrap;
}

.notice-tab:last-child { border-right: none; }

.notice-tab:hover {
  background: #fdf8f4;
  color: #3B1F82;
}

.notice-tab.active {
  background: #3B1F82;
  color: #fff;
}

/* 검색 폼 */
.notice-search-form {
  display: flex;
  gap: 0;
  border: 1px solid #EAE4DC;
  overflow: hidden;
}

.notice-search-input {
  width: 240px;
  height: 42px;
  padding: 0 14px;
  border: none;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 14px;
  color: #22112E;
  background: #fff;
  outline: none;
}

.notice-search-input::placeholder {
  color: #c0b5ab;
  font-weight: 300;
}

.notice-search-btn {
  width: 46px;
  height: 42px;
  background: #22112E;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .18s;
}

.notice-search-btn:hover  { background: #3B1F82; }

.notice-search-btn svg {
  width: 16px;
  height: 16px;
  color: #fff;
}


/* ─────────────────────────────────────────────────────
   NOTICE TABLE
───────────────────────────────────────────────────── */
.notice-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #e8e0d8;
}

/* 헤더 행 */
.notice-table thead tr {
  border-bottom: 2px solid #22112E;
}

.notice-table th {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #22112E;
  padding: 15px 20px;
  text-align: left;
  background: #f7f4f1;
  white-space: nowrap;
}

.notice-table th.col-num    { width: 80px; text-align: center; }
.notice-table th.col-cat    { width: 100px; }
.notice-table th.col-title  { /* flexible */ }
.notice-table th.col-date   { width: 110px; text-align: center; }
.notice-table th.col-views  { width: 80px; text-align: center; }

/* 일반 행 */
.notice-table tbody tr {
  border-bottom: 1px solid #f0ebe5;
  cursor: pointer;
  transition: background .15s;
}

.notice-table tbody tr:last-child { border-bottom: none; }

.notice-table tbody tr:hover { background: #fdf8f4; }

/* 고정 공지 행 */
.notice-table tbody tr.pinned {
  background: #fdf8f4;
}

.notice-table tbody tr.pinned:hover { background: #f9f2ec; }

.notice-table td {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 15px;
  color: #22112E;
  padding: 18px 20px;
  vertical-align: middle;
}

.notice-table td.col-num {
  text-align: center;
  color: #bbb;
  font-size: 13px;
}

.notice-table td.col-date {
  text-align: center;
  color: #aaa;
  font-size: 13px;
  white-space: nowrap;
}

.notice-table td.col-views {
  text-align: center;
  color: #bbb;
  font-size: 13px;
}

/* 고정 공지 핀 아이콘 */
.pin-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 22px;
  background: #3B1F82;
  color: #fff;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 2px;
}

/* 카테고리 배지 */
.cat-badge {
  display: inline-block;
  padding: 4px 11px;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 2px;
  white-space: nowrap;
}

.cat-badge.general  { background: #f0ebe5; color: #888; }
.cat-badge.event    { background: #f4e7e0; color: #3B1F82; }
.cat-badge.service  { background: #e8f4f0; color: #388e6a; }
.cat-badge.shipping { background: #e3f2fd; color: #1565c0; }

/* 제목 셀 */
.notice-title-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.notice-title-text {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #22112E;
  transition: color .18s;
  line-height: 1.5;
}

.notice-table tbody tr:hover .notice-title-text { color: #3B1F82; }

.notice-new-badge {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c0442a;
  flex-shrink: 0;
  margin-left: 4px;
}

/* 열림 표시 (아코디언 화살표) */
.notice-arrow {
  margin-left: auto;
  color: #EAE4DC;
  transition: transform .25s, color .2s;
  flex-shrink: 0;
}

.notice-arrow svg { width: 16px; height: 16px; display: block; }

.notice-table tbody tr.open .notice-arrow {
  transform: rotate(180deg);
  color: #3B1F82;
}


/* ─────────────────────────────────────────────────────
   공지 상세 (아코디언)
───────────────────────────────────────────────────── */
.notice-detail-row {
  display: none;
  background: #fdf8f4;
}

.notice-detail-row.open { display: table-row; }

.notice-detail-cell {
  padding: 0 !important;
  border-bottom: 2px solid #EAE4DC !important;
}

.notice-detail-inner {
  padding: 32px 40px;
  border-top: 1px solid #e8e0d8;
}

.notice-detail-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px dashed #e8e0d8;
  flex-wrap: wrap;
}

.notice-detail-cat {
  /* inherits .cat-badge */
}

.notice-detail-date {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 12px;
  color: #bbb;
}

.notice-detail-views {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 12px;
  color: #bbb;
}

.notice-detail-title {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #22112E;
  margin-bottom: 24px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.notice-detail-body {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 14px;
  color: #22112E;
  line-height: 2;
  max-width: 760px;
}

.notice-detail-body p { margin-bottom: 16px; }
.notice-detail-body p:last-child { margin-bottom: 0; }

.notice-detail-body strong {
  color: #22112E;
  font-weight: 700;
}

.notice-detail-body .highlight {
  background: #f4e7e0;
  padding: 14px 18px;
  border-left: 3px solid #3B1F82;
  margin: 20px 0;
  font-size: 13px;
}

.notice-detail-close {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px dashed #e8e0d8;
  text-align: right;
}

.btn-detail-close {
  padding: 9px 24px;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #888;
  border: 1px solid #EAE4DC;
  background: #fff;
  cursor: pointer;
  transition: all .18s;
}

.btn-detail-close:hover {
  border-color: #22112E;
  color: #22112E;
}


/* ─────────────────────────────────────────────────────
   검색 결과 없음 / 빈 상태
───────────────────────────────────────────────────── */
.notice-empty {
  text-align: center;
  padding: 72px 20px;
  background: #fff;
  border: 1px solid #e8e0d8;
}

.notice-empty svg {
  width: 48px;
  height: 48px;
  color: #e0d7d0;
  margin-bottom: 18px;
}

.notice-empty p {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 14px;
  color: #bbb;
  line-height: 1.9;
}


/* ─────────────────────────────────────────────────────
   PAGINATION
───────────────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 36px;
}

.page-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #888;
  background: #fff;
  border: 1px solid #e8e0d8;
  cursor: pointer;
  transition: all .18s;
}

.page-btn:hover {
  border-color: #3B1F82;
  color: #3B1F82;
}

.page-btn.active {
  background: #3B1F82;
  border-color: #3B1F82;
  color: #fff;
}

.page-btn.arrow {
  color: #bbb;
}

.page-btn.arrow:hover { color: #3B1F82; }

.page-btn.arrow svg { width: 14px; height: 14px; }

.page-btn:disabled {
  opacity: .35;
  cursor: default;
  pointer-events: none;
}


/* ─────────────────────────────────────────────────────
   결과 카운트
───────────────────────────────────────────────────── */
.notice-count {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 14px;
  color: #aaa;
  margin-bottom: 14px;
}

.notice-count strong {
  color: #3B1F82;
  font-weight: 700;
}


/* ─────────────────────────────────────────────────────
   TOAST
───────────────────────────────────────────────────── */
.toast {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  background: #22112E;
  color: #fff;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  padding: 14px 24px;
  min-width: 220px;
  max-width: 340px;
  box-shadow: 0 6px 24px rgba(60,56,52,.18);
  transform: translateX(calc(100% + 40px));
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}

.toast.show { transform: translateX(0); }


/* ─────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .notice-search-input { width: 180px; }
}

@media (max-width: 768px) {
  .notice-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .notice-tabs { flex-wrap: wrap; }

  .notice-table th.col-views,
  .notice-table td.col-views { display: none; }

  .notice-detail-inner { padding: 24px 20px; }

  .notice-detail-title { font-size: 15px; }
}

@media (max-width: 480px) {
  .page-banner h1 { font-size: 26px; }

  .notice-table th.col-date,
  .notice-table td.col-date  { display: none; }

  .notice-table th.col-num,
  .notice-table td.col-num   { display: none; }

  .notice-search-input { width: 150px; }
}


/* ============================================================================ */
/* SECTION : qna.css  */
/* QNA PAGE — inquiry form, contact info, mini FAQ accordion */
/* ============================================================================ */

/* ==========================================================================
   월드플로라 — qna.css   문의하기 페이지 전용 스타일   2026
   ─────────────────────────────────────────────────────────────────────────
   의존: style.css → pages.css → qna.css  순서로 로드
   ========================================================================== */

/* ─── PAGE BANNER (pages.css 의 .page-banner 재활용) ── */
/* notice.css 와 동일 패턴 — pages.css 에서 .page-banner 가 이미 정의됨 */
.page-banner {
  position: relative;
  background-image: url('../images/bg-passion.png');
  background-size: cover;
  background-position: center;
  padding: 64px 0 52px;
  text-align: center;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30, 20, 12, 0.55);
}

.page-banner-inner {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 14px;
}

.breadcrumb a         { color: rgba(255,255,255,.62); transition: color .2s; }
.breadcrumb a:hover   { color: #fff; }
.breadcrumb .sep      { margin: 0 10px; }

.page-banner h1 {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
  line-height: 1.35;
  margin: 0;
}


/* ─── QNA 섹션 ────────────────────────────────────── */
.qna-section {
  background: #F9F5F2;
  padding: 72px 0 100px;
}


/* ─── 레이아웃 (2컬럼) ────────────────────────────── */
.qna-layout {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.qna-form-wrap {
  flex: 1;
  min-width: 0;
}

.qna-info {
  width: 320px;
  flex-shrink: 0;
}


/* ─── 폼 헤드 ─────────────────────────────────────── */
.qna-form-head {
  margin-bottom: 32px;
}

.qna-login-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f0f4ff;
  border: 1px solid #c7d5f5;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: #3a5cbd;
  margin-bottom: 24px;
}
.qna-login-notice a {
  color: #3a5cbd;
  font-weight: 700;
  text-decoration: underline;
}

.qna-api-error {
  background: #fdf0f0;
  color: #c0392b;
  border: 1px solid #f5c0c0;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  margin-bottom: 16px;
}

.pf-readonly {
  background: #f8f5fc;
  color: #999;
  cursor: default;
}

.qna-form-title {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #22112E;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

.qna-form-sub {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  color: #746979;
  line-height: 1.7;
  margin: 0;
}


/* ─── 폼 ─────────────────────────────────────────── */
.qna-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #22112E;
  font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #EAE4DC;
  background: #faf8f6;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 14px;
  color: #22112E;
  outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
  box-sizing: border-box;
  border-radius: 0;
  -webkit-appearance: none;
  resize: vertical;
}

.form-group textarea {
  min-height: 160px;
  line-height: 1.6;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #3B1F82;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(59,31,130,.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #b8afc0;
  font-size: 13px;
}

.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select {
  border-color: #c0392b;
  background: #fff9f9;
}

.form-error {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  color: #c0392b;
  min-height: 14px;
}


/* ─── select ──────────────────────────────────────── */
.select-wrap {
  position: relative;
}

.select-wrap select {
  width: 100%;
  height: 46px;
  padding: 0 40px 0 14px;
  border: 1px solid #EAE4DC;
  background: #faf8f6;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 14px;
  color: #22112E;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
  cursor: pointer;
  transition: border-color .2s, background .2s, box-shadow .2s;
  box-sizing: border-box;
}

.select-wrap select:focus {
  border-color: #3B1F82;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(59,31,130,.08);
}

.select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  pointer-events: none;
  color: #b8afc0;
}


/* ─── 글자 수 카운터 ──────────────────────────────── */
.qna-char-count {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #b8afc0;
  text-align: right;
  margin-top: 4px;
}


/* ─── 개인정보 체크박스 ───────────────────────────── */
.qna-privacy-group {
  background: #f4f0ec;
  border: 1px solid #EAE4DC;
  padding: 14px 16px;
}

.check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 12px;
  color: #746979;
  cursor: pointer;
  user-select: none;
  line-height: 1.5;
}

.check-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 16px;
  height: 16px;
  border: 1px solid #EAE4DC;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: background .2s, border-color .2s;
}

.check-label input:checked + .checkmark {
  background: #3B1F82;
  border-color: #3B1F82;
}

.check-label input:checked + .checkmark::after {
  content: '';
  display: block;
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}

.terms-link {
  color: #3B1F82;
  font-size: 11px;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  letter-spacing: 0.1em;
  margin-left: 4px;
  text-decoration: underline;
  transition: color .2s;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  line-height: inherit;
}
.terms-link:hover { color: #5533a8; }


/* ─── 제출 버튼 ───────────────────────────────────── */
.btn-qna {
  width: 100%;
  height: 52px;
  background: #22112E;
  border: none;
  color: #ffffff;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background .22s;
  margin-top: 4px;
}

.btn-qna:hover { background: #3B1F82; }

.btn-qna-spinner svg {
  width: 16px;
  height: 16px;
  animation: qnaSpin .8s linear infinite;
}

@keyframes qnaSpin {
  to { transform: rotate(360deg); }
}


/* ─── 성공 메시지 ─────────────────────────────────── */
.qna-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 24px;
  background: #fff;
  border: 1px solid #EAE4DC;
  margin-top: 8px;
}

.qna-success svg {
  width: 52px;
  height: 52px;
  color: #2e7d52;
  stroke: #2e7d52;
  margin-bottom: 20px;
}

.qna-success h3 {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #22112E;
  margin: 0 0 12px;
}

.qna-success p {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 14px;
  color: #746979;
  line-height: 1.7;
  margin: 0 0 28px;
}

.btn-qna-new {
  display: inline-block;
  padding: 12px 32px;
  background: none;
  border: 1px solid #22112E;
  color: #22112E;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: background .22s, color .22s;
}

.btn-qna-new:hover {
  background: #22112E;
  color: #ffffff;
}


/* ─── 우측: 연락처 정보 ───────────────────────────── */
.qna-info {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.qna-info-block {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid #EAE4DC;
}

.qna-info-block:first-child { border-top: 1px solid #EAE4DC; }

.qna-info-icon {
  width: 40px;
  height: 40px;
  background: #f4f0ec;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.qna-info-icon svg {
  width: 18px;
  height: 18px;
  color: #3B1F82;
  stroke: #3B1F82;
}

.qna-info-block h4 {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #22112E;
  font-weight: 700;
  margin: 0 0 4px;
}

.qna-info-block p {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 14px;
  color: #22112E;
  font-weight: 600;
  margin: 0 0 2px;
}

.qna-info-block small {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  color: #b8afc0;
}


/* ─── FAQ 아코디언 ────────────────────────────────── */
.qna-faq {
  margin-top: 32px;
}

.qna-faq-title {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #22112E;
  font-weight: 700;
  margin: 0 0 16px;
}

.faq-item {
  border-bottom: 1px solid #EAE4DC;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  color: #22112E;
  font-weight: 600;
  text-align: left;
  transition: color .2s;
}

.faq-q:hover { color: #3B1F82; }

.faq-arrow {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform .25s;
}

.faq-q[aria-expanded="true"] .faq-arrow {
  transform: rotate(180deg);
}

.faq-a {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 12px;
  color: #746979;
  line-height: 1.7;
  padding: 0 0 14px;
  display: none;
}

.faq-a.open { display: block; }


/* ─── 반응형 ──────────────────────────────────────── */
@media (max-width: 960px) {
  .qna-layout {
    flex-direction: column;
    gap: 52px;
  }

  .qna-info {
    width: 100%;
    position: static;
  }

  .qna-info-block:first-child {
    border-top: none;
    padding-top: 0;
  }
}

@media (max-width: 480px) {
  .qna-section {
    padding: 48px 0 72px;
  }

  .qna-form-title {
    font-size: 18px;
  }

  .page-banner h1 {
    font-size: 28px;
  }
}


/* ============================================================================ */
/* SECTION : faq.css  */
/* FAQ PAGE — search, category tabs, accordion list, helpfulness vote, CTA */
/* ============================================================================ */

/* ==========================================================================
   월드플로라 — faq.css   자주 묻는 질문 페이지 전용 스타일   2026
   ─────────────────────────────────────────────────────────────────────────
   의존: style.css → pages.css → faq.css  순서로 로드
   ========================================================================== */

/* ─── PAGE BANNER ─────────────────────────────────── */
.page-banner {
  position: relative;
  background-image: url('../images/bg-sub-top.webp');
  background-size: cover;
  background-position: center top;
  padding: 64px 0 52px;
  text-align: center;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(22, 12, 34, 0.62);
}

.page-banner-inner {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  color: rgba(255,255,255,.62);
  margin-bottom: 14px;
}

.breadcrumb a       { color: rgba(255,255,255,.62); transition: color .2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep    { margin: 0 10px; }

.page-banner h1 {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
  line-height: 1.35;
  margin: 0;
}


/* ─── FAQ 섹션 ────────────────────────────────────── */
.faq-section {
  background: #F9F5F2;
  padding: 72px 0 100px;
}


/* ─── 검색창 ──────────────────────────────────────── */
.faq-search-wrap {
  max-width: 600px;
  margin: 0 auto 48px;
}

.faq-search-inner {
  position: relative;
  display: flex;
  align-items: center;
}

.faq-search-icon {
  position: absolute;
  left: 16px;
  width: 18px;
  height: 18px;
  color: #b8afc0;
  pointer-events: none;
}

.faq-search-input {
  width: 100%;
  height: 52px;
  padding: 0 48px 0 48px;
  border: 1px solid #EAE4DC;
  background: #ffffff;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 14px;
  color: #22112E;
  outline: none;
  box-sizing: border-box;
  border-radius: 0;
  -webkit-appearance: none;
  transition: border-color .2s, box-shadow .2s;
}

.faq-search-input:focus {
  border-color: #3B1F82;
  box-shadow: 0 0 0 3px rgba(59,31,130,.08);
}

.faq-search-input::placeholder {
  color: #b8afc0;
}

/* 브라우저 기본 X 버튼 제거 */
.faq-search-input::-webkit-search-cancel-button { display: none; }

.faq-search-clear {
  position: absolute;
  right: 12px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b8afc0;
  transition: color .2s;
  padding: 0;
}

.faq-search-clear:hover { color: #22112E; }
.faq-search-clear svg   { width: 14px; height: 14px; }


/* ─── 카테고리 탭 ─────────────────────────────────── */
.faq-tabs {
  display: flex;
  gap: 0;
  border: 1px solid #EAE4DC;
  margin-bottom: 8px;
  overflow: hidden;
  flex-wrap: wrap;
}

.faq-tab {
  flex: 1;
  min-width: 80px;
  padding: 11px 18px;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
  color: #746979;
  background: #ffffff;
  border: none;
  border-right: 1px solid #EAE4DC;
  cursor: pointer;
  transition: background .18s, color .18s;
  white-space: nowrap;
  text-align: center;
}

.faq-tab:last-child { border-right: none; }

.faq-tab:hover {
  background: #fdf8f4;
  color: #3B1F82;
}

.faq-tab.active {
  background: #3B1F82;
  color: #ffffff;
}


/* ─── 결과 수 ─────────────────────────────────────── */
.faq-result-count {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 12px;
  color: #b8afc0;
  margin: 12px 0 0;
  min-height: 18px;
}


/* ─── 아코디언 목록 ───────────────────────────────── */
.faq-list {
  margin-top: 20px;
  border-top: 2px solid #22112E;
}

.faq-item {
  border-bottom: 1px solid #EAE4DC;
  transition: background .18s;
}

.faq-item[aria-hidden="true"],
.faq-item.hidden {
  display: none;
}

/* 질문 버튼 */
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background .18s;
}

.faq-q:hover { background: #fdf8f4; }
.faq-q:hover .faq-q-text { color: #3B1F82; }

.faq-q-text {
  flex: 1;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #22112E;
  line-height: 1.45;
  transition: color .18s;
}

.faq-arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #b8afc0;
  transition: transform .28s, color .18s;
}

.faq-q[aria-expanded="true"] .faq-arrow {
  transform: rotate(180deg);
  color: #3B1F82;
}

/* 카테고리 뱃지 */
.faq-badge {
  display: inline-block;
  padding: 3px 9px;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 0;
  text-transform: uppercase;
  font-weight: 700;
  flex-shrink: 0;
  white-space: nowrap;
}

.faq-badge.order    { background: #ede9f8; color: #3B1F82; }
.faq-badge.delivery { background: #e8f0fd; color: #1a5db5; }
.faq-badge.product  { background: #fdf0e8; color: #b35a1a; }
.faq-badge.return   { background: #fdeaea; color: #b51a1a; }
.faq-badge.member   { background: #eaf8ee; color: #1a7b3a; }

/* 답변 영역 */
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height .32s ease, padding .28s ease;
}

.faq-a.open {
  max-height: 600px;
  padding-bottom: 4px;
}

.faq-a p {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 14px;
  color: #746979;
  line-height: 1.8;
  padding: 0 0 20px 46px;
  margin: 0;
}


/* ─── 도움이 되었나요 ─────────────────────────────── */
.faq-helpful {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 0 22px 46px;
  flex-wrap: wrap;
}

.faq-helpful span {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  color: #b8afc0;
}

.btn-helpful {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: #ffffff;
  border: 1px solid #EAE4DC;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  color: #746979;
  cursor: pointer;
  transition: border-color .18s, background .18s, color .18s;
}

.btn-helpful svg { width: 13px; height: 13px; }

.btn-helpful:hover {
  border-color: #3B1F82;
  color: #3B1F82;
}

.btn-helpful.voted {
  background: #3B1F82;
  border-color: #3B1F82;
  color: #ffffff;
  cursor: default;
}

.btn-helpful.voted-no {
  background: #f0f0f0;
  border-color: #ccc;
  color: #aaa;
  cursor: default;
}


/* ─── 빈 상태 ─────────────────────────────────────── */
.faq-empty {
  text-align: center;
  padding: 72px 24px;
  color: #b8afc0;
}

.faq-empty svg {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.faq-empty p {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #b8afc0;
}


/* ─── 문의 CTA ────────────────────────────────────── */
.faq-cta {
  margin-top: 64px;
  background: #22112E;
  padding: 40px 48px;
}

.faq-cta-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.faq-cta svg {
  width: 36px;
  height: 36px;
  color: rgba(255,255,255,.55);
  stroke: rgba(255,255,255,.55);
  flex-shrink: 0;
}

.faq-cta h3 {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px;
}

.faq-cta p {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,.62);
  margin: 0;
}

.faq-cta > .faq-cta-inner > div { flex: 1; }

.btn-faq-cta {
  display: inline-block;
  padding: 13px 32px;
  background: #ffffff;
  color: #22112E;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
  transition: background .2s, color .2s;
  text-decoration: none;
}

.btn-faq-cta:hover {
  background: #3B1F82;
  color: #ffffff;
  text-decoration: none;
}


/* ─── 반응형 ──────────────────────────────────────── */
@media (max-width: 768px) {
  .faq-tabs { flex-wrap: wrap; }

  .faq-tab { flex: none; width: 50%; border-bottom: 1px solid #EAE4DC; }
  .faq-tab:nth-child(even) { border-right: none; }

  .faq-q { gap: 10px; }
  .faq-q-text { font-size: 14px; }

  .faq-a p,
  .faq-helpful { padding-left: 0; }

  .faq-cta { padding: 28px 20px; }

  .faq-cta-inner { gap: 16px; }

  .btn-faq-cta { width: 100%; text-align: center; }
}

@media (max-width: 480px) {
  .faq-section { padding: 48px 0 72px; }

  .page-banner h1 { font-size: 28px; }

  .faq-badge { display: none; }

  .faq-q-text { font-size: 13px; }
}


/* ================================================================
   FOOTER - New Layout (JHT-KOREA Style)
   ================================================================ */

#footer {
  background-color: #f8f8f8;
  border-top: 1px solid #e0e0e0;
}

.footer-main {
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}

/* 왼쪽: 로고 및 연락처 */
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-logo img {
  max-width: 200px;
  height: auto;
}

.footer-contact {
  font-size: 14px;
  line-height: 1.8;
  color: #333;
}

.footer-contact p {
  margin: 8px 0;
}

.footer-contact strong {
  font-weight: 600;
  color: #000;
  min-width: 80px;
  display: inline-block;
}

/* 오른쪽: 4개 컬럼 메뉴 */
.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer-column h4 {
  font-size: 16px;
  font-weight: 700;
  color: #000;
  margin-bottom: 16px;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  font-size: 14px;
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
}

.footer-column ul li a:hover {
  color: #3B1F82;
  text-decoration: none;
}

/* 하단 저작권 */
.footer-bottom {
  background-color: #2a2a2a;
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: #aaa;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
}

.footer-bottom a {
  color: #ccc;
  text-decoration: none;
  margin: 0 8px;
}

.footer-bottom a:hover {
  color: #fff;
  text-decoration: underline;
}

/* 반응형 */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .footer-main {
    padding: 40px 0 30px;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .footer-logo img {
    max-width: 150px;
  }
  
  .footer-contact {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .footer-main {
    padding: 30px 0 20px;
  }
  
  .footer-contact strong {
    display: block;
    margin-bottom: 4px;
  }
  
  .footer-bottom {
    padding: 15px 0;
  }
  
  .footer-bottom p {
    font-size: 12px;
    line-height: 1.6;
  }
}


/* ─── WEEK CATEGORY SECTION ─────────────────────────── */
.week-cats-section {
  padding: 72px 0 56px;
  background: #f4f1ee;
}

/* 주차 그룹 */
.week-cats-group {
  margin-bottom: 60px;
}
.week-cats-group:last-child {
  margin-bottom: 0;
}

/* 그룹 헤더 */
.wg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(59,31,130,.10);
}
.wg-title-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}
.wg-week-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0;
  flex-shrink: 0;
}
.wg-a { background: linear-gradient(135deg, #3B1F82, #5533c0); }
.wg-b { background: linear-gradient(135deg, #1A5276, #1a7a9a); }
.wg-title-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wg-title-en {
  font-size: 10px;
  letter-spacing: 0.24em;
  color: #a09098;
  font-weight: 600;
}
.wg-title-ko {
  font-size: 20px;
  font-weight: 700;
  color: #22112E;
  letter-spacing: -0.02em;
}
.wg-all-link {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  color: #3B1F82;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 7px 14px;
  border: 1.5px solid rgba(59,31,130,.25);
  border-radius: 20px;
  transition: background .18s, color .18s, border-color .18s;
}
.wg-all-link svg { width: 14px; height: 14px; }
.wg-all-link:hover {
  background: #3B1F82;
  color: #fff;
  border-color: #3B1F82;
}

/* 카테고리 그리드 — 최대 6열, 자동 wrap */
.week-cats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

/* ── 개별 카드 ── */
.week-cat-card {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  position: relative;
  box-shadow: 0 2px 10px rgba(34,17,46,.07);
  transition: transform .28s cubic-bezier(.22,.61,.36,1), box-shadow .28s;
}
.week-cat-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 44px rgba(34,17,46,.17);
}

/* ── 이미지 영역 ── */
.wcc-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #e8e0d8;
}
.wcc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s cubic-bezier(.22,.61,.36,1);
}
.week-cat-card:hover .wcc-photo img {
  transform: scale(1.1);
}

/* 이미지 없을 때 placeholder */
.wcc-no-img {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ede7e0, #d8cfc6);
}

/* ── 그라디언트 오버레이 + 텍스트 ── */
.wcc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 4, 20, .82) 0%,
    rgba(10, 4, 20, .38) 45%,
    transparent 75%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 14px 16px;
  transition: background .3s;
}
.week-cat-card:hover .wcc-overlay {
  background: linear-gradient(
    to top,
    rgba(10, 4, 20, .90) 0%,
    rgba(10, 4, 20, .48) 50%,
    rgba(10,4,20,.08) 80%,
    transparent 100%
  );
}
.wcc-country {
  display: block;
  font-size: 12px;
  letter-spacing: 0;
  color: rgba(255,255,255,.72);
  font-weight: 500;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.wcc-product {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 6px rgba(0,0,0,.3);
  transition: letter-spacing .28s;
}
.week-cat-card:hover .wcc-product {
  letter-spacing: 0.02em;
}

/* 반응형 */
@media (max-width: 1100px) {
  .week-cats-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
}
@media (max-width: 768px) {
  .week-cats-section { padding: 48px 0 36px; }
  .week-cats-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .wcc-product { font-size: 14px; }
  .wcc-overlay { padding: 0 10px 12px; }
}
@media (max-width: 480px) {
  .week-cats-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .week-cat-card { border-radius: 10px; }
  .wcc-product { font-size: 12px; }
  .wcc-country { font-size: 10px; }
}

/* 회원가입 안내 문구 */
.join-notice {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.8;
  margin: 0 0 36px;
  opacity: 0.92;
}

/* ══════════════════════════════════════════════
   공지사항 — DB 연동 추가 스타일
══════════════════════════════════════════════ */

/* 탭 — 링크형 */
.notice-tab {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

/* 결과 카운트 숫자 강조 */
.notice-count-num {
  font-weight: 700;
  color: #3B1F82;
}

/* 빈 상태 — 테이블 셀 내 */
.notice-empty-cell {
  padding: 60px 20px !important;
  text-align: center;
}
.notice-empty-cell .notice-empty {
  display: flex !important;
}

/* 고정 공지 행 배경 */
.notice-row-pinned {
  background: #f8f5ff;
}
.notice-row-pinned:hover {
  background: #f0ebff;
}

/* 번호 열 — "공지" 뱃지 */
.badge-notice-num {
  display: inline-block;
  padding: 3px 9px;
  background: #3B1F82;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 3px;
  letter-spacing: 0.03em;
}

/* 분류 열 — "중요" 뱃지 */
.badge-notice-cat {
  display: inline-block;
  padding: 3px 9px;
  background: #ede9ff;
  color: #3B1F82;
  font-size: 12px;
  font-weight: 700;
  border-radius: 3px;
  letter-spacing: 0.03em;
}

/* 제목 링크 */
.notice-title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.notice-title-link:hover {
  color: #3B1F82;
  text-decoration: underline;
}
.notice-row-pinned .notice-title-link {
  font-weight: 600;
}

/* 페이지네이션 — 이전/다음 화살표 버튼 */
.page-btn.page-prev,
.page-btn.page-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 36px;
  height: 36px;
}
.page-btn.page-prev svg,
.page-btn.page-next svg {
  width: 16px;
  height: 16px;
}
.page-ellipsis {
  display: inline-flex;
  align-items: center;
  padding: 0 4px;
  color: #999;
  font-size: 14px;
}

/* ══════════════════════════════════════════════
   공지사항 상세 (notice_view.php)
══════════════════════════════════════════════ */

/* 섹션 패딩 오버라이드 (목록 섹션 재사용) */
.nv-section {
  padding-bottom: 80px;
}

/* ─── 헤더 ─────────────────────────────────── */
.nv-header {
  background: #fff;
  border: 1px solid #e8e0d8;
  border-top: 3px solid #22112E;
  padding: 32px 36px 28px;
  margin-bottom: 0;
}

.nv-pin {
  margin-bottom: 14px;
}

.nv-title {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #22112E;
  line-height: 1.55;
  margin: 10px 0 20px;
  letter-spacing: 0.02em;
}

.nv-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nv-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 12px;
  color: #aaa;
  letter-spacing: 0.03em;
}

.nv-meta-item svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.nv-meta-sep {
  color: #ddd;
  font-size: 11px;
}

/* ─── 본문 ─────────────────────────────────── */
.nv-body {
  background: #fff;
  border: 1px solid #e8e0d8;
  border-top: none;
  padding: 40px 36px 48px;
  min-height: 280px;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 14px;
  color: #22112E;
  line-height: 2;
  margin-bottom: 32px;
}

/* ─── 이전글 / 다음글 네비 ────────────────── */
.nv-nav {
  border: 1px solid #e8e0d8;
  background: #fff;
  margin-bottom: 32px;
}

.nv-nav-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px 24px;
  text-decoration: none;
  border-bottom: 1px solid #f0ebe5;
  transition: background .15s;
}

.nv-nav-item:last-child {
  border-bottom: none;
}

.nv-nav-item:hover {
  background: #fdf8f4;
}

.nv-nav-item:hover .nv-nav-ttl {
  color: #3B1F82;
}

.nv-nav-direction {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #3B1F82;
  width: 62px;
}

.nv-nav-direction svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.nv-nav-ttl {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 13px;
  color: #22112E;
  transition: color .18s;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* ─── 목록으로 버튼 ─────────────────────────── */
.nv-actions {
  text-align: center;
  padding-top: 8px;
}

.btn-nv-list {
  display: inline-block;
  padding: 11px 36px;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #22112E;
  border: 1px solid #22112E;
  background: transparent;
  text-decoration: none;
  transition: background .18s, color .18s;
}

.btn-nv-list:hover {
  background: #22112E;
  color: #fff;
}


/* ═══════════════════════════════════════════════════════
   ORDER DETAIL  (order_detail.php)
═══════════════════════════════════════════════════════ */
.od-section { padding: 48px 0 80px; }

/* 뒤로가기 */
.od-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #888;
  text-decoration: none;
  margin-bottom: 24px;
  transition: color .18s;
}
.od-back:hover { color: #6a3fa0; }
.od-back svg { width: 14px; height: 14px; }

/* 주문 헤더 카드 */
.od-header-card {
  background: #fff;
  border: 1px solid #e8e0f0;
  border-radius: 10px;
  padding: 22px 24px;
  margin-bottom: 20px;
}
.od-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.od-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.od-order-no {
  font-size: 18px;
  font-weight: 700;
  color: #22112E;
  letter-spacing: 0.04em;
}
.od-header-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.od-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #888;
}

/* 상태 뱃지 */
.od-status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.od-st-ordered   { background: #ede8f7; color: #6a3fa0; }
.od-st-confirming{ background: #fff4e0; color: #d17c00; }
.od-st-completed { background: #e4f5eb; color: #1a7a3e; }
.od-st-canceled  { background: #f5e4e4; color: #b03a3a; }

/* 2컬럼 레이아웃 */
.od-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
}
.od-col-main, .od-col-side { min-width: 0; }
@media (max-width: 820px) {
  .od-body { grid-template-columns: minmax(0, 1fr); }
}

/* 공통 카드 */
.od-card {
  background: #fff;
  border: 1px solid #e8e0f0;
  border-radius: 10px;
  padding: 22px 24px;
  margin-bottom: 20px;
}
.od-card:last-child { margin-bottom: 0; }
.od-card-title {
  font-size: 13px;
  font-weight: 700;
  color: #22112E;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid #f0e8f8;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

/* 주문 상품 행 */
.od-items { display: flex; flex-direction: column; gap: 14px; }
.od-item-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f5f0fa;
}
.od-item-row:last-child { border-bottom: none; padding-bottom: 0; }

/* 품절 품목 (주문상세 — 재주문 불가) */
.od-item-soldout .od-item-thumb { opacity: .5; filter: grayscale(1); }
.od-item-soldout .od-item-name  { color: #999; }
.od-soldout-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 10px;
  background: #fdecea;
  color: #c0392b;
  font-size: 11px;
  font-weight: 700;
  vertical-align: middle;
}

/* 모바일 — 6개 자식이 한 줄에 안 들어가 깨짐 → 2줄 grid 로 재배치 */
@media (max-width: 600px) {
  .od-item-row {
    display: grid;
    grid-template-columns: 24px 56px minmax(0, 1fr) auto;
    grid-template-areas:
      "check thumb info  info"
      "qty   qty   price del";
    column-gap: 10px;
    row-gap: 8px;
    align-items: center;
    padding-bottom: 12px;
  }
  .od-item-row .od-item-check { grid-area: check; align-self: start; margin-top: 4px; padding-right: 0; }
  .od-item-row .od-item-thumb,
  .od-item-row .od-item-thumb-empty { grid-area: thumb; width: 56px; height: 56px; align-self: start; }
  .od-item-row .od-item-info  { grid-area: info; align-self: start; }
  .od-item-row .od-item-qty   { grid-area: qty; justify-self: start; align-items: flex-start; }
  .od-item-row .od-item-price { grid-area: price; text-align: right; }
  .od-item-row .od-item-del   { grid-area: del; }
  /* 텍스트 사이즈 가독성 ↑ (좁은 셀이 늘어났으니 약간 작게) */
  .od-item-row .od-item-name { font-size: 12.5px; line-height: 1.35; }
  .od-item-row .od-item-code { font-size: 10.5px; }
  .od-item-row .od-price-unit  { font-size: 10.5px; }
  .od-item-row .od-price-total { font-size: 13px; }
}

.od-item-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #ede8f7;
  flex-shrink: 0;
}
.od-item-thumb-empty {
  width: 64px;
  height: 64px;
  border-radius: 6px;
  border: 1px solid #ede8f7;
  background: #faf8fc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.od-item-info { flex: 1; min-width: 0; }
.od-item-code {
  font-size: 11px;
  color: #aaa;
  margin-bottom: 3px;
}
.od-item-name {
  font-size: 13px;
  font-weight: 600;
  color: #22112E;
  line-height: 1.4;
}
.od-item-deliv {
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #1c8a55;
  margin-top: 5px;
}
.od-item-deliv .odi-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: #1c8a55;
  border-radius: 3px;
  padding: 1px 5px;
  margin-right: 4px;
}
.od-item-qty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 52px;
  text-align: center;
}
.od-qty-label { font-size: 10px; color: #aaa; }
.od-qty-val   { font-size: 13px; font-weight: 700; color: #22112E; }

.od-item-price {
  text-align: right;
  min-width: 90px;
}
.od-price-unit  { font-size: 11px; color: #aaa; margin-bottom: 3px; }
.od-price-total { font-size: 14px; font-weight: 700; color: #22112E; }

/* 요청사항 */
.od-memo {
  font-size: 13px;
  color: #555;
  line-height: 1.7;
}

/* 결제 정보 */
.od-price-rows { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.od-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #555;
}
.od-price-discount { color: #d05050; }
.od-price-final {
  font-size: 15px;
  font-weight: 700;
  color: #22112E;
  border-top: 1px solid #ede8f7;
  padding-top: 10px;
  margin-top: 4px;
}
.od-free { color: #5e9e6e; font-weight: 600; }
.od-pay-method {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #8c6cb0;
  background: #f3eeff;
  border-radius: 6px;
  padding: 8px 12px;
}

/* 거래처 정보 */
.od-info-dl { display: flex; flex-direction: column; gap: 10px; }
.od-dl-row {
  display: flex;
  gap: 12px;
  font-size: 13px;
}
.od-dl-row dt {
  color: #888;
  flex-shrink: 0;
  width: 80px;
}
.od-dl-row dd {
  color: #22112E;
  font-weight: 500;
  margin: 0;
  word-break: break-all;
}

/* week badge 재활용 (order-week-badge는 mypage.php에서 정의됨) */
.order-week-badge.week-a { background: #ede8f7; color: #6a3fa0; }
.order-week-badge.week-b { background: #e4f0fa; color: #2a78b5; }


/* ═══════════════════════════════════════════════════════
   WISHLIST PANEL  (mypage.php #panel-wishlist)
═══════════════════════════════════════════════════════ */

/* 빈 목록 */
.wl-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 56px 24px;
  color: #bbb;
  font-size: 13px;
  text-align: center;
}

/* 패널 (탭 컨텐츠) */
.wl-week-panel { margin-top: 0; }

/* 그리드 */
.wl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  padding: 20px 0 4px;
}
@media (max-width: 640px) {
  .wl-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* 카드 */
.wl-card {
  background: #fff;
  border: 1px solid #ede8f7;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .18s, transform .18s;
}
.wl-card:hover {
  box-shadow: 0 4px 18px rgba(106,63,160,.12);
  transform: translateY(-2px);
}

/* 이미지 영역 */
.wl-card-img-wrap {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f8f4fb;
  position: relative;
}
.wl-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.wl-card:hover .wl-card-img-wrap img { transform: scale(1.04); }

.wl-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 카드 본문 */
.wl-card-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.wl-card-code {
  font-size: 10px;
  color: #bbb;
  margin: 0;
}
.wl-card-name {
  font-size: 13px;
  font-weight: 600;
  color: #22112E;
  text-decoration: none;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wl-card-name:hover { color: #6a3fa0; }
.wl-card-price {
  font-size: 14px;
  font-weight: 700;
  color: #6a3fa0;
  margin: 4px 0 0;
}
/* 등급 할인 — list.php 와 동일 톤 */
.wl-card-price .price-disc {
  font-weight: 700;
  color: #3a2a1a;
  font-size: 14px;
}
.wl-card-price .price-orig {
  font-size: 11px;
  color: #bbb;
  margin-left: 4px;
  font-weight: 400;
}

/* 액션 버튼 영역 */
.wl-card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 10px;
  flex-wrap: wrap;
}

/* 위시리스트 카드 — 수량 컨트롤 */
.wl-qty {
  display: inline-flex;
  align-items: stretch;
  height: 32px;
  border: 1px solid #EAE4DC;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  background: #fff;
}
.wl-qty-btn {
  width: 24px;
  border: none;
  background: #fff;
  color: #6a3fa0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.wl-qty-btn:hover { background: #f5eefa; }
.wl-qty-input {
  width: 36px;
  border: none;
  border-left: 1px solid #EAE4DC;
  border-right: 1px solid #EAE4DC;
  background: #fff;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #22112E;
  padding: 0 2px;
  outline: none;
  -moz-appearance: textfield;
  appearance: textfield;
}
.wl-qty-input::-webkit-outer-spin-button,
.wl-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.wl-btn-cart {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 32px;
  background: #6a3fa0;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background .18s;
  padding: 0;
}
.wl-btn-cart svg { width: 14px; height: 14px; display: block; }
.wl-btn-cart:hover { background: #5a3290; }

.wl-btn-remove {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 1px solid #e0d8ec;
  border-radius: 6px;
  background: #fff;
  color: #bbb;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .18s, color .18s, background .18s;
}
.wl-btn-remove:hover {
  border-color: #d05050;
  color: #d05050;
  background: #fff5f5;
}

/* 찜하기 버튼 — active 상태 (하트 채우기) */
.btn-wishlist.active svg path {
  fill: #e05585;
  stroke: #e05585;
}


/* ═══════════════════════════════════════════════════════
   PROFILE PANEL  (mypage.php #panel-profile)
═══════════════════════════════════════════════════════ */

/* 저장 결과 알림 */
.pf-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
}
.pf-notice-success {
  background: #e8f5ee;
  color: #1e7a42;
  border: 1px solid #b6dfc8;
}
.pf-notice-error {
  background: #fdf0f0;
  color: #c0392b;
  border: 1px solid #f5c0c0;
}

/* 아이덴티티 카드 */
.pf-identity-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, #6a3fa0 0%, #9b6ed4 100%);
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.pf-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,.35);
}
.pf-identity-info {
  flex: 1;
  min-width: 0;
}
.pf-identity-name {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.pf-identity-company {
  font-size: 12px;
  color: rgba(255,255,255,.75);
  margin-bottom: 8px;
}
.pf-grade-badge {
  display: inline-block;
  background: rgba(255,255,255,.2);
  color: #fff;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 11px;
  font-weight: 600;
}
.pf-identity-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 160px;
}
.pf-meta-row {
  display: flex;
  gap: 8px;
  font-size: 12px;
}
.pf-meta-row dt { color: rgba(255,255,255,.6); width: 42px; flex-shrink: 0; }
.pf-meta-row dd { color: #fff; font-weight: 500; margin: 0; }
.pf-status-active   { color: #7dffb3 !important; }
.pf-status-pending  { color: #ffd97d !important; }
.pf-status-suspended{ color: #ff9e9e !important; }

/* 섹션 */
.pf-section {
  background: #fff;
  border: 1px solid #ede8f7;
  border-radius: 10px;
  padding: 22px 24px;
  margin-bottom: 16px;
}
.pf-section-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #22112E;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-bottom: 1px solid #f0e8f8;
  padding-bottom: 12px;
  margin-bottom: 18px;
}
.pf-section-note {
  font-weight: 400;
  font-size: 11px;
  color: #aaa;
  text-transform: none;
  letter-spacing: 0;
}

/* 그리드 */
.pf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.pf-grid-1 { grid-template-columns: 1fr; }
.pf-field-full { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .pf-grid { grid-template-columns: 1fr; }
  .pf-identity-card { gap: 14px; }
  .pf-identity-meta { min-width: 0; flex-direction: row; flex-wrap: wrap; gap: 8px 20px; }
}

/* 필드 */
.pf-field { display: flex; flex-direction: column; gap: 6px; }
.pf-label {
  font-size: 12px;
  font-weight: 600;
  color: #555;
  display: flex;
  align-items: center;
  gap: 3px;
}
.pf-label .req { color: #e05050; font-size: 13px; }

.pf-input {
  height: 42px;
  padding: 0 14px;
  border: 1.5px solid #e0d8ec;
  border-radius: 8px;
  font-size: 13px;
  color: #22112E;
  background: #fff;
  width: 100%;
  box-sizing: border-box;
  transition: border-color .18s, box-shadow .18s;
  outline: none;
}
.pf-input:focus {
  border-color: #6a3fa0;
  box-shadow: 0 0 0 3px rgba(106,63,160,.1);
}
.pf-readonly {
  background: #f8f5fc;
  color: #999;
  cursor: default;
}

/* 비밀번호 입력 래퍼 */
.pf-pw-wrap { position: relative; }
.pf-pw-wrap .pf-input { padding-right: 42px; }
.pf-pw-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #aaa;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  transition: color .18s;
}
.pf-pw-toggle:hover { color: #6a3fa0; }

/* 비밀번호 규칙 */
.pf-pw-rules {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}
.pf-pw-rules li {
  font-size: 11px;
  color: #bbb;
  position: relative;
  padding-left: 14px;
  transition: color .18s;
}
.pf-pw-rules li::before {
  content: '○';
  position: absolute;
  left: 0;
  font-size: 9px;
}
.pf-pw-rules li.ok  { color: #2e9e62; }
.pf-pw-rules li.ok::before { content: '●'; }
.pf-pw-rules li.fail{ color: #c0392b; }
.pf-pw-rules li.fail::before { content: '○'; }

/* 비밀번호 일치 메시지 */
.pf-pw-match {
  font-size: 11px;
  margin-top: 4px;
}
.pf-pw-match.ok   { color: #2e9e62; }
.pf-pw-match.fail { color: #c0392b; }

/* 저장 버튼 */
.pf-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}
.pf-btn-save {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 28px;
  background: #6a3fa0;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s, transform .12s;
}
.pf-btn-save:hover  { background: #5a3290; }
.pf-btn-save:active { transform: scale(.97); }


/* ============================================================================ */
/* SECTION: order-edit  주문 수정/취소/거래명세서 관련 스타일                       */
/* ============================================================================ */

/* ── order_detail.php 수량 컨트롤 ──────────────────────── */
.od-edit-hint {
  font-size: 11px;
  font-weight: 400;
  color: #a0a0a0;
  margin-left: 8px;
}

.od-qty-ctrl {
  display: flex;
  align-items: center;
  gap: 4px;
}
.od-qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #faf9f8;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  color: #444;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.od-qty-btn:hover { background: #f0ede8; }

.od-qty-input {
  width: 56px;
  height: 28px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 13px;
  color: #333;
  padding: 0 4px;
}
.od-qty-input::-webkit-inner-spin-button,
.od-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

.od-qty-save {
  margin-left: 6px;
  padding: 4px 10px;
  background: #22112E;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
  white-space: nowrap;
}
.od-qty-save:hover { background: #3d1f52; }
.od-qty-save-hidden { display: none !important; }

/* ── 상품 삭제 버튼 ────────────────────────────────────── */
.od-item-del {
  display: flex;
  align-items: center;
  padding-left: 8px;
}
.od-btn-remove-item {
  width: 28px;
  height: 28px;
  border: 1px solid #f5c0c0;
  border-radius: 6px;
  background: #fff5f5;
  color: #e53e3e;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, border-color .15s;
}
.od-btn-remove-item:hover {
  background: #fed7d7;
  border-color: #e53e3e;
}

/* ── 거래명세서 버튼 ───────────────────────────────────── */
.od-btn-invoice {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  padding: 11px 14px;
  background: #f5f0fc;
  border: 1px solid #d4b8f0;
  border-radius: 8px;
  color: #22112E;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s;
}
.od-btn-invoice:hover { background: #ede4f8; }

/* ── 주문 액션 카드 ────────────────────────────────────── */
.od-action-card { border-color: #f5c0c0; }

.od-action-notice {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12px;
  color: #888;
  margin-bottom: 12px;
  line-height: 1.5;
}
.od-action-notice svg { flex-shrink: 0; margin-top: 1px; }

.od-btn-confirm-edit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px;
  background: #22112E;
  border: 1px solid #22112E;
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
  margin-bottom: 8px;
}
.od-btn-confirm-edit:hover { background: #3a1f4e; }
.od-btn-confirm-edit:disabled { opacity: .6; cursor: not-allowed; }

.od-btn-cancel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px;
  background: #fff;
  border: 1px solid #e53e3e;
  border-radius: 8px;
  color: #e53e3e;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}
.od-btn-cancel:hover { background: #fff5f5; }

.od-canceled-notice {
  text-align: center;
  color: #999;
  font-size: 13px;
  padding: 4px 0;
}

/* ── 취소 확인 모달 ────────────────────────────────────── */
.od-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.od-modal-overlay[hidden] { display: none; }

.od-modal {
  background: #fff;
  border-radius: 14px;
  padding: 32px 28px 24px;
  width: min(360px, 90vw);
  text-align: center;
  box-shadow: 0 8px 40px rgba(0,0,0,.18);
}
.od-modal-icon { margin-bottom: 12px; }
.od-modal-title {
  font-size: 16px;
  font-weight: 700;
  color: #22112E;
  margin-bottom: 8px;
}
.od-modal-desc {
  font-size: 13px;
  color: #888;
  margin-bottom: 24px;
}
.od-modal-btns {
  display: flex;
  gap: 10px;
}
.od-modal-btn-cancel,
.od-modal-btn-confirm {
  flex: 1;
  padding: 11px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background .15s;
}
.od-modal-btn-cancel {
  background: #f0ede8;
  color: #555;
}
.od-modal-btn-cancel:hover { background: #e5e0d8; }
.od-modal-btn-confirm {
  background: #e53e3e;
  color: #fff;
}
.od-modal-btn-confirm:hover { background: #c53030; }

/* ── mypage 주문 목록 액션 버튼 ────────────────────────── */
.order-list-wrap {
  border-bottom: 1px solid #f0ede8;
}
.order-list-wrap:last-child { border-bottom: none; }
.order-list-wrap .order-list-item {
  border-bottom: none;
}

.order-list-actions {
  display: flex;
  gap: 6px;
  padding: 6px 16px 10px;
}
.order-act-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s;
  cursor: pointer;
}
.order-act-invoice {
  background: #f5f0fc;
  color: #22112E;
  border: 1px solid #d4b8f0;
}
.order-act-invoice:hover { background: #ede4f8; }

.order-act-edit {
  background: #f5f5f5;
  color: #555;
  border: 1px solid #ddd;
}
.order-act-edit:hover { background: #e8e8e8; }

/* ── 토스트 success/error 색상 ─────────────────────────── */
.toast-success { background: #22112E !important; }
.toast-error   { background: #e53e3e !important; }

/* ══════════════════════════════════════════════════════════
   SECTION: list.php 인라인 검색 드롭다운 (shop-search)
══════════════════════════════════════════════════════════ */
.shop-search-inline-wrap {
  position: relative;
  margin-left: auto;
  flex-shrink: 0;
}

/* 인라인 form — 기존 .shop-search-inline 유지, wrap 이 포지션 기준 */
.shop-search-inline-wrap .shop-search-inline {
  margin-left: 0;
}

.shop-search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 320px;
  background: #fff;
  border: 1px solid #e8e0f0;
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(59,31,130,.13);
  z-index: 1200;
  overflow: hidden;
}

.ss-drop-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  text-decoration: none;
  color: inherit;
  transition: background .12s;
  border-bottom: 1px solid #f3eef9;
}
.ss-drop-item:last-of-type { border-bottom: none; }
.ss-drop-item:hover,
.ss-drop-item.is-active { background: #f8f4fd; }

.ss-drop-thumb {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  background: #f0eaf8;
}
.ss-drop-thumb-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  background: #ede6f5;
  flex-shrink: 0;
}

.ss-drop-info {
  flex: 1;
  min-width: 0;
}
.ss-drop-name {
  font-size: 13.5px;
  font-weight: 600;
  color: #22112E;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ss-drop-name mark {
  background: none;
  color: #3B1F82;
  font-weight: 700;
}
.ss-drop-code {
  display: block;
  font-size: 11.5px;
  color: #9e90ab;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ss-drop-code mark {
  background: none;
  color: #7B4DD4;
  font-weight: 700;
}

.ss-drop-week {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
  flex-shrink: 0;
  letter-spacing: .03em;
}
.ss-drop-week-A { background: #e8f0fe; color: #1a56c4; }
.ss-drop-week-B { background: #fce8f3; color: #b02070; }

.ss-drop-all {
  display: block;
  padding: 10px 14px;
  font-size: 12.5px;
  color: #3B1F82;
  font-weight: 600;
  text-decoration: none;
  background: #f8f4fd;
  border-top: 1px solid #ede6f5;
  text-align: right;
  transition: background .12s;
}
.ss-drop-all:hover,
.ss-drop-all.is-active { background: #ede6f5; }

.ss-drop-empty {
  padding: 18px 14px;
  font-size: 13px;
  color: #9e90ab;
  text-align: center;
}

/* 빈 결과 초기화 링크 */
.no-results-reset {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  color: #3B1F82;
  text-decoration: underline;
}
.no-results-reset:hover { color: #22112E; }

/* ── 개인정보 레이어 팝업 ─────────────────────────────────── */
.prv-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.52);
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.prv-overlay[hidden] { display: none; }
.prv-modal {
  background: #fff;
  border-radius: 12px;
  width: min(700px, 100%);
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 50px rgba(0,0,0,.22);
}
.prv-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}
.prv-modal-title {
  font-size: 16px;
  font-weight: 700;
  color: #22112E;
}
.prv-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: #aaa;
  padding: 0;
  line-height: 1;
  transition: color .15s;
}
.prv-modal-close:hover { color: #333; }
.prv-modal-body {
  padding: 22px 24px;
  overflow-y: auto;
  flex: 1;
  font-size: 13px;
  line-height: 1.8;
  color: #444;
}
.prv-modal-body h1,.prv-modal-body h2,.prv-modal-body h3 {
  font-size: 14px;
  font-weight: 700;
  margin: 1em 0 .4em;
  color: #22112E;
}
.prv-modal-body p { margin-bottom: .6em; }
.prv-modal-body table { width: 100%; border-collapse: collapse; margin-bottom: 1em; font-size: 12px; }
.prv-modal-body th, .prv-modal-body td { border: 1px solid #ddd; padding: 6px 10px; }
.prv-modal-body th { background: #f7f4f0; font-weight: 600; }
.prv-modal-footer {
  padding: 14px 24px;
  border-top: 1px solid #eee;
  text-align: right;
  flex-shrink: 0;
}
.prv-modal-footer button {
  padding: 9px 28px;
  background: #22112E;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}
.prv-modal-footer button:hover { background: #3B1F82; }


/* ── 주문배너 PC/모바일 아이콘·2줄 처리 ─────────────── */
.mo-br     { display: none; }
.ob-icon-mo { display: none; }
@media (max-width: 768px) {
  .ob-icon-pc { display: none; }
  .ob-icon-mo { display: inline-block; }
  .mo-br      { display: block; }
  .ob-open-text { text-align: center; }
  .ob-banner-row { align-items: center !important; }
}

/* ── 모바일 전용 검색바 ───────────────────────────────── */
.mo-search-bar { display: none; }
@media (max-width: 768px) {
  .mo-search-bar {
    display: block;
    background: #fff;
    padding: 8px 16px 9px;
    border-bottom: 1px solid rgba(0,0,0,.1);
    position: relative;
    z-index: 101;
  }
  .mo-search-form {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #f7f5f3;
    overflow: visible;
    position: relative;
  }
  #moSearchInput {
    flex: 1;
    border: none;
    background: transparent;
    padding: 9px 12px;
    font-size: 14px;
    outline: none;
    min-width: 0;
    color: #222;
  }
  #moSearchInput::placeholder { color: #aaa; }
  #moSearchInput::-webkit-search-cancel-button { -webkit-appearance: none; }
  .mo-search-btn {
    padding: 8px 12px;
    background: none;
    border: none;
    border-left: 1px solid #ddd;
    cursor: pointer;
    color: #555;
    flex-shrink: 0;
  }
  .mo-search-btn svg { width: 18px; height: 18px; display: block; }
  .mo-search-btn:hover { color: #3B1F82; }
  .mo-search-dropdown {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    z-index: 9000;
  }
}

/* ════════════════════════════════════════════════════════════
   재주문 기능 (mypage 카드 [재주문] / order_detail [전체/선택 재주문])
═══════════════════════════════════════════════════════════════ */

/* mypage 최근 주문 카드 — wrapper + 액션 영역 */
.order-list-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: #fff;
}
.order-list-row > .order-list-item { flex: 1 1 auto; min-width: 0; }
.order-list-row > .order-list-actions {
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-left: 1px solid rgba(0,0,0,.04);
}
.btn-reorder-mp {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border: 1px solid #3B1F82;
  background: #fff;
  color: #3B1F82;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.btn-reorder-mp:hover { background: #3B1F82; color: #fff; }
.btn-reorder-mp:disabled { opacity: .5; cursor: not-allowed; }

/* order_detail 재주문 컨트롤 바 */
.od-reorder-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin: 6px 0 12px;
  background: #f8f6fd;
  border: 1px solid rgba(59,31,130,.12);
  border-radius: 6px;
  flex-wrap: wrap;
}
.od-reorder-checkall {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #4a4458;
  cursor: pointer;
  user-select: none;
}
.od-reorder-checkall input[type="checkbox"] {
  width: 16px; height: 16px; cursor: pointer;
}
.od-reorder-btn {
  font-size: 13px;
  padding: 7px 14px;
  cursor: pointer;
}
.od-reorder-btn:disabled { opacity: .5; cursor: not-allowed; }

/* 재주문 안내 문구 — .od-reorder-bar 안 별도 줄로 wrap */
.od-reorder-bar { flex-wrap: wrap; }
.od-reorder-help {
  flex-basis: 100%;
  margin: 0;
  padding: 4px 2px 0;
  font-size: 12px;
  color: #7a6e8a;
  line-height: 1.45;
}

/* order_detail 품목 행 — 체크박스 컬럼 */
.od-item-check {
  display: flex;
  align-items: center;
  padding-right: 8px;
}
.od-item-check input[type="checkbox"] {
  width: 16px; height: 16px; cursor: pointer;
}
.od-item-check input[disabled] { cursor: not-allowed; opacity: .4; }

/* 모바일 — mypage 카드 액션 위치, order_detail 재주문 바 stack */
@media (max-width: 768px) {
  .order-list-row { flex-direction: row; }
  .order-list-row > .order-list-actions {
    padding: 0 8px;
    border-left: none;
  }
  .btn-reorder-mp {
    padding: 5px 8px;
    font-size: 11px;
  }
  .btn-reorder-mp span { display: none; }   /* 모바일: 아이콘만 */
  .od-reorder-bar { gap: 8px; padding: 8px 10px; }
  .od-reorder-btn { font-size: 12px; padding: 6px 12px; }
}

/* ════════════════════════════════════════════════════════════
   모바일 상단 고정 — 메뉴(#header) + 검색바(.mo-search-bar) + 주문배너(.ob-banner-wrap)
   스크롤해도 항상 보이게 누적 sticky. top 오프셋은 header.php JS가 실제 높이로 주입.
   z-index 는 오버레이(메뉴 9000·백드롭 8999·드롭다운/토스트 9999)보다 낮게 유지.
   ════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  #header        { position: sticky; top: 0; z-index: 200; }
  .mo-search-bar { position: sticky; top: var(--mo-sticky-h1, 56px);  z-index: 199; }
  .ob-banner-wrap{ position: sticky; top: var(--mo-sticky-h2, 110px); z-index: 198; }
}

/* PC: 계정(마이페이지/로그인)·장바구니 아이콘 살짝 키움 */
@media (min-width: 769px) {
  .header-login svg { width: 24px; height: 24px; }
  .header-cart svg  { width: 26px; height: 26px; }
}
