:root {
  --bg: #f7f7f8;
  --surface: #ffffff;
  --surface-2: #fafafb;
  --line: #ececf1;
  --text: #111111;
  --muted: #7b7b85;
  --brand: #ff6a3d;
  --brand-2: #ff8f70;
  --brand-soft: #fff1ec;
  --dark: #1a1d25;
  --success: #14b87a;
  --bottom-nav-bg: #ffffff;
  --shadow: 0 12px 28px rgba(17, 17, 17, 0.08);
  --shadow-lg: 0 20px 40px rgba(17, 17, 17, 0.12);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  color: var(--text);
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

html {
  background: var(--bottom-nav-bg);
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  background: linear-gradient(180deg, #fff8f4 0%, #f7f7f8 180px, #f7f7f8 100%);
}

body::after {
  content: "";
  position: fixed;
  z-index: 59;
  left: 50%;
  bottom: 0;
  width: min(100%, 430px);
  height: max(env(safe-area-inset-bottom, 0px), 34px);
  transform: translateX(-50%);
  background: var(--bottom-nav-bg);
  pointer-events: none;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--bg);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03);
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 14px 16px 12px;
  background: rgba(247, 247, 248, 0.92);
  backdrop-filter: blur(14px);
}

.brand-row,
.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.page-head {
  margin-bottom: 0;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
}

.logo span {
  color: var(--brand);
}

.home-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  margin-bottom: 12px;
}

