:root {
  --snoopy-navy: #07131f;
  --snoopy-navy-2: #0b2033;
  --snoopy-paper: #fffdf8;
  --snoopy-ink: #121212;
  --snoopy-muted: #68635b;
  --snoopy-yellow: #f8bf25;
  --snoopy-red: #d92920;
  --snoopy-blue: #1759a8;
  --snoopy-gold: #e0b458;
  --snoopy-line: #171717;
  --snoopy-soft-line: rgba(18, 18, 18, .18);
  --snoopy-font: "Noto Sans SC", system-ui, sans-serif;
  --snoopy-display: "Ma Shan Zheng", "Noto Serif SC", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--snoopy-ink);
  background:
    radial-gradient(circle at 6px 6px, rgba(23,89,168,.08) 1px, transparent 1.5px) 0 0 / 22px 22px,
    var(--snoopy-paper);
  font-family: var(--snoopy-font);
  line-height: 1.6;
}
a { color: inherit; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
img { max-width: 100%; }

.g-nav {
  position: sticky;
  top: 0;
  z-index: 170;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 32px;
  color: #f2efe7;
  background: rgba(5,16,27,.96);
  border-bottom: 1px solid rgba(224,180,88,.22);
  box-shadow: 0 8px 30px rgba(4,14,24,.14);
}
.nav-brand {
  color: var(--snoopy-gold);
  font-family: "Noto Serif SC", serif;
  font-size: 20px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  border-radius: 999px;
  padding: 8px 13px;
  color: rgba(242,239,231,.7);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-links a.active { color: var(--snoopy-navy); background: var(--snoopy-gold); }
.mobile-nav-button,
.mobile-nav-overlay,
.mobile-nav-menu { display: none; }

.collection-bar {
  position: relative;
  z-index: 3;
  max-width: 1460px;
  margin: 0 auto;
  min-height: 92px;
  padding: 18px 34px;
  display: flex;
  align-items: center;
  gap: 28px;
  border-bottom: 3px solid var(--snoopy-line);
  background: rgba(255,253,248,.94);
}
.collection-title {
  min-width: max-content;
  font-family: var(--snoopy-display);
  font-size: clamp(26px, 2.6vw, 38px);
  letter-spacing: .04em;
}
.collection-title a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.collection-mascot {
  width: 58px;
  height: 50px;
  flex: 0 0 auto;
  object-fit: contain;
}
.collection-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 36px);
}
.collection-links a {
  position: relative;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.collection-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 3px;
  transform: scaleX(0);
  background: var(--snoopy-yellow);
  transition: transform .2s ease;
}
.collection-links a:hover::after,
.collection-links a.active::after { transform: scaleX(1); }
.collection-count {
  min-width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
}
.collection-count > span { display: inline-flex; align-items: baseline; gap: 4px; }
.collection-count strong { font-size: 22px; }
.collection-book { width: 35px; height: 35px; object-fit: contain; }
.collection-woodstock { width: 42px; height: 48px; object-fit: contain; margin-left: 5px; }
.collection-switcher {
  max-width: 1460px;
  min-height: 46px;
  margin: 0 auto;
  padding: 7px 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid var(--snoopy-line);
  background: #f5efe2;
}
.collection-switcher a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: var(--snoopy-navy);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}
.collection-switcher a:hover { border-color: var(--snoopy-line); }
.collection-switcher a.active { color: #fff; background: var(--snoopy-blue); }

.paper-shell {
  position: relative;
  max-width: 1460px;
  margin: 0 auto;
  background: rgba(255,253,248,.96);
  border-left: 1px solid rgba(18,18,18,.06);
  border-right: 1px solid rgba(18,18,18,.06);
  overflow: hidden;
}
.paper-shell::after {
  content: "";
  display: block;
  height: 18px;
  margin-top: 42px;
  background: radial-gradient(circle at 10px -1px, transparent 11px, var(--snoopy-yellow) 12px) 0 0 / 22px 18px repeat-x;
}

.collection-hero {
  position: relative;
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(320px, .78fr) minmax(520px, 1.22fr);
  align-items: center;
  gap: 10px;
  padding: 28px 36px 12px;
  overflow: hidden;
}
.collection-hero::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 110px;
  width: 170px;
  height: 340px;
  opacity: .72;
  background: radial-gradient(circle, var(--snoopy-yellow) 0 3px, transparent 3.5px) 0 0 / 16px 16px;
  mask-image: linear-gradient(90deg,#000,transparent);
}
.hero-copy { position: relative; z-index: 2; padding-left: clamp(30px, 7vw, 112px); }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 900;
}
.hero-kicker::before {
  content: "";
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background: var(--snoopy-yellow);
}
.hero-kicker-star,
.hero-kicker-mobile { display: none; }
.hero-copy h1 {
  max-width: 560px;
  margin: 0 0 20px;
  font-family: var(--snoopy-display);
  font-size: clamp(48px, 6vw, 82px);
  line-height: 1.14;
  letter-spacing: .035em;
}
.hero-copy h1 span { display: block; }
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.paper-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 2px solid var(--snoopy-line);
  padding: 12px 30px;
  color: #fff;
  background: var(--snoopy-red);
  box-shadow: 4px 4px 0 var(--snoopy-line);
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.paper-button:hover { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--snoopy-line); }
.paper-link {
  color: var(--snoopy-blue);
  border-bottom: 2px solid var(--snoopy-blue);
  font-weight: 800;
  text-decoration: none;
}
.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 460px;
  display: grid;
  place-items: center;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 12% 4% 4% 6%;
  transform: rotate(-3deg);
  border: 2px solid rgba(18,18,18,.16);
  background:
    linear-gradient(rgba(255,253,248,.72),rgba(255,253,248,.72)),
    repeating-linear-gradient(0deg,#f7f2e7 0 34px,#d8d2c6 35px 36px);
  box-shadow: 12px 14px 0 rgba(23,89,168,.12);
}
.hero-product {
  position: relative;
  z-index: 3;
  width: min(720px, 96%);
  max-height: 455px;
  object-fit: contain;
  filter: drop-shadow(0 20px 14px rgba(18,18,18,.18));
}
.hero-comic-paper {
  position: absolute;
  z-index: 1;
  width: 31%;
  height: 43%;
  overflow: hidden;
  border: 1px solid rgba(18,18,18,.26);
  background:
    repeating-linear-gradient(0deg,transparent 0 24px,rgba(23,89,168,.13) 25px 26px),
    var(--snoopy-paper);
  box-shadow: 7px 8px 0 rgba(18,18,18,.08);
}
.hero-comic-paper img {
  position: absolute;
  width: 48%;
  height: auto;
  opacity: .42;
  filter: grayscale(1);
}
.hero-comic-paper-one { left: 9%; top: 19%; transform: rotate(-8deg); }
.hero-comic-paper-one img { left: 12%; top: 22%; }
.hero-comic-paper-two { right: 15%; top: 10%; transform: rotate(7deg); }
.hero-comic-paper-two img { right: 10%; bottom: 16%; transform: scaleX(-1); }
.hero-pencil-cup {
  position: absolute;
  z-index: 2;
  right: -2%;
  bottom: 3%;
  width: min(150px, 19%);
  max-height: 78%;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 14px 9px rgba(18,18,18,.14));
}
.hero-heart-sticker {
  position: absolute;
  z-index: 4;
  left: 8%;
  top: 13%;
  width: 42px;
  transform: rotate(-10deg);
}
.hero-sticker {
  position: absolute;
  z-index: 3;
  right: 8%;
  top: 12%;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  transform: rotate(8deg);
  border: 3px solid var(--snoopy-line);
  border-radius: 50%;
  color: #fff;
  background: var(--snoopy-red);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  line-height: 1.15;
}

