/* CLOMATE Design System
   Pink × Mint · Playful & Friendly · Korean
*/

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');

:root {
  /* === Brand Colors === */
  --pink:       #FF4D9E;
  --pink-deep:  #E0357F;
  --pink-soft:  #FFE0F0;
  --pink-pale:  #FFF5FA;
  --pink-gloss: linear-gradient(135deg, #FF77B6 0%, #FF4D9E 50%, #E0357F 100%);
  
  --mint:       #2ECFBC;
  --mint-deep:  #1AAFA0;
  --mint-soft:  #DFFAF6;

  /* === Surfaces === */
  --bg:         #FFEDF6;
  --bg-mesh:    radial-gradient(at 0% 0%, hsla(330,100%,95%,1) 0, transparent 55%),
                radial-gradient(at 50% 0%, hsla(330,100%,92%,1) 0, transparent 55%),
                radial-gradient(at 100% 0%, hsla(170,85%,93%,1) 0, transparent 55%);
  --bg-2:       #FFE8F3;
  --card:       #FFFFFF;
  --card-2:     #FFF0F7;

  /* === Text === */
  --ink:        #1A0E2E;
  --ink-2:      #3D2E52;
  --muted:      #7E6694;

  /* === Borders === */
  --line:       #FFCCE7;
  --line-2:     #FFB3DC;
  --glass-line: rgba(255, 255, 255, 0.4);

  /* === Radius === */
  --r-xs:  6px;
  --r-sm:  12px;
  --r-md:  20px;
  --r-lg:  28px;
  --r-xl:  40px;
  --r-pill: 100px;

  /* === Shadows (Claymorphic) === */
  --shadow-clay: 
    0 10px 20px rgba(255, 77, 158, 0.15),
    inset 0 -8px 12px rgba(255, 77, 158, 0.1),
    inset 0 4px 8px rgba(255, 255, 255, 0.8);
  
  --shadow-sm:  0 4px 12px rgba(255,77,158,0.08);
  --shadow-md:  0 12px 32px rgba(255,77,158,0.12);
  --shadow-lg:  0 30px 60px rgba(255,77,158,0.16);

  --sans: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

/* === Hybrid UI Components === */
.clay-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-clay);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}
.clay-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 40px rgba(255, 77, 158, 0.2), var(--shadow-clay);
}

.clay-btn {
  background: var(--pink-gloss);
  color: #fff;
  border-radius: var(--r-pill);
  padding: 14px 28px;
  font-weight: 800;
  box-shadow: 
    0 8px 16px rgba(255, 77, 158, 0.3),
    inset 0 -4px 6px rgba(0, 0, 0, 0.1),
    inset 0 4px 6px rgba(255, 255, 255, 0.3);
  border: none;
  transition: all 0.2s ease;
}
.clay-btn:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 12px 24px rgba(255, 77, 158, 0.4),
    inset 0 -2px 4px rgba(0, 0, 0, 0.1),
    inset 0 6px 8px rgba(255, 255, 255, 0.4);
}
.clay-btn:active {
  transform: translateY(1px);
  box-shadow: 
    0 4px 8px rgba(255, 77, 158, 0.2),
    inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.glass-panel {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-line);
  border-radius: var(--r-xl);
  box-shadow: 0 8px 32px rgba(255, 77, 158, 0.08);
}

/* === Sticky Bottom Bar === */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px) saturate(160%);
  border-top: 1px solid var(--line);
  padding: 12px 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.05);
  animation: slide-up 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes slide-up {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
.sticky-bar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
}
.sticky-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.sticky-logo {
  width: 48px; height: 48px;
  background: #fff;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
}
.sticky-contacts {
  display: grid;
  gap: 2px;
}
.sticky-contact-item {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  display: flex;
  gap: 8px;
}
.sticky-contact-item .label {
  background: var(--pink);
  color: #fff;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 11px;
}
.sticky-form {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}
.sticky-form input {
  height: 44px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
  width: 100%;
}
.sticky-form input:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(255, 77, 158, 0.1);
}
.sticky-agreement {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}
.sticky-agreement input {
  width: 16px; height: 16px;
  cursor: pointer;
}
.sticky-btn {
  padding: 12px 32px;
  font-size: 15px;
}

