:root {
  --white: #ffffff;
  --cream: #fff7f0;
  --berry: #ef3150;
  --choco: #2a1a12;
  --sky: #bfe7f5;
  --mango: #ffd96c;
  --ink: #2a2726;
  --muted: #7f7470;
  --line: #eee6e0;
  --soft: #fbf8f5;
  --pink: #fff0f4;
  --max: 1260px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Pretendard", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, .footer-logo { font-family: "Jua", "Pretendard", sans-serif; font-weight: 400; letter-spacing: 0; }

.top-strip,
.ship-ribbon {
  background: var(--pink);
  color: var(--berry);
  text-align: center;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid #ffe1e8;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav {
  max-width: var(--max);
  min-height: 78px;
  margin: 0 auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 150px;
  align-items: center;
  gap: 20px;
}
.nav-logo { display: inline-flex; align-items: center; width: fit-content; }
.nav-logo img { width: 194px; height: auto; object-fit: contain; }
.nav-links {
  display: flex;
  justify-content: center;
  gap: 23px;
  min-width: 0;
}
.nav-links a {
  font-size: 15px;
  color: #3a302d;
  white-space: nowrap;
}
.nav-links a[aria-current="page"],
.nav-links a:hover { color: var(--berry); }
.nav-actions {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  font-size: 14px;
  white-space: nowrap;
}

main { min-height: 70vh; }

.hero-carousel,
.sub-hero,
.shop-hero {
  max-width: var(--max);
  margin: 18px auto 0;
}
.hero-carousel {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
}
.carousel-viewport {
  overflow: hidden;
  width: 100%;
}
.carousel-track {
  display: flex;
  width: 100%;
  transition: transform .5s ease;
  will-change: transform;
}
.hero-slide {
  position: relative;
  flex: 0 0 100%;
  min-height: 545px;
  overflow: hidden;
  background: var(--cream);
}
.hero-slide img {
  width: 100%;
  height: 545px;
  object-fit: cover;
  object-position: center;
}
.hero-slide.is-cream img,
.hero-slide.is-yellow img {
  width: 52%;
  height: 545px;
  margin-left: auto;
  object-fit: cover;
}
.hero-message,
.sub-hero-copy,
.shop-hero-copy {
  position: absolute;
  left: 70px;
  top: 50%;
  transform: translateY(-50%);
  max-width: 410px;
  z-index: 2;
}
.hero-message p,
.section-heading p,
.sub-hero-copy p,
.shop-hero-copy p,
.channel-band p {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 900;
  color: var(--berry);
}
.hero-message h1,
.sub-hero-copy h1,
.shop-hero-copy h1 {
  margin: 0 0 28px;
  font-size: 56px;
  line-height: 1.06;
}
.hero-copyline {
  display: block;
  max-width: 330px;
  margin: -12px 0 24px;
  color: rgba(42, 26, 18, .78);
  font-size: 18px;
  font-weight: 850;
  line-height: 1.45;
}
.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 360px;
  margin: 0 0 18px;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0 13px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 3px 3px 0 var(--ink);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}
.hero-action-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-note {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  transform: rotate(-2deg);
  border: 3px solid var(--ink);
  border-radius: 8px;
  padding: 0 14px;
  background: var(--mango);
  box-shadow: 5px 5px 0 var(--ink);
  color: var(--ink);
  font-size: 13px;
  font-weight: 1000;
  letter-spacing: 0;
}
.pill-link,
.solid-button,
.outline-button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  padding: 0 24px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
}
.pill-link.dark,
.outline-button,
.btn.secondary {
  background: var(--white);
  color: var(--ink);
}
.solid-button,
.btn.berry { background: var(--berry); border-color: var(--berry); color: var(--white); }
.btn.full { width: 100%; }
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  font-weight: 800;
  border-bottom: 1px solid currentColor;
}

.carousel-arrow {
  position: absolute;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 6px 20px rgba(42, 26, 18, .08);
}
.carousel-arrow::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
  margin: 0 auto;
}
.carousel-arrow.prev::before { transform: rotate(-135deg) translate(-1px, -1px); }
.carousel-arrow.next::before { transform: rotate(45deg) translate(-1px, 1px); }
.hero-carousel > .carousel-arrow {
  top: 50%;
  transform: translateY(-50%);
}
.carousel-arrow.prev { left: 16px; }
.carousel-arrow.next { right: 16px; }
.carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 17px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 4;
}
.carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(42, 26, 18, .22);
}
.carousel-dots button.is-active { width: 22px; background: var(--berry); }