.theme-strip {
  margin: 8px 28px 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 3px solid var(--snoopy-line);
  background: #fff;
}
.theme-button {
  min-height: 90px;
  border: 0;
  border-right: 1px solid var(--snoopy-line);
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--snoopy-ink);
  background: #fff;
  font-weight: 900;
}
.theme-button:last-child { border-right: 0; }
.theme-button:hover,
.theme-button.active { background: linear-gradient(90deg,var(--snoopy-yellow),#ffe486); }
.theme-button img {
  width: 64px;
  height: 62px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.section-block { padding: 44px 36px 0; }
.section-heading {
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--snoopy-display);
  font-size: clamp(28px, 3.3vw, 43px);
  line-height: 1.1;
}
.section-heading::after {
  content: "";
  height: 3px;
  flex: 1;
  background: var(--snoopy-line);
}
.section-heading .marker { color: var(--snoopy-yellow); -webkit-text-stroke: 2px var(--snoopy-line); }
.featured-grid { display: grid; grid-template-columns: 1.18fr .9fr .9fr; gap: 16px; }
.featured-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 3px solid var(--snoopy-line);
  padding: 22px;
  color: var(--snoopy-ink);
  background: #fff;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.featured-card:hover { transform: translateY(-4px) rotate(-.25deg); box-shadow: 8px 8px 0 var(--snoopy-yellow); }
.featured-card h3 {
  position: relative;
  z-index: 2;
  width: fit-content;
  margin: 0;
  color: var(--snoopy-blue);
  border-bottom: 3px solid var(--snoopy-blue);
  font-family: var(--snoopy-display);
  font-size: 27px;
  line-height: 1.2;
}
.featured-card p { position: relative; z-index: 2; margin: 10px 0 0; color: var(--snoopy-muted); font-weight: 700; }
.featured-card .featured-product {
  width: 100%;
  height: 220px;
  margin-top: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.featured-sticker {
  position: absolute;
  z-index: 3;
  width: 34px;
  height: 34px;
  object-fit: contain;
  pointer-events: none;
}
.featured-star { left: 15px; bottom: 15px; transform: rotate(-7deg); }
.featured-heart { right: 15px; top: 14px; transform: rotate(8deg); }

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(240px,1fr) repeat(5,minmax(118px,auto));
  gap: 10px;
  margin-bottom: 18px;
}
.catalog-toolbar input,
.catalog-toolbar select {
  min-height: 48px;
  border: 2px solid var(--snoopy-line);
  border-radius: 0;
  padding: 10px 13px;
  color: var(--snoopy-ink);
  background: #fff;
  outline: none;
}
.catalog-toolbar input:focus,
.catalog-toolbar select:focus { box-shadow: 0 0 0 3px rgba(248,191,37,.5); }
.catalog-meta {
  margin: 0 0 15px;
  color: var(--snoopy-muted);
  font-size: 13px;
  font-weight: 700;
}
.catalog-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.catalog-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--snoopy-line);
  color: var(--snoopy-ink);
  background: #fff;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.catalog-card:hover { transform: translateY(-3px); box-shadow: 6px 6px 0 rgba(23,89,168,.2); }
.catalog-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 2px solid var(--snoopy-line);
  background: linear-gradient(145deg,#fff,#f6f2e8);
}
.catalog-card-media img { width: 100%; height: 100%; padding: 12px; object-fit: contain; mix-blend-mode: multiply; }
.catalog-card-media .image-fallback,
.detail-image .image-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 20px;
  color: var(--snoopy-muted);
  background: repeating-linear-gradient(-45deg,#fff,#fff 10px,#f5f1e8 10px,#f5f1e8 20px);
  font-weight: 800;
  text-align: center;
}
.card-source {
  position: absolute;
  left: 10px;
  top: 10px;
  border: 1px solid var(--snoopy-line);
  padding: 3px 7px;
  background: var(--snoopy-yellow);
  font-size: 10px;
  font-weight: 900;
}
.catalog-card-copy { padding: 14px 14px 16px; }
.catalog-card h3 {
  margin: 0 0 7px;
  color: var(--snoopy-blue);
  font-family: var(--snoopy-display);
  font-size: 22px;
  line-height: 1.25;
}
.catalog-card p {
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: var(--snoopy-muted);
  font-size: 12px;
  line-height: 1.45;
}
.catalog-card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 11px; }
.catalog-card-tags span {
  border-bottom: 2px solid var(--snoopy-yellow);
  font-size: 11px;
  font-weight: 800;
}
.load-more-row { display: flex; justify-content: center; padding-top: 28px; }
.load-more-row button {
  min-width: 210px;
  min-height: 48px;
  border: 2px solid var(--snoopy-line);
  color: var(--snoopy-ink);
  background: var(--snoopy-yellow);
  box-shadow: 4px 4px 0 var(--snoopy-line);
  font-weight: 900;
}
.load-more-row button[hidden] { display: none; }
.catalog-empty {
  grid-column: 1 / -1;
  border: 2px dashed var(--snoopy-line);
  padding: 60px 24px;
  color: var(--snoopy-muted);
  text-align: center;
}

