/* 차란 플레이 허브 (apex). 색은 shared/brand/tokens.css의 임시 브랜드 색(#ff4d6d)에 맞췄다. */
:root {
  --bg: #fff8f3;
  --ink: #17130f;
  --ink-2: #6f665e;
  --line: #eadfd6;
  --card: #ffffff;
  --brand: #ff4d6d;
  --brand-2: #ff7a59;
  --maxw: 1040px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.top { max-width: var(--maxw); margin: 0 auto; padding: 16px 20px 0; display: flex; align-items: center; justify-content: space-between; }
.top__logo { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink-2); }
.top__logo b { color: var(--ink); font-weight: 900; }
.top__shop { font-size: 14px; font-weight: 800; color: var(--brand); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px 40px; }

.hero { padding: 36px 0 8px; }
.hero__eyebrow { margin: 0 0 10px; font-size: 12px; font-weight: 900; letter-spacing: .24em; color: var(--brand); }
.hero__title { margin: 0 0 14px; font-size: clamp(36px, 9vw, 64px); line-height: 1.06; letter-spacing: -0.045em; font-weight: 900; word-break: keep-all; }
.hero__title em { font-style: normal; background: linear-gradient(135deg, var(--brand-2), var(--brand)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { margin: 0; font-size: 16px; color: var(--ink-2); word-break: keep-all; }
.hero__lead b { color: var(--ink); }

.sec__eyebrow { margin: 28px 0 10px; font-size: 13px; font-weight: 900; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.sec__eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(255,77,109,.18); }

/* 오늘의 추천 */
.pick .card { flex-direction: column; }
.pick .card__title { font-size: 24px; }
.pick .card__go { display: inline-flex; }
@media (min-width: 760px) {
  .pick .card { flex-direction: row; align-items: stretch; }
  .pick .card__img { width: 58%; aspect-ratio: 1200 / 630; }
  .pick .card__body { justify-content: center; padding: 28px; }
  .pick .card__title { font-size: 32px; }
}

/* 탭 */
.tabs { position: sticky; top: 0; z-index: 5; display: flex; gap: 8px; overflow-x: auto; padding: 14px 20px; margin: 22px -20px 6px; background: linear-gradient(var(--bg) 78%, rgba(255,248,243,0)); scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); font: inherit; font-size: 15px; font-weight: 800; color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.tab small { font-size: 12px; font-weight: 700; opacity: .7; }
.tab.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* 카드 그리드 */
.grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 620px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .grid { grid-template-columns: 1fr 1fr 1fr; } }
.card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: transform .14s ease, box-shadow .14s ease; animation: up .35s cubic-bezier(.2,.8,.2,1) both; }
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(60, 30, 10, .12); }
.card:active { transform: scale(.985); }
@keyframes up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.card__img { position: relative; display: block; aspect-ratio: 1200 / 630; background: #f1e7de; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__badge { position: absolute; left: 12px; top: 12px; font-size: 12px; font-weight: 900; padding: 5px 10px; border-radius: 999px; background: var(--ink); color: #fff; }
.card__badge--new { background: var(--brand); }
.card__body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; }
.card__title { font-size: 19px; font-weight: 900; letter-spacing: -0.02em; word-break: keep-all; }
.card__tag { font-size: 14px; color: var(--ink-2); word-break: keep-all; }
.card__meta { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12px; font-weight: 800; color: var(--ink-2); }
.card__meta i { font-style: normal; padding: 3px 9px; border-radius: 999px; background: #f6eee7; }
.card__go { display: none; align-self: flex-start; margin-top: 14px; min-height: 48px; padding: 0 22px; align-items: center; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 800; }

.empty { text-align: center; color: var(--ink-2); padding: 40px 0; }

/* 차란 안내 */
.shop { margin-top: 48px; padding: 32px 24px; border-radius: 24px; background: #17130f; color: #fff; text-align: center; }
.shop__title { margin: 0 0 10px; font-size: clamp(24px, 6vw, 34px); line-height: 1.2; letter-spacing: -0.03em; font-weight: 900; word-break: keep-all; }
.shop__lead { margin: 0 0 20px; color: rgba(255,255,255,.7); font-size: 15px; word-break: keep-all; }
.shop__row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px; border-radius: 999px; font-size: 16px; font-weight: 800; }
.btn--primary { color: #fff; background: linear-gradient(135deg, var(--brand-2), var(--brand)); }
.btn--ghost { color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.btn:active { transform: scale(.98); }

.foot { text-align: center; padding: 8px 20px 36px; font-size: 12px; color: var(--ink-2); }
.foot b { font-weight: 800; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