.home-section,
.event-section,
.instagram-section,
.catalog-section,
.section,
.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 76px 30px 0;
}
.section-heading {
  text-align: center;
  margin-bottom: 34px;
}
.section-heading h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.1;
}

.product-carousel {
  position: relative;
  margin-top: 8px;
  padding: 0 48px 34px;
}
.product-carousel.quiet { margin-top: 44px; }
.product-carousel .carousel-track {
  gap: 22px;
  transition: transform .42s ease;
}
.product-carousel .carousel-arrow {
  top: 38%;
  transform: translateY(-50%);
}
.product-carousel .carousel-dots { bottom: 0; }
.product-card {
  flex: 0 0 300px;
  display: block;
  min-width: 0;
  text-align: center;
}
.product-card-main {
  display: block;
  color: inherit;
  text-decoration: none;
}
.product-detail-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.product-detail-link:hover { color: var(--ink); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 38px 30px;
}
.shop-grid .product-card { flex: none; }
.product-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #e9f8ff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.product-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  padding: 0;
}
.pack-label {
  margin: 0 0 12px;
  font-weight: 800;
  font-size: 15px;
  color: var(--ink, #222);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pack-label::before {
  content: "";
  width: 4px;
  height: 16px;
  border-radius: 2px;
  background: var(--point, #ff4d6d);
}
.product-name {
  margin: 14px 0 4px;
  font-family: "Pretendard", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}
.product-meta {
  margin: 0;
  min-height: 20px;
  color: var(--muted);
  font-size: 13px;
}
.product-row {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 8px;
  margin-top: 8px;
}
.price {
  color: var(--ink);
  font-weight: 900;
  font-size: 15px;
}
.review { color: var(--muted); font-size: 12px; }
.mini-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--berry);
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
}
.pack-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 5px 13px;
  border-radius: 999px;
  background: #2a1a12;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 2px 6px rgba(42, 26, 18, .28);
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.event-card {
  display: block;
  background: var(--white);
  text-align: center;
}
.event-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.event-card strong {
  display: block;
  margin-top: 16px;
  font-size: 17px;
}
.event-card span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}

.instagram-section { padding-bottom: 0; }
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.section-heading .section-sub {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted, #8a8a8a);
}
.mood-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.mood-card .mood-name {
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  color: #3a3a3a;
}
.mood-card .mood-name b { color: var(--pink, #ff5a7a); font-weight: 800; }
.mood-grid { row-gap: 22px; }
.instagram-grid img,
.story-images img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.instagram-grid img:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(120, 160, 200, .22);
}

.channel-band {
  max-width: var(--max);
  min-height: 200px;
  margin: 82px auto 0;
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-radius: 32px;
  background: linear-gradient(135deg, #dff1ff 0%, #eaf7ff 55%, #fff3f6 100%);
  box-shadow: 0 18px 40px rgba(150, 190, 220, .18);
}
.channel-band h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.22;
}

/* 판매=쿠팡 연결 버튼 */
.coupang-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 18px 24px;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff5a7a, #ff8aa0);
  color: #fff;
  box-shadow: 0 12px 26px rgba(255, 90, 122, .32);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.coupang-buy:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(255, 90, 122, .4); }
