/* ==========================================================================
   Kids Brand Catalog - Global Styles & Design System
   따뜻한 오프화이트/아이보리 감성의 모바일 중심 아동복 룩북 카탈로그
   ========================================================================== */

:root {
  /* 따뜻하고 세련된 감성 컬러 팔레트 */
  --bg-main: #FAF8F5;           /* 크리미한 오프화이트 배경 */
  --bg-surface: #FFFFFF;        /* 카드 및 모달 서피스 */
  --bg-subtle: #F3EFE9;         /* 칩, 연한 배색 */
  --bg-active: #EBE5DC;

  --text-main: #2D2A26;         /* 부드러운 딥 차콜 브라운 */
  --text-sub: #78726A;          /* 서브 타이포 그래피 */
  --text-muted: #A6A097;        /* 플레이스홀더 및 캡션 */
  --text-white: #FFFFFF;

  --border-light: #ECE7DE;      /* 은은한 외곽선 */
  --border-medium: #DDD6CA;

  --accent-terracotta: #C27453; /* 감성 테라코타 포인트 */
  --accent-olive: #7B856B;      /* 자연을 닮은 세이지 올리브 */
  --accent-gold: #C09A67;

  --badge-new: #C27453;
  --badge-soldout: #5A5652;
  --heart-color: #E65A5A;

  /* 하단 고정 문의 바 컬러 */
  --kakao-yellow: #FEE500;
  --kakao-text: #191919;
  --phone-dark: #2D2A26;

  /* 그림자 & 라운딩 */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  --shadow-card: 0 4px 18px rgba(45, 42, 38, 0.05);
  --shadow-hover: 0 8px 26px rgba(45, 42, 38, 0.09);
  --shadow-modal: 0 16px 40px rgba(35, 30, 25, 0.18);
  --shadow-float: 0 -4px 20px rgba(45, 42, 38, 0.07);

  /* 타이포그래피 */
  --font-serif: "Playfair Display", "Didot", "Georgia", "Nanum Myeongjo", serif;
  --font-sans: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  
  /* 반응형 컨테이너 너비 */
  --container-max: 1200px;
  --bottom-bar-height: 72px;
}

/* 기본 리셋 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  letter-spacing: -0.015em;
  padding-bottom: calc(var(--bottom-bar-height) + 30px);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* 이미지 반응형 리셋 */
img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

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

input {
  font-family: inherit;
  outline: none;
  border: none;
}

/* 중앙 정렬 컨테이너 */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 28px;
  }
}

/* ==========================================================================
   하단 고정 문의하기 바 (Fixed Floating Bottom Bar)
   ========================================================================== */
.floating-inquiry-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottom-bar-height);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-light);
  box-shadow: var(--shadow-float);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.inquiry-btn-group {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 520px;
}

.btn-inquiry {
  flex: 1;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-inquiry svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* 카카오톡 버튼 */
.btn-inquiry.kakao {
  background-color: var(--kakao-yellow);
  color: var(--kakao-text);
  box-shadow: 0 3px 10px rgba(254, 229, 0, 0.3);
}

.btn-inquiry.kakao:active {
  transform: scale(0.97);
  background-color: #ebd300;
}

/* 전화 문의 버튼 */
.btn-inquiry.phone {
  background-color: var(--phone-dark);
  color: var(--text-white);
  box-shadow: 0 3px 10px rgba(45, 42, 38, 0.2);
}

.btn-inquiry.phone:active {
  transform: scale(0.97);
  background-color: #1a1816;
}

/* ==========================================================================
   토스트 팝업 (즐겨찾기 추가/해제 알림 등)
   ========================================================================== */
.toast-notice {
  position: fixed;
  bottom: calc(var(--bottom-bar-height) + 20px);
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background-color: rgba(45, 42, 38, 0.92);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  pointer-events: none;
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1200;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.toast-notice.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


/* ===== 2026-09 운영용 심플 메인 ===== */
.simple-main-header{max-width:1180px;margin:28px auto 34px;display:grid;grid-template-columns:minmax(180px,360px) 1fr;gap:34px;align-items:center;padding:0 8px}.simple-hero-image-wrap{aspect-ratio:4/3;border-radius:22px;overflow:hidden;background:#f1ede7}.simple-hero-image{width:100%;height:100%;object-fit:cover;display:block}.simple-hero-copy{padding:10px 0}.simple-eyebrow{display:block;font-size:.78rem;letter-spacing:.22em;color:#a56f51;font-weight:700;margin-bottom:12px}.simple-hero-copy h1{margin:0 0 10px;font-size:clamp(2rem,4vw,4rem);line-height:1.05}.simple-hero-copy p{margin:0;color:#777;line-height:1.6}.simple-section-heading{margin-bottom:18px}.floating-inquiry-bar{z-index:30}@media(max-width:700px){.container{padding-left:14px!important;padding-right:14px!important}.simple-main-header{grid-template-columns:1fr;gap:14px;margin:14px auto 24px}.simple-hero-image-wrap{aspect-ratio:16/9;border-radius:16px}.simple-hero-copy{text-align:center;padding:0 8px}.simple-eyebrow{font-size:.67rem;margin-bottom:7px}.simple-hero-copy h1{font-size:2rem;margin-bottom:6px}.simple-hero-copy p{font-size:.9rem}.section-label-row{align-items:flex-end!important}.section-sub{font-size:.76rem!important}.floating-inquiry-bar{padding-bottom:max(8px,env(safe-area-inset-bottom))}}