@media (max-width: 1200px) {
  .sticky-bar { display: none; } /* Hide on mobile for better UX */
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  background-image: var(--bg-mesh);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
img { max-width: 100%; display: block; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 8px; border: 2px solid var(--bg-2); }
::-webkit-scrollbar-thumb:hover { background: var(--pink); }

/* === Typography === */
.h-display {
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.h1 { font-size: 36px; line-height: 1.15; letter-spacing: -0.025em; font-weight: 700; }
.h2 { font-size: 26px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; }
.h3 { font-size: 19px; line-height: 1.3; letter-spacing: -0.015em; font-weight: 700; }
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink);
}
.muted { color: var(--muted); }

/* === Animations === */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  animation: fade-up 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

/* === Layout === */
.shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.section { padding: 96px 0; }
section { position: relative; z-index: 1; }

/* === Header === */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 30px rgba(255, 77, 158, 0.05);
}
.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* === Brand / Logo === */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: 20px;
  color: var(--pink);
  text-transform: uppercase;
}
.brand-mark {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-mark svg {
  width: 38px;
  height: 38px;
}
.brand-mark img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
}
.brand-name {
  color: var(--pink);
  line-height: 1;
  font-weight: 900;
}

.brand-wholesale {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
}
.brand-wholesale-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}
.brand-wholesale .brand-name { font-size: 18px; line-height: 1; }
.brand-wholesale .wholesale-text {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--mint-deep);
  font-weight: 800;
}

/* === Navigation === */
.topnav {
  display: flex;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
}
.topnav a {
  color: var(--ink-2);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  transition: background 0.15s, color 0.15s;
}
.topnav a:hover { color: var(--pink); background: var(--pink-soft); }
.topnav a.active {
  color: var(--pink);
  background: var(--pink-soft);
  font-weight: 600;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  border: 2px solid transparent;
  transition: transform 0.08s, box-shadow 0.15s, background 0.15s, color 0.15s;
  white-space: nowrap;
  cursor: pointer;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--pink-gloss);
  color: #fff;
  box-shadow: 
    0 8px 16px rgba(255, 77, 158, 0.3),
    inset 0 -4px 6px rgba(0, 0, 0, 0.1),
    inset 0 4px 6px rgba(255, 255, 255, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 12px 24px rgba(255, 77, 158, 0.4),
    inset 0 -2px 4px rgba(0, 0, 0, 0.1),
    inset 0 6px 8px rgba(255, 255, 255, 0.4);
}

.btn-mint {
  background: linear-gradient(135deg, #2ECFBC 0%, #50E0CF 100%);
  color: #fff;
  box-shadow: 0 8px 16px rgba(46,207,188,0.25);
}
.btn-mint:hover {
  background: linear-gradient(135deg, #1AAFA0 0%, #2ECFBC 100%);
  box-shadow: 0 12px 24px rgba(46,207,188,0.35);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  color: var(--pink);
  border: 2px solid var(--pink);
  box-shadow: 0 4px 12px rgba(255, 77, 158, 0.1);
}
.btn-outline:hover {
  background: var(--pink-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(255, 77, 158, 0.15);
}

.btn-outline-mint {
  background: var(--card);
  color: var(--mint);
  border-color: var(--mint);
}
.btn-outline-mint:hover { background: var(--mint-soft); }

.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  border-color: transparent;
}
.btn-ghost:hover { background: var(--bg-2); color: var(--pink); }

.btn-ink {
  background: var(--ink);
  color: #fff;
}
.btn-ink:hover { background: var(--ink-2); }

.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* === Cards === */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.card-pad { padding: 24px; }
.card-pad-lg { padding: 32px; }

/* === Forms === */
.field { display: flex; flex-direction: column; gap: 6px; }
.label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ink-2);
}
.input, .select, .textarea {
  width: 100%;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--ink);
  transition: border 0.15s, box-shadow 0.15s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(255,77,158,0.12);
}
.textarea { resize: vertical; min-height: 96px; }
.input::placeholder, .textarea::placeholder { color: var(--muted); opacity: 0.6; }