.coupang-buy[disabled] { background: #d7d7d7; box-shadow: none; cursor: not-allowed; }
.coupang-note { margin: 12px 2px 0; font-size: 13px; color: #9a9a9a; text-align: center; }
.mobile-buybar .solid-button { background: linear-gradient(135deg, #ff5a7a, #ff8aa0); font-weight: 800; }

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 52px 30px 58px;
  color: #5d504b;
}
.footer-logo {
  color: var(--ink);
  font-size: 30px;
  margin-bottom: 28px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.footer-cols b,
.site-footer b {
  display: block;
  color: var(--ink);
  margin-bottom: 8px;
}
.footer-cols a,
.site-footer a {
  display: block;
  color: #6c5d58;
  font-size: 14px;
  margin: 5px 0;
}
.copyright { margin: 28px 0 0; color: #9b8d87; font-size: 13px; }

.sub-hero,
.shop-hero {
  position: relative;
  height: 430px;
  overflow: hidden;
  border-radius: 18px;
  background: #fff7f8;
}
.sub-hero img,
.shop-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.story-strip {
  max-width: var(--max);
  margin: 82px auto 0;
  padding: 58px 30px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 38px;
  align-items: center;
  background: var(--soft);
  border-radius: 18px;
}
.story-copy p {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 900;
  color: var(--berry);
}
.story-copy h2 {
  margin: 0 0 14px;
  font-size: 40px;
  line-height: 1.18;
}
.story-copy span {
  display: block;
  color: var(--muted);
}
.catalog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 34px;
}
.filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-tabs button {
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}
.filter-tabs button.is-active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.back-row {
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px 30px 0;
}
.product-detail {
  max-width: var(--max);
  margin: 0 auto;
  padding: 38px 30px 88px;
}
.detail-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .72fr);
  gap: 54px;
  align-items: start;
}
.detail-art-layout {
  grid-template-columns: minmax(0, 760px) minmax(360px, .58fr);
  gap: 40px;
}
.detail-gallery {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff8fa;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.detail-gallery img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 0;
}
.detail-art-cover {
  display: block;
  aspect-ratio: auto;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.detail-art-cover img {
  position: static;
  width: min(760px, 100%);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.detail-art-layout .detail-panel {
  position: sticky;
  top: 116px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 20px 48px rgba(42, 26, 18, .08);
}
.detail-panel h1 {
  margin: 0 0 14px;
  font-size: 46px;
  line-height: 1.12;
}
.detail-panel p { color: var(--muted); margin: 0 0 24px; }
.price-stack {
  display: inline-grid;
  gap: 2px;
  line-height: 1.1;
}
.price-stack del {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.detail-price .price {
  font-size: 28px;
}
.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 11px;
  background: var(--pink);
  color: var(--berry);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 12px;
}
.detail-list {
  display: grid;
  gap: 0;
  margin: 24px 0;
  border-top: 1px solid var(--line);
}
.detail-list div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.detail-list span { color: var(--muted); }
.option-selector {
  display: grid;
  gap: 10px;
  margin: 22px 0 12px;
}
.option-selector > b {
  font-size: 14px;
}
.option-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.option-list a {
  display: grid;
  gap: 4px;
  min-height: 62px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}
.option-list a.is-active {
  border-color: var(--berry);
  box-shadow: 0 0 0 3px rgba(239, 49, 80, .12);
}
.option-list span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}
.option-list strong {
  font-size: 16px;
}
.spec-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -6px 0 22px;
}
.spec-chip-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}
.qty-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 12px;
  margin: 24px 0 18px;
}
.qty-row input,
.form-field input,
.form-field select,
.form-field textarea,
.claim-input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 13px;
  background: var(--white);
}
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.detail-story {
  margin-top: 70px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: center;
  padding: 44px;
  background: var(--soft);
  border-radius: 18px;
}
.detail-story h2 {
  margin: 0 0 12px;
  font-size: 36px;
  line-height: 1.2;
}
.detail-story p { margin: 0; color: var(--muted); }
.detail-story img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
}
.recommend-section { margin-top: 70px; }
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.recommend-grid .product-card { flex: none; }