.home-logo {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  flex: 0 0 auto;
  margin: 0;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.home-top-icons {
  height: 38px;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.home-top-icons .icon-btn {
  position: relative;
  top: -1px;
}

.customer-center-btn {
  position: relative;
  overflow: visible;
  border-color: rgba(255, 106, 61, 0.22);
  background: linear-gradient(180deg, #fffaf7 0%, #fff2ec 100%);
  color: var(--brand);
  box-shadow:
    0 10px 22px rgba(255, 106, 61, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  animation: customer-breathe 2.8s ease-in-out infinite;
}

.customer-center-btn::before {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(255, 106, 61, 0.2);
  border-radius: 50%;
  opacity: 0.9;
  animation: customer-ring 2.8s ease-out infinite;
}

.customer-center-btn .icon-svg {
  filter: drop-shadow(0 2px 6px rgba(255, 106, 61, 0.16));
}

.customer-center-dot {
  position: absolute;
  top: 5px;
  right: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ff966f 0%, var(--brand) 100%);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.92);
}

.top-icons,
.head-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn,
.back-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  font-size: 15px;
}

.icon-btn {
  color: #1f2430;
}

.icon-btn.customer-center-btn {
  border-color: rgba(255, 106, 61, 0.22);
  background: linear-gradient(180deg, #fffaf7 0%, #fff2ec 100%);
  color: var(--brand);
}

.icon-svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-heart {
  width: 8px;
  height: 8px;
  stroke-width: 1.6;
}

.back-btn {
  width: 42px;
  height: 42px;
}

@keyframes customer-breathe {
  0%, 100% {
    transform: scale(1);
    box-shadow:
      0 10px 22px rgba(255, 106, 61, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }
  50% {
    transform: scale(1.06);
    box-shadow:
      0 14px 28px rgba(255, 106, 61, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 1);
  }
}

@keyframes customer-ring {
  0% {
    transform: scale(0.96);
    opacity: 0;
  }
  18% {
    opacity: 0.6;
  }
  100% {
    transform: scale(1.22);
    opacity: 0;
  }
}

@keyframes search-breathe {
  0%, 100% {
    box-shadow:
      0 0 0 2px rgba(255, 106, 61, 0.18),
      0 0 0 7px rgba(255, 106, 61, 0.06),
      0 12px 24px rgba(255, 106, 61, 0.14);
  }
  50% {
    box-shadow:
      0 0 0 2px rgba(255, 106, 61, 0.3),
      0 0 0 10px rgba(255, 106, 61, 0.1),
      0 16px 30px rgba(255, 106, 61, 0.2);
  }
}

.search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #9a9aa3;
  font-size: 14px;
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.04);
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.search:focus-within {
  border-color: rgba(255, 106, 61, 0.92);
  box-shadow:
    0 0 0 2px rgba(255, 106, 61, 0.24),
    0 0 0 8px rgba(255, 106, 61, 0.08),
    0 12px 24px rgba(255, 106, 61, 0.14);
  transform: translateY(-1px);
  animation: search-breathe 2.1s ease-in-out infinite;
}

.search:focus-within .search-submit {
  box-shadow: 0 10px 20px rgba(255, 106, 61, 0.26);
}

.search-link {
  cursor: pointer;
}

.search.compact {
  height: 42px;
  font-size: 13px;
  box-shadow: none;
}

.search-form {
  padding-right: 8px;
}

.search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  outline: none;
}

.search-input::placeholder {
  color: #a1a5af;
}

.search-submit {
  flex-shrink: 0;
  height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.search-stack {
  position: relative;
}

.search-suggest {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: 0;
  z-index: 24;
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 106, 61, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow:
    0 22px 36px rgba(17, 17, 17, 0.1),
    0 8px 22px rgba(255, 106, 61, 0.08);
  backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.98);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.search-suggest.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.search-suggest-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.search-suggest-head strong {
  display: block;
  font-size: 15px;
  letter-spacing: -0.04em;
}

.search-suggest-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.search-suggest-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff8a66 0%, var(--brand) 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.search-suggest-label {
  color: #757d8d;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.search-suggest-grid,
.search-memory-grid {
  display: grid;
  gap: 10px;
}

.search-suggest-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.search-suggest-chip,
.search-memory-card {
  border: 1px solid #f1e4de;
  background: linear-gradient(180deg, #fffdfc 0%, #fff5f0 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 10px 18px rgba(255, 106, 61, 0.06);
}

.search-suggest-chip {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 16px;
  color: #413a37;
  font-size: 13px;
  font-weight: 900;
  text-align: left;
}

.search-memory-grid {
  grid-template-columns: 1fr 1fr;
}

.search-memory-card {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 18px;
  text-align: left;
  color: var(--text);
}

.search-memory-card strong {
  font-size: 14px;
  line-height: 1.28;
  letter-spacing: -0.03em;
}

.search-memory-card span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.memory-kicker {
  color: var(--brand) !important;
  font-size: 11px !important;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-panel-empty {
  padding: 14px;
  border-radius: 18px;
  background: #fff7f3;
  color: #6b5147;
  font-size: 12px;
  line-height: 1.55;
}

.tabs,
.subtabs,
.chip-row,
.story-row {
  display: flex;
  gap: 10px;
  overflow: auto;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar,
.subtabs::-webkit-scrollbar,
.chip-row::-webkit-scrollbar,
.story-row::-webkit-scrollbar {
  display: none;
}

.tabs {
  gap: 16px;
  padding: 10px 16px 0;
}

.tab {
  position: relative;
  white-space: nowrap;
  padding: 10px 2px 12px;
  color: #8a8a93;
  font-size: 15px;
  font-weight: 800;
}

.tab.active {
  color: var(--text);
}


.content {
  padding: 12px 16px 86px;
}

.hero {
  padding: 22px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(135deg, #181b26 0%, #2b3344 44%, #ff6a3d 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.hero-badge,
.eyebrow {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  background: transparent;
  padding: 0;
  color: var(--brand);
}

.hero h1,
.headline {
  margin: 14px 0 0;
  font-size: 34px;
  line-height: 1.06;
  letter-spacing: -0.06em;
}

.hero p,
.muted {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
  font-size: 14px;
}

.hero-actions,
.btn-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.section {
  margin-top: 24px;
}

.home-first-section {
  margin-top: 12px;
}

.section-card,
.small-card,
.product,
.tile,
.summary-card,
.option-card,
.modal-card,
.sheet-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.section-card {
  padding: 18px;
}

.section-card.dense {
  padding: 14px;
  border-radius: 22px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.section-title {
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.section-copy {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 13px;
}

.link {
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px 8px;
}

.cat {
  text-align: center;
}

.cat-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 8px;
  border-radius: 22px;
  background-color: #fff4ef;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border: 1px solid #f3e1da;
  box-shadow: 0 10px 18px rgba(17, 17, 17, 0.05);
}

.category-grid .cat:nth-child(1) .cat-icon { background-image: url("https://images.unsplash.com/photo-1483985988355-763728e1935b?auto=format&fit=crop&w=240&q=80"); }
.category-grid .cat:nth-child(2) .cat-icon { background-image: url("https://images.unsplash.com/photo-1584917865442-de89df76afd3?auto=format&fit=crop&w=240&q=80"); }
.category-grid .cat:nth-child(3) .cat-icon { background-image: url("https://images.unsplash.com/photo-1542291026-7eec264c27ff?auto=format&fit=crop&w=240&q=80"); }
.category-grid .cat:nth-child(4) .cat-icon { background-image: url("https://images.unsplash.com/photo-1611085583191-a3b181a88401?auto=format&fit=crop&w=240&q=80"); }
.category-grid .cat:nth-child(5) .cat-icon { background-image: url("https://images.unsplash.com/photo-1522335789203-aabd1fc54bc9?auto=format&fit=crop&w=240&q=80"); }
.category-grid .cat:nth-child(6) .cat-icon { background-image: url("https://images.unsplash.com/photo-1505693416388-ac5ce068fe85?auto=format&fit=crop&w=240&q=80"); }
.category-grid .cat:nth-child(7) .cat-icon { background-image: url("https://images.unsplash.com/photo-1515886657613-9f3515b0c78f?auto=format&fit=crop&w=240&q=80"); }
.category-grid .cat:nth-child(8) .cat-icon { background-image: url("https://images.unsplash.com/photo-1529139574466-a303027c1d8b?auto=format&fit=crop&w=240&q=80"); }
.category-grid .cat:nth-child(9) .cat-icon { background-image: url("https://images.unsplash.com/photo-1512436991641-6745cdb1723f?auto=format&fit=crop&w=240&q=80"); }
.category-grid .cat:nth-child(10) .cat-icon { background-image: url("https://images.unsplash.com/photo-1445205170230-053b83016050?auto=format&fit=crop&w=240&q=80"); }

.cat-name {
  color: #555762;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.category-group-list {
  display: grid;
  gap: 14px;
}

.category-group-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.category-parent-title {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.category-parent-copy {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.category-child-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.category-child {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid #e8e8ee;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #636a78;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  box-shadow: inset 0 -1px 0 rgba(17, 17, 17, 0.02);
}

.small-grid,
.summary-grid,
.action-grid {
  display: grid;
  gap: 12px;
}

.small-grid {
  grid-template-columns: 1fr 1fr;
}

.small-card,
.summary-card,
.option-card,
.tile {
  padding: 16px;
}

.surface-soft {
  background: var(--surface-2);
  box-shadow: none;
}

.small-card h3,
.tile h3 {
  margin: 8px 0 0;
  font-size: 17px;
  line-height: 1.28;
  letter-spacing: -0.04em;
}

.small-card p,
.tile p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 13px;
}

.pill {
  white-space: nowrap;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid #e8e8ee;
  background: rgba(255, 255, 255, 0.96);
  color: #6a6d77;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  box-shadow: inset 0 -1px 0 rgba(17, 17, 17, 0.02);
}

.pill.active {
  border-color: transparent;
  background: linear-gradient(180deg, #ff7b55 0%, var(--brand) 100%);
  color: white;
  box-shadow:
    0 8px 18px rgba(255, 106, 61, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.hidden {
  display: none !important;
}

.empty-state {
  margin-top: 14px;
  padding: 28px 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  text-align: center;
}

.empty-state strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}

.product {
  display: block;
  overflow: hidden;
  position: relative;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.product:hover,
.product.is-peek,
.product:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px rgba(17, 17, 17, 0.12);
}

.product.is-pressed,
.product:active {
  transform: translateY(-1px) scale(0.986);
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.1);
}

.thumb {
  position: relative;
  display: block;
  width: 100%;
  line-height: 0;
  overflow: hidden;
  border-radius: 24px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #edf0f3;
}

.thumb::before {
  content: "";
  display: block;
  padding-top: 100%;
}

.thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.06) 0%, rgba(17, 17, 17, 0) 42%, rgba(17, 17, 17, 0.12) 100%);
  opacity: 0;
  transition: opacity 0.18s ease;
  pointer-events: none;
}

.product:hover .thumb::after,
.product.is-peek .thumb::after,
.product:focus-within .thumb::after {
  opacity: 1;
}

.t1 { background-image: url("https://images.unsplash.com/photo-1541099649105-f69ad21f3246?auto=format&fit=crop&w=900&q=80"); }
.t2 { background-image: url("https://images.unsplash.com/photo-1594223274512-ad4803739b7c?auto=format&fit=crop&w=900&q=80"); }
.t3 { background-image: url("https://images.unsplash.com/photo-1515886657613-9f3515b0c78f?auto=format&fit=crop&w=900&q=80"); }
.t4 { background-image: url("https://images.unsplash.com/photo-1584917865442-de89df76afd3?auto=format&fit=crop&w=900&q=80"); }
.t5 { background-image: url("https://images.unsplash.com/photo-1521572163474-6864f9cf17ab?auto=format&fit=crop&w=900&q=80"); }
.t6 { background-image: url("https://images.unsplash.com/photo-1542291026-7eec264c27ff?auto=format&fit=crop&w=900&q=80"); }

.thumb-inner {
  position: absolute;
  inset: 0;
  padding: 0;
  border-radius: inherit;
  background: none;
  box-shadow: none;
}

.product-quick-trigger {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #1e2430;
  box-shadow: 0 10px 18px rgba(17, 17, 17, 0.12);
}

.product-quick-trigger svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
}

.product.is-quick-open .product-quick-trigger {
  background: linear-gradient(180deg, #ff835f 0%, var(--brand) 100%);
  color: #fff;
  border-color: transparent;
}

.product-quick-actions {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  display: grid;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.product.is-quick-open .product-quick-actions,
.product.is-peek .product-quick-actions,
.product:focus-within .product-quick-actions {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.product-quick-chip {
  min-width: 64px;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #1b2230;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 16px rgba(17, 17, 17, 0.12);
}

.product-quick-chip.strong {
  background: linear-gradient(180deg, #ff835f 0%, var(--brand) 100%);
  color: #fff;
  border-color: transparent;
}

.thumb-top {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.tag,
.rank,
.mini-label {
  padding: 7px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
}

.tag {
  background: rgba(255, 255, 255, 0.9);
  color: #586071;
}

.rank,
.mini-label {
  background: var(--brand);
  color: white;
}

.brand-text {
  color: #768094;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.name {
  margin-top: 6px;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.product-body {
  padding: 14px;
}

.product-body .brand-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f5f6f8;
  color: #677085;
  letter-spacing: 0.12em;
}

.brand-prefix {
  color: var(--brand);
  letter-spacing: 0.08em;
}

.product-title {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text);
}

.price-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.discount {
  color: var(--brand);
  font-size: 14px;
  font-weight: 900;
}

.price {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.old {
  margin-top: 4px;
  color: #a2a2ab;
  font-size: 12px;
  text-decoration: line-through;
}

.meta {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.product .old,
.product .meta {
  display: none;
}

.story {
  min-width: 88px;
}

.story-thumb {
  height: 112px;
  border-radius: 22px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border: 1px solid #f2ddd5;
}

.story:nth-child(1) .story-thumb { background-image: url("https://images.unsplash.com/photo-1496747611176-843222e1e57c?auto=format&fit=crop&w=300&q=80"); }
.story:nth-child(2) .story-thumb { background-image: url("https://images.unsplash.com/photo-1524504388940-b1c1722653e1?auto=format&fit=crop&w=300&q=80"); }
.story:nth-child(3) .story-thumb { background-image: url("https://images.unsplash.com/photo-1584917865442-de89df76afd3?auto=format&fit=crop&w=300&q=80"); }
.story:nth-child(4) .story-thumb { background-image: url("https://images.unsplash.com/photo-1556740749-887f6717d7e4?auto=format&fit=crop&w=300&q=80"); }

.story-name {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.promo-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff0ea, #fff8f4);
  color: #5d3a30;
}

.promo-strip strong {
  font-size: 15px;
  letter-spacing: -0.03em;
}

.interaction-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.interaction-chip {
  display: grid;
  gap: 4px;
  min-height: 86px;
  padding: 14px 12px;
  border: 1px solid #f0e2db;
  border-radius: 20px;
  background: linear-gradient(180deg, #fffdfc 0%, #fff6f1 100%);
  text-align: left;
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.interaction-chip strong {
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.interaction-chip span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.sheet-points {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.sheet-point {
  padding: 12px 14px;
  border: 1px solid #f1e3dd;
  border-radius: 18px;
  background: linear-gradient(180deg, #fffaf7 0%, #fff3ee 100%);
}

.sheet-point strong {
  display: block;
  font-size: 14px;
  letter-spacing: -0.03em;
}

.sheet-point span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.live-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.live-metric {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.live-metric strong {
  display: block;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
}

.live-metric span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  line-height: 1.4;
}

.live-ticker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #5d3a30;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 6px rgba(255, 106, 61, 0.12);
  animation: live-pulse 1.45s ease-in-out infinite;
}

.live-ticker strong {
  flex-shrink: 0;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.live-ticker span:last-child {
  color: #65463b;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.live-card {
  position: relative;
  overflow: hidden;
}

.live-card .name {
  margin-top: 8px;
}

.live-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.live-signal {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff3ee;
  color: var(--brand);
  font-size: 11px;
  font-weight: 900;
}

.live-stock-block {
  margin-top: 12px;
}

.live-stock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}

.live-stock-head strong {
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
}

.live-stock-track {
  height: 8px;
  margin-top: 8px;
  border-radius: 999px;
  background: #f2f3f6;
  overflow: hidden;
}

.live-stock-fill {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffb395 0%, var(--brand) 100%);
  transition: width 0.35s ease;
}

.mini-dot {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 12px;
}

.mini-dot span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #d7d7dd;
}

.mini-dot span.active {
  width: 18px;
  background: var(--brand);
}

.detail-visual {
  aspect-ratio: 0.92;
  padding: 16px;
  border-radius: 28px;
  background-image: url("https://images.unsplash.com/photo-1541099649105-f69ad21f3246?auto=format&fit=crop&w=1200&q=80");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.detail-frame {
  display: flex;
  flex-direction: column;
  justify-content: end;
  height: 100%;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.85);
}

.detail-info h1 {
  margin: 8px 0 0;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.rating {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.divider {
  height: 1px;
  margin: 18px 0;
  background: var(--line);
}

.option-list,
.cart-list,
.order-list,
.menu-list {
  display: grid;
  gap: 12px;
}

.option-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.option-card.active {
  border-color: #ffd0c0;
  background: var(--brand-soft);
}

.qty {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 999px;
  background: #f4f4f6;
  font-weight: 800;
}

.qty button {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: white;
  font-weight: 900;
}

.cart-item,
.order-item,
.menu-item {
  display: grid;
  gap: 12px;
  grid-template-columns: 88px 1fr;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
}

.cart-thumb,
.order-thumb {
  width: 88px;
  height: 88px;
  border-radius: 18px;
  background-image: url("https://images.unsplash.com/photo-1541099649105-f69ad21f3246?auto=format&fit=crop&w=480&q=80");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.summary-grid {
  grid-template-columns: 1fr 1fr;
}

.summary-card strong {
  display: block;
  margin-top: 8px;
  font-size: 20px;
}

.field,
.select,
.chat-box {
  width: 100%;
  min-height: 50px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  color: var(--text);
}

.field-group {
  display: grid;
  gap: 10px;
}

.caption {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.chat-box {
  min-height: 76px;
}

.payment-option {
  display: flex;
  gap: 10px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}

.payment-option.active {
  border-color: #ffd0c0;
  background: var(--brand-soft);
}

.radio {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  border: 5px solid var(--brand);
  background: white;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.btn.primary {
  background: var(--brand);
  color: white;
}

.btn.secondary {
  background: var(--dark);
  color: white;
}

.btn.ghost {
  border: 1px solid var(--line);
  background: white;
  color: var(--text);
}

.btn.soft {
  background: var(--brand-soft);
  color: var(--brand);
}

.btn.full {
  width: 100%;
  min-height: 54px;
  font-size: 15px;
}

.sticky-cta {
  position: sticky;
  bottom: 84px;
  margin-top: 18px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg);
}

.sticky-cta.compact {
  padding: 10px;
  border-radius: 20px;
}

.bottom-nav {
  position: fixed;
  z-index: 60;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  width: min(100%, 430px);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #ececf1;
  border-left: 1px solid rgba(0, 0, 0, 0.03);
  border-right: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: 0;
  background: var(--bottom-nav-bg);
  backdrop-filter: blur(18px);
  box-shadow: 0 -8px 24px rgba(17, 17, 17, 0.06);
}

.bottom-nav a {
  display: grid;
  place-items: center;
  min-height: 46px;
  border-radius: 14px;
  color: #6a6d77;
  font-size: 11px;
  font-weight: 900;
}

.bottom-nav a.active {
  background: var(--brand-soft);
  color: var(--brand);
}

.overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: end;
  justify-content: center;
  padding: 18px 14px 94px;
  background: rgba(17, 17, 17, 0.46);
}

.overlay.open {
  display: flex;
}

.overlay.center {
  align-items: center;
}

.modal-card,
.sheet-card {
  width: min(100%, 402px);
  padding: 18px;
}

.modal-card h3,
.sheet-card h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.modal-card p,
.sheet-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 13px;
}

.toast-wrap {
  position: fixed;
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
  z-index: 50;
  display: grid;
  gap: 8px;
  width: min(calc(100% - 24px), 400px);
}

.toast {
  display: none;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(26, 29, 37, 0.95);
  color: white;
  box-shadow: var(--shadow-lg);
}

.toast.show {
  display: block;
}

.kicker {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.title-strong {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.split-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.stack {
  display: grid;
  gap: 12px;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 11px;
  font-weight: 900;
}

.status-chip.dark {
  background: #f1f2f6;
  color: #4b5563;
}

.inline-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}

.inline-thumb {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background-image: url("https://images.unsplash.com/photo-1541099649105-f69ad21f3246?auto=format&fit=crop&w=240&q=80");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.section-card.flat {
  box-shadow: none;
}

.cart-bottom-bar.is-updated {
  animation: cart-summary-pop 0.38s ease;
}

.cart-card.is-selected {
  border-color: rgba(255, 106, 61, 0.24);
  box-shadow:
    0 12px 24px rgba(255, 106, 61, 0.08),
    0 6px 14px rgba(17, 17, 17, 0.04);
}

@keyframes live-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(255, 106, 61, 0.12);
  }
  50% {
    transform: scale(1.14);
    box-shadow: 0 0 0 10px rgba(255, 106, 61, 0.06);
  }
}

@keyframes cart-summary-pop {
  0% {
    transform: translateX(-50%) translateY(6px);
  }
  100% {
    transform: translateX(-50%) translateY(0);
  }
}