/* === Badges / Chips === */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: var(--bg-2);
  color: var(--ink-2);
}
.badge-pink  { background: var(--pink-soft); color: var(--pink-deep); }
.badge-mint  { background: var(--mint-soft); color: var(--mint-deep); }
.badge-green { background: #D6F5E8; color: #0F8A56; }
.badge-yellow{ background: #FEF3C7; color: #92650A; }
.badge-red   { background: #FFE0E6; color: #C0234A; }
.badge-coral { background: var(--pink-soft); color: var(--pink-deep); }
.badge-blue  { background: #E0EAFF; color: #2B50CC; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }

/* === Product plush placeholder === */
.plush {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(145deg, var(--pink-pale) 0%, #FFF0FA 100%);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.plush-tag {
  position: absolute;
  top: 10px; left: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255,255,255,0.9);
  padding: 3px 8px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
}
.plush-glyph {
  font-size: 68px;
  line-height: 1;
  filter: drop-shadow(0 4px 8px rgba(255,77,158,0.15));
}
.plush-disc {
  position: absolute;
  top: 10px; right: 10px;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--pink);
  padding: 3px 8px;
  border-radius: var(--r-pill);
}

/* === Table === */
.table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.table th, .table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.table th {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--muted);
  background: var(--pink-pale);
}
.table tbody tr:hover { background: var(--pink-pale); }
.table tbody tr:last-child td { border-bottom: 0; }

/* === Footer === */
.foot {
  background: var(--ink);
  color: rgba(255,255,255,0.6);
  padding: 48px 0 110px;
  font-size: 13px;
}
.foot-grid {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: space-between;
  gap: 48px;
}
.foot-grid h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: rgba(255,255,255,0.4);
}
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-grid a:hover { color: var(--pink); }
.foot .brand-name { color: #fff; }
.foot .brand-name span { color: #fff; }

/* === Utility === */
.row { display: flex; align-items: center; }
.between { justify-content: space-between; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.grid   { display: grid; }
.text-pink  { color: var(--pink); }
.text-mint  { color: var(--mint); }
.text-muted { color: var(--muted); }
.tnum { font-variant-numeric: tabular-nums; }

/* === Decorative blobs === */
.blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* === Responsive — Tablet (max 1024) === */
@media (max-width: 1024px) {
  .shell { padding: 0 24px; }
  .section { padding: 80px 0; }
  h1 { font-size: 38px; line-height: 1.18; }
  h2 { font-size: 28px; }
}

/* === Responsive — Mobile (max 768) === */
@media (max-width: 768px) {
  html, body { font-size: 14px; }
  .shell { padding: 0 18px; }
  .section { padding: 56px 0; }
  h1 { font-size: 30px; line-height: 1.22; letter-spacing: -0.02em; }
  h2 { font-size: 22px; line-height: 1.28; }
  h3 { font-size: 18px; }
  .topnav { display: none; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  /* CTA buttons — 터치 영역 확보 */
  .btn { padding: 11px 18px; font-size: 13px; min-height: 40px; }
  .btn-sm { padding: 9px 14px; font-size: 12px; min-height: 36px; }
  .btn-lg { padding: 14px 22px; font-size: 14px; min-height: 44px; }
  .btn-block { width: 100%; }
  /* table — 가로 스크롤 폴백 */
  .table { font-size: 12px; }
  .table th, .table td { padding: 10px 12px; }
}

/* === Responsive — Small Mobile (max 480) === */
@media (max-width: 480px) {
  h1 { font-size: 26px; }
  h2 { font-size: 20px; }
  .shell { padding: 0 14px; }
  .section { padding: 44px 0; }
  /* form inputs — iOS auto-zoom 방지 + 터치성 */
  input, select, textarea, .input { font-size: 16px !important; }
  /* 기존 880 미디어쿼리 호환 */
}

/* === legacy 880 — 일부 페이지에서 의존 중이라 유지 === */
@media (max-width: 880px) {
  .topnav { display: none; }
  .foot-grid { grid-tem