.detail-variant-picker,
.detail-long-images,
.selection-preview,
.picker-shell {
  max-width: var(--max);
  margin: 70px auto 0;
  padding: 0 30px;
}
.variant-grid,
.selection-cards,
.picker-check-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.variant-card,
.selection-card,
.picker-check,
.picker-row {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  text-align: left;
}
.variant-card {
  min-height: 100%;
}
.variant-card.is-active {
  border-color: var(--berry);
  box-shadow: 0 0 0 3px rgba(239, 49, 80, .12);
}
.variant-card img,
.picker-check img {
  width: 100%;
  aspect-ratio: 1 / 1.15;
  object-fit: cover;
  border-radius: 8px;
  background: var(--pink);
}
.variant-card b,
.selection-card b,
.picker-check b,
.picker-row b {
  display: block;
  font-size: 15px;
}
.variant-card span,
.selection-card span,
.picker-row span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.detail-long-images {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
}
.detail-long-images.is-continuation {
  margin-top: 0;
}
.detail-long-images img {
  width: min(860px, 100%);
  height: auto;
  display: block;
  margin: 0 auto -1px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.detail-empty {
  margin: 0;
  padding: 16px;
  border: 1px dashed #e8d9cf;
  border-radius: 10px;
  background: #fff8fa;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.picker-page {
  background: var(--soft);
}
.picker-hero {
  padding: 34px 0 8px;
}
.picker-hero p,
.picker-eyebrow {
  margin: 0 0 8px;
  color: var(--berry);
  font-size: 12px;
  font-weight: 900;
}
.picker-hero h1 {
  margin: 0 0 10px;
  font-size: 42px;
  line-height: 1.08;
}
.picker-hero span,
.picker-note {
  color: var(--muted);
}
.picker-panel {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}
.picker-panel:last-of-type {
  margin-bottom: 0;
}
.picker-panel h1,
.picker-panel h2 {
  margin: 0 0 18px;
  font-size: 30px;
  line-height: 1.12;
}
.picker-select {
  width: 100%;
  min-height: 52px;
  margin-bottom: 16px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}
.picker-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}
.picker-check input,
.picker-row input {
  width: 18px;
  height: 18px;
}
.picker-row {
  grid-template-columns: 24px 1fr;
  align-items: start;
}
.picker-check-list {
  display: grid;
  gap: 10px;
}
.detail-product-list {
  display: grid;
  gap: 18px;
}
.product-variant-block {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffdfb;
}
.picker-product-head {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  gap: 12px;
  align-items: center;
}
.picker-product-head img {
  width: 62px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff8fa;
}
.picker-product-head b,
.picker-product-head span {
  display: block;
}
.picker-product-head span {
  color: var(--muted);
  font-size: 13px;
}
.picker-sticky {
  position: static;
  z-index: 44;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 24px -30px 0;
  padding: 12px 30px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.94);
  border-top: 1px solid var(--line);
}