.detail-breadcrumb { padding: 24px 36px 0; color: var(--snoopy-blue); font-size: 13px; font-weight: 800; }
.detail-breadcrumb a { text-decoration: none; border-bottom: 1px solid currentColor; }
.detail-layout {
  display: grid;
  grid-template-columns: minmax(420px,1.05fr) minmax(430px,.95fr);
  gap: 46px;
  padding: 24px 36px 12px;
}
.detail-image {
  min-height: 520px;
  display: grid;
  place-items: center;
  border: 3px solid var(--snoopy-line);
  padding: 24px;
  background: #fff;
  box-shadow: 10px 10px 0 rgba(248,191,37,.3);
}
.detail-image img { width: 100%; height: 100%; max-height: 510px; object-fit: contain; mix-blend-mode: multiply; }
.detail-copy { padding: 10px 0; }
.detail-copy .eyebrow {
  margin: 0 0 12px;
  color: var(--snoopy-yellow);
  -webkit-text-stroke: 1px var(--snoopy-line);
  font-size: 22px;
}
.detail-copy h1 {
  width: fit-content;
  margin: 0 0 6px;
  border-bottom: 3px solid var(--snoopy-blue);
  font-family: var(--snoopy-display);
  font-size: clamp(38px,4vw,62px);
  line-height: 1.18;
}
.detail-english { margin: 0 0 24px; font-size: 14px; font-weight: 700; }
.detail-summary { margin: 0 0 22px; color: #36322d; font-size: 16px; }
.detail-specs {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 0 26px;
  border-top: 2px dashed rgba(23,89,168,.5);
}
.detail-spec {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(76px,.7fr) minmax(0,1.3fr);
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(18,18,18,.3);
}
.detail-spec dt { color: var(--snoopy-muted); }
.detail-spec dd { min-width: 0; margin: 0; font-weight: 800; overflow-wrap: anywhere; }
.detail-actions { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; margin-top: 28px; }
.detail-actions .paper-button { background: var(--snoopy-red); }
.detail-actions .paper-link { min-height: 40px; display: inline-flex; align-items: center; }
.related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.related-grid .catalog-card { display: grid; grid-template-columns: 180px 1fr; }
.related-grid .catalog-card-media { aspect-ratio: auto; border: 0; border-right: 2px solid var(--snoopy-line); }

.collection-footer {
  padding: 26px 30px 10px;
  color: #8b857b;
  text-align: center;
  font-size: 12px;
}

@media (max-width: 1100px) {
  .nav-links { gap: 2px; }
  .nav-links a { padding-inline: 9px; font-size: 12px; }
  .collection-links { display: none; }
  .collection-hero { grid-template-columns: .9fr 1.1fr; }
  .hero-copy { padding-left: 40px; }
  .catalog-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .catalog-toolbar { grid-template-columns: 1fr 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-image { min-height: 430px; }
}

@media (max-width: 768px) {
  body { padding-top: calc(58px + env(safe-area-inset-top)); }
  .g-nav {
    position: fixed;
    inset: 0 0 auto;
    min-height: calc(58px + env(safe-area-inset-top));
    display: grid;
    grid-template-columns: 44px minmax(0,1fr) 44px;
    padding: env(safe-area-inset-top) max(12px,env(safe-area-inset-right)) 0 max(12px,env(safe-area-inset-left));
  }
  .nav-brand { justify-self: center; font-size: 18px; }
  .nav-links { display: none; }
  .mobile-nav-button {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(224,180,88,.55);
    border-radius: 10px;
    color: var(--snoopy-gold);
    background: rgba(255,255,255,.02);
  }
  .mobile-nav-spacer { display: block; width: 42px; height: 42px; }
  .mobile-menu-icon { position: relative; width: 20px; height: 14px; }
  .mobile-menu-icon span {
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: top .2s ease,transform .2s ease,opacity .2s ease;
  }
  .mobile-menu-icon span:nth-child(1) { top: 0; }
  .mobile-menu-icon span:nth-child(2) { top: 6px; }
  .mobile-menu-icon span:nth-child(3) { top: 12px; }
  .g-nav.mobile-menu-open .mobile-menu-icon span:nth-child(1) { top: 6px; transform: rotate(45deg); }
  .g-nav.mobile-menu-open .mobile-menu-icon span:nth-child(2) { opacity: 0; }
  .g-nav.mobile-menu-open .mobile-menu-icon span:nth-child(3) { top: 6px; transform: rotate(-45deg); }
  .mobile-nav-overlay {
    position: fixed;
    inset: calc(58px + env(safe-area-inset-top)) 0 0;
    z-index: 160;
    display: block;
    opacity: 0;
    pointer-events: none;
    background: rgba(3,10,17,.58);
    transition: opacity .2s ease;
  }
  .mobile-nav-menu {
    position: fixed;
    z-index: 165;
    top: calc(66px + env(safe-area-inset-top));
    left: 12px;
    right: 12px;
    display: grid;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    border: 1px solid rgba(224,180,88,.3);
    border-radius: 12px;
    padding: 8px;
    background: rgba(5,16,27,.98);
    box-shadow: 0 22px 50px rgba(0,0,0,.4);
    transition: opacity .2s ease,transform .2s ease;
  }
  .mobile-nav-overlay.is-open,
  .mobile-nav-menu.is-open { opacity: 1; pointer-events: auto; }
  .mobile-nav-menu.is-open { transform: none; }
  .mobile-nav-menu a {
    padding: 12px 14px;
    border-radius: 8px;
    color: rgba(242,239,231,.78);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
  }
  .mobile-nav-menu a[aria-current="page"] { color: var(--snoopy-navy); background: var(--snoopy-gold); }
  .current-page-tag { float: right; font-size: 11px; }
  .collection-bar { min-height: 90px; padding: 16px 22px; }
  .collection-switcher { padding-inline: 22px; overflow-x: auto; }
  .collection-title { font-size: 31px; }
  .collection-count { margin-left: auto; font-size: 12px; }
  .collection-count strong { font-size: 18px; }
  .collection-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 52px 24px 8px;
  }
  .collection-hero::before { top: 300px; }
  .hero-copy { padding: 0; }
  .hero-kicker { margin-bottom: 18px; }
  .hero-copy h1 { max-width: 500px; font-size: clamp(50px,15vw,76px); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .paper-button { width: min(100%,360px); }
  .hero-visual { min-height: 420px; margin-top: -30px; }
  .hero-visual::before { inset: 20% 5% 4%; }
  .hero-sticker { right: 4%; top: 20%; }
  .theme-strip { margin: 18px 22px 0; overflow-x: auto; grid-template-columns: repeat(5,minmax(130px,1fr)); }
  .section-block { padding: 42px 22px 0; }
  .featured-grid { grid-template-columns: 1fr; }
  .featured-card { min-height: 290px; }
  .featured-card .featured-product { height: 205px; }
  .catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .catalog-toolbar { grid-template-columns: 1fr; }
  .detail-breadcrumb { padding: 20px 22px 0; }
  .detail-layout { gap: 24px; padding: 20px 22px 6px; }
  .detail-image { min-height: 360px; padding: 16px; }
  .detail-copy h1 { font-size: 44px; }
  .detail-specs { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .related-grid .catalog-card { grid-template-columns: 140px 1fr; }
}

@media (max-width: 520px) {
  .collection-bar { min-height: 78px; border-width: 2px; }
  .collection-switcher { padding-inline: 16px; }
  .collection-title { font-size: 25px; }
  .collection-title a { gap: 8px; }
  .collection-mascot { width: 54px; height: 48px; }
  .collection-count { display: none; }
  .collection-hero {
    display: block;
    min-height: 660px;
    padding: 38px 24px 18px;
  }
  .hero-kicker::before,
  .hero-kicker-desktop { display: none; }
  .hero-kicker-star {
    display: block;
    width: 28px;
    height: 28px;
    object-fit: contain;
    transform: rotate(-7deg);
  }
  .hero-kicker-mobile { display: inline; }
  .hero-copy h1 { font-size: 54px; }
  .hero-actions {
    position: relative;
    z-index: 5;
    margin-top: 268px;
  }
  .hero-visual {
    position: absolute;
    inset: 240px -18px auto 18px;
    min-height: 280px;
    margin: 0;
  }
  .hero-product { max-height: 260px; }
  .hero-visual::before { inset: 9% 5% 2%; }
  .hero-comic-paper { width: 37%; height: 40%; }
  .hero-comic-paper-one { left: 10%; top: 18%; }
  .hero-comic-paper-two { right: 13%; top: 10%; }
  .hero-pencil-cup { display: none; }
  .hero-heart-sticker { left: auto; right: 9%; top: 9%; width: 34px; }
  .theme-strip { grid-template-columns: repeat(5,118px); }
  .theme-button { min-height: 82px; gap: 7px; }
  .theme-button img { width: 49px; height: 51px; }
  .section-heading { font-size: 31px; }
  .catalog-grid { grid-template-columns: 1fr; }
  .catalog-card { display: grid; grid-template-columns: 42% 1fr; }
  .catalog-card-media { aspect-ratio: auto; min-height: 158px; border-bottom: 0; border-right: 2px solid var(--snoopy-line); }
  .catalog-card-copy { padding: 14px 12px; }
  .catalog-card h3 { font-size: 21px; }
  .featured-sticker { width: 38px; height: 38px; }
  .featured-star { left: 12px; bottom: 12px; }
  .featured-heart { right: 12px; top: 12px; }
  .detail-image { min-height: 300px; }
  .detail-copy h1 { font-size: 39px; }
  .detail-actions { align-items: flex-start; flex-direction: column; }
  .related-grid .catalog-card { grid-template-columns: 38% 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