.checkout-grid,
.claim-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}
.summary-card,
.form-card,
.cart-line,
.login-card,
.claim-card,
.sticker-card,
.simple-card {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: none;
}
.summary-card h2,
.form-card h2,
.claim-card h2,
.simple-card h2 { margin: 0 0 18px; font-size: 28px; }
.cart-list { display: grid; gap: 14px; }
.cart-line {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 18px;
  align-items: center;
}
.cart-line img {
  width: 92px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff8fa;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.checkout-items {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}
.checkout-item {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 12px;
  align-items: center;
  min-width: 0;
}
.checkout-item img {
  width: 62px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 6px;
  background: #fff8fa;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.checkout-item span {
  display: grid;
  gap: 2px;
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
}
.checkout-item b {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}
.checkout-empty {
  margin: 0 0 14px;
  color: var(--muted);
}
.line-actions { display: flex; justify-content: flex-end; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.form-field.full { grid-column: 1 / -1; }
.form-field label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 13px; }
.pay-options { display: grid; gap: 10px; }
.pay-options label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.login-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.social-login { min-height: 88px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.leaderboard-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.leaderboard-tabs button {
  flex: 1;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}
.leaderboard-tabs button.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.leaderboard-list { margin: 0; padding-left: 22px; }
.leaderboard-list li { padding: 8px 0; border-bottom: 1px solid var(--line); }

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.info-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.simple-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff8fa;
  border-radius: 8px;
  margin-bottom: 16px;
}
.simple-card p { color: var(--muted); margin: 0; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 90;
  transform: translateX(-50%) translateY(14px);
  max-width: min(92vw, 520px);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  padding: 12px 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.score-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(34, 24, 21, .46);
}
.score-modal.show { display: grid; }
.score-dialog {
  width: min(560px, 100%);
  max-height: 90vh;
  overflow: auto;
  padding: 28px;
  border-radius: 12px;
  background: var(--white);
}
.score-dialog-head { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.score-close { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }

.mobile-buybar { display: none; }

@media (max-width: 1080px) {
  .nav { grid-template-columns: 205px 1fr auto; padding: 0 20px; }
  .nav-links { gap: 16px; justify-content: flex-start; overflow-x: auto; }
  .nav-logo img { width: 168px; }
  .hero-slide,
  .hero-slide img { height: 500px; min-height: 500px; }
  .product-grid,
  .shop-grid,
  .recommend-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .detail-top,
  .detail-story,
  .checkout-grid,
  .claim-layout { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .top-strip,
  .ship-ribbon { font-size: 12px; padding: 8px 10px; }
  .nav {
    min-height: auto;
    padding: 10px 14px 9px;
    grid-template-columns: 1fr auto;
    gap: 8px 14px;
  }
  .nav-logo img { width: 154px; }
  .nav-links {
    grid-column: 1 / -1;
    order: 3;
    gap: 18px;
    padding: 5px 0 2px;
    overflow-x: auto;
  }
  .nav-links a,
  .nav-actions { font-size: 13px; }
  .nav-actions { gap: 9px; }
  .hero-carousel,
  .sub-hero,
  .shop-hero {
    margin-top: 0;
    border-radius: 0 0 14px 14px;
  }
  .hero-slide,
  .hero-slide img {
    height: 445px;
    min-height: 445px;
  }
  .hero-slide img,
  .hero-slide.is-cream img,
  .hero-slide.is-yellow img {
    width: 100%;
    margin-left: 0;
    object-position: 58% center;
  }
  .hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,.9), rgba(255,255,255,.42), rgba(255,255,255,0));
  }
  .hero-message,
  .sub-hero-copy,
  .shop-hero-copy {
    left: 22px;
    right: 22px;
    top: 42px;
    transform: none;
  }
  .hero-message h1,
  .sub-hero-copy h1,
  .shop-hero-copy h1 { font-size: 40px; }
  .hero-copyline {
    max-width: 260px;
    margin: -14px 0 20px;
    font-size: 15px;
    line-height: 1.45;
  }
  .hero-chip-row {
    gap: 6px;
    max-width: 310px;
    margin-bottom: 16px;
  }
  .hero-chip {
    min-height: 30px;
    padding: 0 10px;
    box-shadow: 2px 2px 0 var(--ink);
    font-size: 12px;
  }
  .hero-action-row {
    gap: 10px;
  }
  .hero-note {
    min-height: 34px;
    padding: 0 10px;
    box-shadow: 3px 3px 0 var(--ink);
    font-size: 11px;
  }
  .carousel-arrow { width: 36px; height: 36px; }
  .hero-carousel > .carousel-arrow { top: 78%; }
  .home-section,
  .event-section,
  .instagram-section,
  .catalog-section,
  .section,
  .page-hero { padding: 54px 18px 0; }
  .section-heading { margin-bottom: 24px; }
  .section-heading h2,
  .channel-band h2 { font-size: 30px; }
  .product-carousel { padding: 0 34px 34px; }
  .product-carousel .carousel-track { gap: 14px; }
  .product-card { flex-basis: 62vw; }
  .product-grid,
  .shop-grid,
  .recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 14px;
  }
  .product-grid .product-card,
  .shop-grid .product-card,
  .recommend-grid .product-card { flex: none; }
  .product-photo img { padding: 0; }
  .product-name { font-size: 14px; }
  .product-row { flex-direction: column; gap: 1px; }
  .event-grid,
  .instagram-grid,
  .footer-cols,
  .info-grid,
  .info-grid.two { grid-template-columns: 1fr; }
  .channel-band {
    margin-top: 58px;
    padding: 36px 22px;
    display: grid;
    gap: 18px;
    border-radius: 24px;
  }
  .sub-hero,
  .shop-hero { height: 360px; }
  .story-strip {
    margin-top: 58px;
    padding: 38px 18px;
    grid-template-columns: 1fr;
  }
  .story-copy h2 { font-size: 30px; }
  .catalog-head { display: grid; gap: 16px; }
  .back-row,
  .product-detail { padding-left: 18px; padding-right: 18px; }
  .product-detail { padding-bottom: 98px; }
  .detail-panel h1 { font-size: 32px; }
  .detail-art-layout {
    gap: 24px;
  }
  .detail-art-layout .detail-panel {
    position: static;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(42, 26, 18, .08);
  }
  .detail-art-cover img {
    width: 100%;
  }
  .option-list { grid-template-columns: 1fr; }
  .detail-story { margin-top: 46px; padding: 28px 18px; }
  .detail-story h2 { font-size: 28px; }
  .detail-variant-picker,
  .detail-long-images,
  .selection-preview,
  .picker-shell {
    margin-top: 46px;
    padding-left: 18px;
    padding-right: 18px;
  }
  .detail-long-images.is-continuation {
    margin-top: 0;
  }
  .variant-grid,
  .selection-cards,
  .picker-check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .variant-card,
  .picker-check {
    padding: 9px;
  }
  .picker-hero h1,
  .picker-panel h1,
  .picker-panel h2 {
    font-size: 28px;
  }
  .picker-panel {
    padding: 18px;
    border-radius: 12px;
  }
  .picker-product-head {
    grid-template-columns: 54px 1fr;
  }
  .picker-product-head img {
    width: 54px;
  }
  .picker-product-head .outline-button {
    grid-column: 1 / -1;
    min-height: 40px;
  }
  .picker-actions,
  .picker-sticky {
    grid-template-columns: 1fr;
  }
  .picker-sticky {
    margin-left: -18px;
    margin-right: -18px;
    padding-left: 18px;
    padding-right: 18px;
  }
  .hero-actions,
  .form-grid,
  .login-grid { grid-template-columns: 1fr; }
  .hero-actions { display: grid; }
  .cart-line { grid-template-columns: 76px 1fr; }
  .cart-line img { width: 76px; }
  .line-actions { grid-column: 1 / -1; }
  .mobile-buybar {
    position: sticky;
    bottom: 0;
    z-index: 45;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px;
    background: rgba(255, 255, 255, .94);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(10px);
  }
}

/* 단체주문 카드 (홈) */
.group-order-card {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  text-align: left;
}
.group-order-card img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  display: block;
}
.group-order-copy {
  display: grid;
  gap: 10px;
  align-content: center;
  padding: 30px;
}
.group-order-copy strong {
  font-size: 22px;
  line-height: 1.3;
}
.group-order-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.group-order-cta {
  justify-self: start;
  margin-top: 6px;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--berry);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
}

/* 선택 콘텐츠 - 사진 있는 카드(게임) */
#homeSelectedContent .selection-cards {
  grid-template-columns: 1fr;
  gap: 14px;
}
.selection-card.has-photo {
  grid-template-columns: 168px 1fr;
  align-items: center;
  gap: 18px;
  padding: 14px;
}
.selection-card.has-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
  background: var(--pink);
}
.selection-body {
  display: grid;
  gap: 8px;
}
.selection-card .selection-cta {
  justify-self: start;
  margin-top: 4px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--berry);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
}

@media (max-width: 760px) {
  .group-order-card {
    grid-template-columns: 1fr;
  }
  .group-order-copy {
    padding: 20px;
    gap: 8px;
  }
  .group-order-copy strong {
    font-size: 19px;
  }
  .selection-card.has-photo {
    grid-template-columns: 116px 1fr;
    gap: 12px;
    padding: 11px;
  }
}

/* 게임 이벤트 칸 (홈) */
.game-promo {
  display: grid;
  grid-template-columns: minmax(320px, 460px) 1fr;
  gap: 30px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  background: var(--white);
}
.game-promo-shot {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: var(--pink);
  border: 1px solid var(--line);
}
.game-promo-shot img {
  width: 100%;
  display: block;
}
.game-promo-copy {
  display: grid;
  gap: 16px;
}
.game-promo-copy h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.3;
}
.game-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}
.game-steps li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 11px;
  align-items: center;
  font-size: 15px;
  line-height: 1.45;
}
.game-steps li b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--berry);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}
.game-reward {
  margin: 0;
  font-weight: 800;
  color: var(--berry);
  font-size: 15px;
}
.game-promo .pill-link {
  justify-self: start;
  margin-top: 2px;
}

@media (max-width: 760px) {
  .game-promo {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
  }
  .game-promo-shot {
    max-width: 380px;
    margin: 0 auto;
  }
  .game-promo-copy h3 {
    font-size: 20px;
  }
}

/* 상세페이지 대표 사진 갤러리 (<> 로 넘기기) */
.detail-photo-gallery {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff8fa;
}
.detail-photo-gallery .carousel-viewport {
  overflow: hidden;
  width: 100%;
}
.detail-photo-gallery .gallery-slide {
  flex: 0 0 100%;
}
.detail-photo-gallery .gallery-slide img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.detail-photo-gallery .carousel-arrow {
  top: 50%;
  transform: translateY(-50%);
}
