﻿:root {
  --ink: #2f2f31;
  --muted: #626165;
  --cream: #ffffff;
  --paper: #ffffff;
  --chapter: #f7f7f4;
  --shell: #eef8fb;
  --shell-dark: #b88478;
  --rose: #f2a4b4;
  --rose-soft: #ffe3ea;
  --blue-soft: #dff7fb;
  --joy-blue: #62c7dd;
  --joy-green: #a9d96e;
  --sunrise: #effa78;
  --sun: #ffe66d;
  --apricot: #ffb36b;
  --lilac: #b8b1ea;
  --candy: #f6a0b4;
  --line: #e7e7e3;
  --shadow: 0 20px 60px rgba(47, 47, 49, 0.1);
  --glow: rgba(98, 199, 221, 0.28);
  --logo-ink: #4a3527;
  --logo-blue: #5bd7ea;
  --logo-yellow: #ffe05e;
  --logo-pink: #ff6f91;
  --logo-orange: #ff8a00;
  --logo-cream: #fff9d7;
  --font-display: "Hartoon Sans", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-text: "Hartoon Sans", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --story-height: clamp(560px, 48vw, 760px);
  --story-copy-width: minmax(340px, 34%);
  --story-image-width: minmax(0, 1fr);
  --page-bg: #ffffff;
  --page-panel: #f7f7f4;
  --page-accent: #ffe66d;
  --story-bg: var(--page-accent);
}

body[data-theme="sunrise"] {
  --page-bg: #fffbe2;
  --page-panel: #fff4c2;
  --page-accent: #effa78;
  --story-bg: #effa78;
}

body[data-theme="sky"],
body[data-theme="aqua"] {
  --page-bg: #eef8fb;
  --page-panel: #dff7fb;
  --page-accent: #62c7dd;
  --story-bg: #bdeefa;
}

body[data-theme="blush"] {
  --page-bg: #fff2f5;
  --page-panel: #ffe3ea;
  --page-accent: #f6a0b4;
  --story-bg: #f3bec8;
}

body[data-theme="apricot"] {
  --page-bg: #fff5e8;
  --page-panel: #ffe2c2;
  --page-accent: #ffb36b;
  --story-bg: #ffbd7a;
}

body[data-theme="lilac"] {
  --page-bg: #f4f1ff;
  --page-panel: #e4e0ff;
  --page-accent: #b8b1ea;
  --story-bg: #c7c0f2;
}

body[data-theme="sun"] {
  --page-bg: #fff9d7;
  --page-panel: #fff0a8;
  --page-accent: #ffe66d;
  --story-bg: #ffe66d;
}

body[data-theme="candy"] {
  --page-bg: #fff1f7;
  --page-panel: #ffd9e8;
  --page-accent: #ff8fb7;
  --story-bg: #f6a0b4;
}

@font-face {
  font-family: "Hartoon Sans";
  src: url("./assets/fonts/hartoon-sans-subset.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page-bg);
  font-family: var(--font-text);
  overflow-x: hidden;
  min-width: 0;
  max-width: 100%;
  transition: background-color 220ms ease;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.top-notice {
  padding: 12px 16px;
  background: #f2f2f2;
  color: #3f3b38;
  text-align: center;
  font-size: 15px;
  line-height: 1.2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.utility-row {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr minmax(220px, 320px);
  align-items: center;
  gap: 24px;
  max-width: 1480px;
  margin: 0 auto;
  padding: 28px 24px 22px;
}

.brand {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0;
}

.brand-mascot {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
}

.brand-mascot img {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 7px 12px rgba(74, 53, 39, 0.14));
  animation: mascot-bob 5.8s ease-in-out infinite;
}

.brand:hover .brand-mascot img {
  animation: mascot-bob 0.7s ease-in-out 1;
}

.brand-mascot::before,
.brand-mascot::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 6px;
  width: 12px;
  height: 20px;
  border-right: 5px solid var(--logo-orange);
  border-radius: 50%;
  opacity: 0.68;
  animation: signal-pop 2.8s ease-in-out infinite;
}

.brand-mascot::after {
  right: -14px;
  top: 0;
  height: 28px;
  animation-delay: 0.22s;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 700;
  color: var(--logo-ink);
}

.brand small {
  color: var(--muted);
  margin-top: -2px;
}

@keyframes mascot-bob {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  45% {
    transform: translateY(-2px) rotate(-1deg);
  }
  68% {
    transform: translateY(1px) rotate(0.7deg);
  }
}

@keyframes signal-pop {
  0%,
  100% {
    opacity: 0.18;
    transform: scale(0.86) translateX(-1px);
  }
  45% {
    opacity: 0.86;
    transform: scale(1) translateX(0);
  }
}

.utility-link,
.cart-link,
.icon-button,
.header-icon {
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
}

.header-search {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #d7d4cf;
  border-radius: 4px;
  background: #fafafa;
  color: #4d4945;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
}

.header-search span:first-child {
  font-size: 28px;
  line-height: 1;
  transform: rotate(-12deg);
}

.header-icons {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 30px;
}

.language-toggle {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(44px, auto));
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 2px solid rgba(38, 50, 56, 0.7);
  border-radius: 4px;
  background: #fffaf0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.language-toggle button {
  min-height: 32px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #263238;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 760;
  line-height: 1;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease, color 180ms ease;
}

.language-toggle button:hover,
.language-toggle button:focus-visible {
  background: #ffe3ea;
  outline: 0;
}

.language-toggle button:active {
  transform: translateY(1px) scale(0.98);
}

.language-toggle button.active {
  background: #42c9d8;
  color: #12343b;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.32);
}

.footer-language-toggle {
  width: max-content;
  margin-top: 12px;
}

.header-custom {
  min-height: 46px;
  padding: 0 20px;
  border: 2px solid #12343b;
  border-radius: 4px;
  background: #42c9d8;
  color: #12343b;
  font-size: 15px;
  font-weight: 750;
  white-space: nowrap;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.34), 0 5px 0 rgba(18, 52, 59, 0.13);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-custom:hover {
  transform: translateY(-2px);
  background: #20afc4;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.32), 0 7px 0 rgba(18, 52, 59, 0.15);
}

.header-icon {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: transparent;
  cursor: pointer;
  line-height: 1;
}

.header-icon span {
  font-size: 13px;
}

.mobile-search {
  display: none;
  font-size: 28px;
  transform: rotate(-12deg);
}

.icon-button {
  display: none;
  font-size: 24px;
}

.button,
.header-custom,
.small-button,
.upload-shortcut,
.peekaboo-custom,
.peekaboo-upload,
.scenario-grid button,
.newsletter-form button,
.story-button,
.joy-story-button,
.full-payment-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  text-align: center;
  line-height: 1;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 38px;
  padding: 18px 20px 17px;
  font-family: var(--font-display);
  font-weight: 500;
  background: #fff;
  border-top: 1px solid #ece8e1;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a:focus,
.main-nav a.menu-active {
  border-color: var(--rose);
}

.mega-menu {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 32px;
  position: absolute;
  left: 50%;
  top: 100%;
  width: min(1040px, calc(100vw - 32px));
  transform: translate(-50%, -4px);
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0 0 22px 22px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 160ms ease, transform 160ms ease, visibility 0s linear 160ms;
}

.mega-menu.open {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition-delay: 0s;
}

.mega-menu a {
  display: block;
  padding: 9px 0;
  color: var(--muted);
}

.mega-menu img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 16px;
}

.menu-kicker,
.eyebrow {
  margin: 0 0 10px;
  color: var(--rose);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
}

.search-overlay {
  position: fixed;
  top: var(--search-offset, 145px);
  left: 0;
  right: 0;
  bottom: auto;
  height: calc(100dvh - var(--search-offset, 145px));
  display: none;
  z-index: 30;
  background: rgba(255, 255, 255, 0.38);
  padding: 0 24px 24px;
  overflow: hidden;
}

.search-overlay.open {
  display: block;
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(220px, 280px) minmax(0, 1fr);
  width: min(1420px, 100%);
  max-width: 1420px;
  height: 100%;
  max-height: 100%;
  margin: 0 auto;
  min-height: 0;
  background: #fff;
  border: 1px solid #dfdfdf;
  border-top: 0;
  border-radius: 0;
  box-shadow: 0 18px 48px rgba(61, 53, 47, 0.1);
  overflow: hidden;
}

.search-popular {
  background: #e5e5e5;
  padding: 30px 26px;
}

.search-popular,
.search-filters,
.search-products {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.search-popular h2,
.search-products h2 {
  margin: 0 0 28px;
  font-size: 26px;
  font-weight: 600;
}

.search-popular button,
.search-filters a {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 10px 0;
  color: #383432;
  font: inherit;
  font-size: 22px;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
}

.search-popular button:hover,
.search-popular button:focus-visible {
  color: var(--rose);
}

.search-popular button.active {
  margin-left: -26px;
  margin-right: -26px;
  padding-left: 26px;
  background: #fff;
  font-weight: 600;
}

.search-filters {
  padding: 30px 26px;
}

.search-brand-cue {
  display: grid;
  align-items: center;
  gap: 8px;
  margin: -4px 0 18px;
  color: var(--logo-ink);
  font-weight: 650;
}

.search-brand-cue img {
  width: 172px;
  max-width: 100%;
  height: auto;
}

.search-filters label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
}

.search-panel input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  margin-bottom: 22px;
}

.search-filters h3 {
  margin: 22px 0 8px;
  font-size: 24px;
  font-weight: 600;
}

.search-products {
  padding: 30px 34px 34px;
  min-width: 0;
}

.search-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 28px 26px;
}

.search-product-grid a {
  display: grid;
  gap: 10px;
  color: #3b3734;
  font-size: 18px;
  line-height: 1.25;
}

.search-product-grid img {
  width: 100%;
  aspect-ratio: 1 / 0.9;
  object-fit: cover;
  border-radius: 0;
  background: #fafafa;
}

.search-product-grid small {
  color: var(--muted);
  font-size: 16px;
}

.see-results {
  display: inline-block;
  margin-top: 30px;
  font-size: 24px;
}

.pill,
.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--blue-soft);
  color: var(--ink);
  font-weight: 700;
}

.page {
  animation: fadeIn 240ms ease both;
}

.motion-ready .page {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .page {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 40px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 46px 24px 38px;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero-copy p {
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.hero-image {
  position: relative;
}

.hero-image img,
.feature-image,
.story-image,
.gallery-main img {
  display: block;
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.story-image,
.gallery-main img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 2px solid #263238;
  border-radius: 4px;
  background: #263238;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 720;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 rgba(18, 52, 59, 0.1);
}

.button:disabled,
.button[aria-disabled="true"],
.small-button:disabled,
.small-button[aria-disabled="true"],
.newsletter-form button:disabled {
  border-color: #b8bec0;
  background: #e8ecee;
  color: #687174;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.button.secondary {
  background: #fff;
  color: #263238;
  border-color: #263238;
}

.gift-button,
.button,
.small-button,
.newsletter-form button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.gift-button::after,
.button::after,
.small-button::after,
.newsletter-form button::after {
  content: "";
  position: absolute;
  inset: -35% auto -35% -55%;
  width: 32%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transform: translateX(-15%) skewX(-18deg);
  transition: transform 420ms ease;
  z-index: -1;
}

.gift-button:hover::after,
.button:hover::after,
.small-button:hover::after,
.newsletter-form button:hover::after {
  transform: translateX(430%) skewX(-18deg);
}

.gift-button:active,
.button:active,
.small-button:active {
  transform: translateY(1px) scale(0.99);
}

.section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 56px 24px;
}

.joy-page {
  background: #fff;
}

.joy-hero {
  max-width: 1480px;
  margin: 0 auto;
  padding: 34px 24px 22px;
}

.joy-hero > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7.3;
  object-fit: cover;
  background: var(--joy-blue);
}

.joy-hero-copy {
  display: grid;
  justify-items: center;
  gap: 20px;
  padding: 42px 0 12px;
  text-align: center;
}

.joy-hero-copy h1,
.joy-title h2,
.joy-campaign h2,
.joy-social h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: 0;
}

.joy-hero-copy h1 {
  max-width: 980px;
  font-size: clamp(30px, 3.1vw, 48px);
  line-height: 1.14;
}

.joy-hero-copy p:not(.eyebrow) {
  margin: 0;
  max-width: 820px;
  color: var(--muted);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.65;
}

.joy-primary {
  min-width: 220px;
  min-height: 56px;
  border: 2px solid #12343b;
  border-radius: 4px;
  background: #42c9d8;
  color: #12343b;
  font-size: 20px;
  font-weight: 740;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.36), 0 7px 0 rgba(18, 52, 59, 0.14);
}

.joy-primary:hover {
  background: #20afc4;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.34), 0 9px 0 rgba(18, 52, 59, 0.16);
}

.conversion-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.galaxy-cta,
.galaxy-ghost,
.upload-shortcut,
.peekaboo-custom {
  --button-shine: rgba(255, 255, 255, 0.58);
}

.galaxy-cta {
  transform: translateZ(0);
}

.galaxy-ghost {
  background: #fff;
  border-color: #263238;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 5px 0 rgba(38, 50, 56, 0.08);
}

.upload-shortcut,
.peekaboo-custom {
  min-height: 54px;
  padding: 0 18px;
  border: 2px solid rgba(38, 50, 56, 0.76);
  border-radius: 4px;
  background: #ffe27a;
  color: #263238;
  font-weight: 720;
  white-space: nowrap;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.38), 0 5px 0 rgba(38, 50, 56, 0.1);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.upload-shortcut::before {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: 9px;
  border-radius: 3px;
  background: #ff8f8f;
  color: #263238;
  font-weight: 850;
}

.upload-shortcut:hover,
.peekaboo-custom:hover {
  transform: translateY(-2px);
  background: #ffd957;
  border-color: #263238;
}

.peekaboo-custom {
  min-height: 42px;
  width: 100%;
  padding: 0 10px;
  background: #ff8f8f;
  font-size: 13px;
}

.peekaboo-custom:hover {
  background: #ff7c7c;
}

.joy-feature-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  max-width: 1480px;
  padding-top: 38px;
  padding-bottom: 80px;
}

.joy-tile {
  display: grid;
  gap: 26px;
  justify-items: center;
  color: var(--ink);
  font-size: clamp(22px, 2vw, 31px);
  line-height: 1.18;
  text-align: center;
}

.joy-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #f7f7f4;
}

.joy-tile span,
.joy-collection-card span,
.joy-campaign a {
  border-bottom: 2px solid currentColor;
  padding-bottom: 4px;
}

.joy-story-split {
  display: grid;
  grid-template-columns: minmax(360px, 34%) minmax(0, 1fr);
  max-width: 1720px;
  min-height: clamp(520px, 43vw, 760px);
  margin: 0 auto 92px;
  background: #fff7dc;
}

.joy-story-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  min-height: inherit;
  padding: clamp(54px, 6vw, 108px) clamp(34px, 5vw, 78px);
  color: var(--ink);
}

.joy-story-copy .eyebrow {
  margin: 0;
  color: #e26a72;
}

.joy-story-copy h2 {
  max-width: 9em;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 38px);
  font-weight: 620;
  line-height: 1.16;
  letter-spacing: 0;
}

.joy-story-copy p:not(.eyebrow) {
  max-width: 26em;
  margin: 0;
  color: #423a30;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.68;
}

.joy-story-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 410px);
  min-height: 66px;
  margin-top: 10px;
  border: 2px solid currentColor;
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  font-size: clamp(17px, 1.35vw, 23px);
  font-weight: 680;
  white-space: nowrap;
  text-align: center;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.joy-story-button:hover {
  background: #6fd0e5;
  color: #152028;
  transform: translateY(-2px);
}

.joy-story-dots {
  position: absolute;
  left: clamp(34px, 5vw, 78px);
  bottom: clamp(38px, 5vw, 72px);
  display: flex;
  gap: 10px;
}

.joy-story-dots span {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid #2f2c28;
  background: transparent;
}

.joy-story-dots .active {
  background: #2f2c28;
}

.joy-story-image {
  min-width: 0;
  min-height: inherit;
  overflow: hidden;
  background: #ffd77b;
}

.joy-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.joy-collections {
  text-align: center;
  padding-top: 20px;
  padding-bottom: 86px;
}

.joy-title {
  display: grid;
  gap: 24px;
  margin-bottom: 72px;
}

.joy-title h2 {
  font-size: clamp(28px, 3vw, 42px);
}

.joy-title p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(20px, 2.2vw, 30px);
}

.joy-collection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px;
  max-width: 920px;
  margin: 0 auto 72px;
}

.joy-collection-card {
  display: grid;
  gap: 24px;
  color: var(--ink);
  font-size: clamp(22px, 2vw, 33px);
  line-height: 1.18;
  text-align: center;
}

.joy-collection-card img {
  width: 100%;
  aspect-ratio: 1 / 1.2;
  object-fit: contain;
  padding: 12px;
}

.joy-collection-card.lilac img {
  background: #c4c0e8;
}

.joy-collection-card.aqua img {
  background: #77d3e4;
}

.joy-collection-card.pink img {
  background: #efa0a7;
}

.joy-collection-card.lemon img {
  background: #effa78;
  object-fit: cover;
}

.joy-recommendations {
  max-width: 1480px;
  padding-top: 34px;
  padding-bottom: 78px;
  border-top: 1px solid var(--line);
}

.joy-recommendation-heading {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-bottom: 56px;
  text-align: center;
}

.joy-recommendation-heading h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 38px);
  font-weight: 650;
  line-height: 1.16;
  letter-spacing: 0;
}

.joy-product-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 34px;
}

.joy-product {
  display: grid;
  justify-items: center;
  text-align: center;
}

.joy-product a {
  display: grid;
  justify-items: center;
  gap: 20px;
  width: 100%;
}

.joy-product a span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 2px solid var(--joy-blue);
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  background: #fff;
}

.joy-product img {
  width: 100%;
  height: 280px;
  object-fit: contain;
}

.joy-product h3 {
  min-height: 70px;
  margin: 24px 0 8px;
  font-size: clamp(20px, 1.8vw, 31px);
  line-height: 1.35;
  font-weight: 650;
}

.joy-product p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 24px;
}

.joy-stars {
  color: var(--logo-orange);
  font-size: 24px;
  letter-spacing: 2px;
}

.joy-stars small {
  color: var(--ink);
  letter-spacing: 0;
}

.joy-campaign {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.95fr);
  gap: 58px;
  align-items: center;
  max-width: 1480px;
  margin: 0 auto;
  padding: 26px 24px 86px;
}

.joy-campaign img {
  width: 100%;
  aspect-ratio: 16 / 7.5;
  object-fit: contain;
  background: #fff;
}

.joy-campaign h2 {
  font-size: clamp(24px, 2.5vw, 38px);
  line-height: 1.16;
  margin-bottom: 28px;
}

.joy-campaign p {
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.65;
}

.joy-campaign a {
  display: inline-block;
  margin-top: 28px;
  color: var(--ink);
  font-size: 22px;
}

.joy-social {
  max-width: 1480px;
  text-align: center;
  padding-top: 40px;
}

.joy-social h2 {
  font-size: clamp(24px, 2.5vw, 38px);
  margin-bottom: 72px;
}

.joy-social-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.joy-social-grid img {
  width: 100%;
  aspect-ratio: 4 / 5.4;
  object-fit: cover;
}

.joy-social p {
  margin: 64px 0 22px;
  color: var(--ink);
  font-size: clamp(22px, 2.4vw, 34px);
}

.intro-band {
  text-align: center;
  padding-top: 72px;
  padding-bottom: 72px;
}

.intro-band h1 {
  max-width: 900px;
  margin: 0 auto 18px;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.14;
  overflow-wrap: anywhere;
}

.intro-band p:not(.eyebrow) {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.65;
}

.story-showcase {
  display: grid;
  grid-template-columns: var(--story-copy-width) var(--story-image-width);
  height: var(--story-height);
  min-height: var(--story-height);
  border-bottom: 1px solid var(--line);
  background: var(--story-bg);
  overflow: hidden;
}

.story-showcase.theme-sunrise,
.story-showcase.theme-sunrise .story-panel {
  --story-bg: var(--sunrise);
}

.story-showcase.theme-blush,
.story-showcase.theme-blush .story-panel {
  --story-bg: #f3bec8;
}

.story-showcase.theme-sky,
.story-showcase.theme-sky .story-panel {
  --story-bg: #bdeefa;
}

.story-showcase.theme-apricot,
.story-showcase.theme-apricot .story-panel {
  --story-bg: var(--apricot);
}

.story-showcase.theme-lilac,
.story-showcase.theme-lilac .story-panel {
  --story-bg: var(--lilac);
}

.story-showcase.theme-sun,
.story-showcase.theme-sun .story-panel {
  --story-bg: var(--sun);
}

.story-showcase.theme-candy,
.story-showcase.theme-candy .story-panel {
  --story-bg: var(--candy);
}

.story-showcase.reverse {
  grid-template-columns: var(--story-image-width) var(--story-copy-width);
}

.story-showcase.reverse .story-panel {
  order: 2;
}

.story-showcase.reverse .story-scene {
  order: 1;
}

.story-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  height: 100%;
  min-height: 0;
  padding: clamp(32px, 6vw, 96px);
  background: var(--story-bg, var(--page-accent));
  color: var(--ink);
}

.story-panel h2 {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(26px, 2.7vw, 40px);
  line-height: 1.14;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
  max-width: 560px;
}

.story-panel p:not(.eyebrow) {
  max-width: 500px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.65;
  font-weight: 500;
  word-break: normal;
  overflow-wrap: anywhere;
}

.story-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 260px;
  min-height: 58px;
  margin-top: 42px;
  padding: 0 28px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 650;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.story-button:hover {
  background: var(--ink);
  color: #fff8ef;
  transform: translateY(-2px);
  box-shadow: 10px 10px 0 rgba(43, 38, 31, 0.1);
}

.story-button::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(43, 38, 31, 0.16);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
  z-index: -1;
}

.story-button::after {
  content: "";
  position: absolute;
  inset: -30% auto -30% -55%;
  width: 38%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-22deg);
  transition: transform 560ms ease;
  z-index: -1;
}

.story-button:hover::before {
  transform: scaleX(1);
}

.story-button:hover::after {
  transform: translateX(370%) skewX(-22deg);
}

.story-controls {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.story-dots {
  display: flex;
  gap: 8px;
  margin: 0;
}

.story-dots button {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 0;
  background: rgba(43, 38, 31, 0.28);
  cursor: pointer;
  padding: 0;
  transition: background-color 160ms ease, transform 160ms ease;
}

.story-dots button:hover,
.story-dots button.active {
  background: var(--ink);
}

.story-dots button.active {
  transform: scale(1.08);
}

.story-scene {
  min-width: 0;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.story-scene:focus-visible {
  outline: 3px solid rgba(111, 208, 229, 0.85);
  outline-offset: -6px;
}

.story-scene.dragging {
  cursor: grabbing;
}

.story-scene img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  will-change: transform;
  pointer-events: none;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section-header h2,
.story-copy h2,
.product-info h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 2.7vw, 40px);
  line-height: 1.14;
  overflow-wrap: anywhere;
}

.section-header p,
.story-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.chapter-grid-section {
  max-width: none;
  padding-left: max(24px, calc((100vw - 1320px) / 2 + 24px));
  padding-right: max(24px, calc((100vw - 1320px) / 2 + 24px));
  background: #f8efe3;
}

.chapter-grid-section .section-header,
.chapter-grid-section .tile-grid {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}

.tile,
.product-card,
.info-card,
.faq-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(77, 92, 88, 0.08);
}

.tile,
.product-card {
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.tile img,
.product-card img,
.badge {
  transition: transform 260ms ease, filter 260ms ease;
}

.tile img,
.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--rose-soft);
}

.product-card img {
  object-position: center;
}

.tile {
  border-radius: 0;
}

.tile:hover,
.product-card:hover {
  border-color: rgba(244, 166, 164, 0.55);
  transform: translateY(-6px);
  box-shadow: 0 26px 70px rgba(77, 92, 88, 0.16);
}

.tile:hover img,
.product-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.05) contrast(1.02);
}

.product-card:hover .badge {
  transform: translateY(-3px);
}

.tile img {
  aspect-ratio: 16 / 11;
}

.tile-body {
  min-height: 166px;
}

.tile-body p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tile-body,
.product-card-body,
.info-card {
  padding: 18px;
}

.tile h3,
.product-card h3,
.info-card h3 {
  margin: 0 0 8px;
}

.tile p,
.product-card p,
.info-card p,
.faq-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.series-section,
.product-selection-section {
  padding-top: 34px;
}

.series-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.series-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid rgba(38, 50, 56, 0.16);
  border-radius: 6px;
  background: #fffaf0;
  box-shadow: 0 16px 42px rgba(77, 92, 88, 0.1);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.series-card:hover {
  transform: translateY(-5px);
  border-color: rgba(38, 50, 56, 0.32);
  box-shadow: 0 24px 64px rgba(77, 92, 88, 0.16);
}

.series-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  display: block;
}

.series-card-body {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.series-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.16;
}

.series-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.series-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-top: 4px;
}

.series-card dl div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border-top: 1px solid rgba(38, 50, 56, 0.12);
  padding-top: 8px;
}

.series-card dt,
.series-card dd {
  margin: 0;
  line-height: 1.45;
}

.series-card dt {
  color: rgba(38, 50, 56, 0.58);
  font-size: 13px;
  font-weight: 700;
}

.series-card dd {
  color: var(--ink);
  font-weight: 700;
}

.series-card.lilac { background: #f2eaff; }
.series-card.pink { background: #ffe8ef; }
.series-card.sun { background: #fff1aa; }
.series-card.mint { background: #ddf7ef; }
.series-card.apricot { background: #ffe1c6; }
.series-card.candy { background: #ffddeb; }
.series-card.lemon { background: #fff6bd; }
.series-card.sky { background: #dff4ff; }
.series-card.aqua { background: #d7f7f9; }
.series-card.peach { background: #ffe4d8; }

.product-selection-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 58px 24px 10px;
}

.product-selection-hero h1 {
  margin: 10px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.12;
}

.product-selection-hero p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.62;
}

.about-hero .hero-copy h1 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.12;
}

.about-hero .hero-copy p:not(.eyebrow) {
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.62;
}

.series-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.series-filter-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(38, 50, 56, 0.22);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 720;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.series-filter-tabs a:hover,
.series-filter-tabs a.active {
  transform: translateY(-1px);
  border-color: #263238;
  background: #ffe27a;
}

.product-selection-toolbar {
  margin-bottom: 18px;
}

.product-card {
  position: relative;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  box-shadow: var(--shadow);
}

.product-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.small-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 50px;
  padding: 0 14px;
  border: 2px solid #263238;
  border-radius: 4px;
  background: #fff;
  color: #263238;
  cursor: pointer;
  font-weight: 720;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.small-button:hover {
  transform: translateY(-2px);
  border-color: #12343b;
  background: #f7fdff;
}

.price {
  display: block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 700;
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--rose);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
}

.collection-hero,
.simple-hero {
  max-width: 1320px;
  margin: 0 auto;
  padding: 48px 24px 22px;
}

.breadcrumbs {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 24px;
}

.collection-hero h1,
.simple-hero h1,
.intro-band h1 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.14;
  overflow-wrap: anywhere;
}

.collection-hero p,
.simple-hero p {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.toolbar select {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: #fff;
  color: var(--ink);
}

.product-detail {
  --purchase-header-offset: 92px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.72fr);
  gap: clamp(24px, 3.4vw, 54px);
  max-width: 1440px;
  margin: 0 auto;
  padding: 34px 24px 64px;
}

.product-gallery-column {
  min-width: 0;
}

.product-gallery-layout {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.gallery-main {
  min-width: 0;
}

.gallery-main img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  border: 2px solid rgba(38, 50, 56, 0.12);
  border-radius: 8px;
  background: #fffaf0;
}

.thumbs {
  display: grid;
  gap: 10px;
}

.vertical-thumbs {
  grid-template-columns: 1fr;
  position: sticky;
  top: var(--purchase-header-offset);
}

.thumbs button {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: #fffdf6;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.thumbs button:hover,
.thumbs button.active {
  border-color: var(--rose);
  transform: translateY(-1px);
  box-shadow: 0 4px 0 rgba(38, 50, 56, 0.08);
}

.product-purchase-column {
  position: sticky;
  top: var(--purchase-header-offset);
  height: calc(100dvh - var(--purchase-header-offset));
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 0;
  align-self: start;
  overflow: hidden;
  border: 2px solid rgba(38, 50, 56, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(#fffdf6, #fffdf6) padding-box,
    linear-gradient(180deg, rgba(255, 143, 163, 0.26), rgba(66, 201, 216, 0.18)) border-box;
  box-shadow: 0 18px 46px rgba(62, 72, 82, 0.1);
}

.product-purchase-column::before,
.product-purchase-column::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 3;
  height: 28px;
  pointer-events: none;
}

.product-purchase-column::before {
  top: 0;
  background: linear-gradient(180deg, #fffdf6, rgba(255, 253, 246, 0));
}

.product-purchase-column::after {
  bottom: 92px;
  background: linear-gradient(0deg, #fffdf6, rgba(255, 253, 246, 0));
}

.product-purchase-scroll {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 26px 24px 18px;
}

.product-purchase-scroll::-webkit-scrollbar {
  display: none;
}

.product-purchase-column .product-info {
  display: grid;
  gap: 12px;
}

.product-purchase-footer {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-top: 2px solid rgba(255, 143, 163, 0.28);
  background: rgba(255, 250, 240, 0.96);
}

.product-purchase-footer span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.product-purchase-footer strong {
  display: block;
  color: #12343b;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.08;
}

.product-purchase-footer .button {
  min-height: 52px;
  padding-inline: 20px;
  white-space: nowrap;
}

.purchase-footer-actions {
  display: grid;
  grid-template-columns: auto auto;
  gap: 8px;
  align-items: center;
}

.purchase-footer-actions .add-wish {
  min-width: 96px;
  background: #fff;
}

.mobile-purchase-bar {
  display: none;
}

html[lang="en"] .joy-hero-copy h1,
html[lang="en"] .hero-copy h1 {
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.12;
}

html[lang="en"] .simple-hero h1,
html[lang="en"] .collection-hero h1,
html[lang="en"] .intro-band h1 {
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.16;
}

html[lang="en"] .joy-hero-copy p:not(.eyebrow),
html[lang="en"] .hero-copy p,
html[lang="en"] .story-panel p:not(.eyebrow),
html[lang="en"] .service-story-copy p:not(.eyebrow),
html[lang="en"] .pricing-hero p,
html[lang="en"] .story-copy p,
html[lang="en"] .section-header p {
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.6;
}

html[lang="en"] .story-panel h2,
html[lang="en"] .service-story-copy h2,
html[lang="en"] .pricing-hero h2,
html[lang="en"] .section-header h2,
html[lang="en"] .story-copy h2,
html[lang="en"] .product-info h1,
html[lang="en"] .custom-dialog-copy h2,
html[lang="en"] .payment-copy h2,
html[lang="en"] .joy-story-copy h2,
html[lang="en"] .joy-recommendation-heading h2,
html[lang="en"] .joy-campaign h2,
html[lang="en"] .joy-social h2,
html[lang="en"] .promo-video-copy h2,
html[lang="en"] .upload-panel h2,
html[lang="en"] .newsletter h2 {
  font-size: clamp(24px, 2.3vw, 36px);
  line-height: 1.16;
}

html[lang="en"] .joy-title h2 {
  font-size: clamp(26px, 2.5vw, 38px);
}

html[lang="en"] .joy-title p {
  font-size: clamp(18px, 1.9vw, 26px);
}

.section-header.compact {
  align-items: end;
  gap: 18px;
}

.service-story-section,
.pricing-reference-section,
.accessory-pricing-section,
.notice-section,
.shipping-section,
.quote-upload-section,
.full-payment-section,
.wechat-contact-section {
  max-width: 1480px;
}

.service-story-section,
.shipping-section,
.quote-upload-section,
.full-payment-section,
.wechat-contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: center;
}

.service-story-copy,
.shipping-section > div,
.quote-upload-section > div,
.full-payment-section > div,
.wechat-contact-section > div,
.wechat-action-card {
  display: grid;
  gap: 16px;
}

.service-story-copy h2,
.pricing-hero h2,
.accessory-pricing-section h2,
.notice-card h2,
.shipping-section h2,
.quote-upload-section h2,
.full-payment-section h2,
.wechat-contact-section h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(26px, 2.7vw, 40px);
  font-weight: 700;
  line-height: 1.14;
}

.service-story-copy p:not(.eyebrow),
.pricing-hero p,
.notice-card p,
.shipping-section p,
.quote-upload-section p,
.full-payment-section p,
.wechat-contact-section p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.65;
}

.service-story-image,
.pricing-hero img,
.accessory-layout img,
.shipping-section img,
.quote-upload-section img,
.full-payment-section img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 2px solid rgba(38, 50, 56, 0.14);
  border-radius: 6px;
  background: #fffaf0;
  box-shadow: 0 18px 42px rgba(62, 72, 82, 0.1);
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 8px 0 4px;
}

.workflow-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 174px;
  padding: 16px;
  border: 1px solid rgba(38, 50, 56, 0.12);
  border-radius: 8px;
  background: #fffdf6;
  color: #344247;
}

.workflow-card span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 2px solid #263238;
  border-radius: 4px;
  background: #ffe27a;
  font-weight: 850;
}

.workflow-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.16;
}

.workflow-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.workflow-card.tone-sky { background: #dff5ff; }
.workflow-card.tone-sun { background: #fff0a6; }
.workflow-card.tone-blush { background: #ffe0e9; }
.workflow-card.tone-aqua { background: #dcfaf2; }
.workflow-card.tone-apricot { background: #ffe6c9; }
.workflow-card.tone-candy { background: #efe4ff; }

.pricing-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 26px;
  align-items: center;
  padding: clamp(22px, 3vw, 34px);
  border: 2px solid rgba(38, 50, 56, 0.12);
  border-radius: 6px;
  background: #fffaf0;
}

.pricing-hero > div {
  display: grid;
  gap: 15px;
}

.wechat-line {
  width: fit-content;
  padding: 10px 12px;
  border: 2px solid rgba(38, 50, 56, 0.18);
  border-radius: 4px;
  background: #dff7fb;
  color: #12343b !important;
  font-weight: 820;
}

.price-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.price-plan-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 22px;
  border: 2px solid rgba(38, 50, 56, 0.14);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(62, 72, 82, 0.08);
}

.price-plan-card:nth-child(2) { background: #fff2f5; }
.price-plan-card:nth-child(3) { background: #eef8fb; }
.price-plan-card:nth-child(4) { background: #fff7dc; }

.price-plan-card h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.12;
}

.price-plan-card p {
  margin: 0;
  min-height: 76px;
  color: var(--muted);
  line-height: 1.58;
}

.price-lines {
  display: grid;
  gap: 8px;
}

.price-lines strong {
  display: block;
  padding: 11px 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.72);
  color: #12343b;
  font-size: 18px;
}

.accessory-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 22px;
}

.accessory-price-list {
  display: grid;
  gap: 10px;
  align-content: start;
}

.accessory-price-list article {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 16px;
  border: 1px solid rgba(38, 50, 56, 0.13);
  border-radius: 6px;
  background: #fff;
}

.accessory-price-list span {
  color: #344247;
  line-height: 1.45;
}

.accessory-price-list strong {
  flex: 0 0 auto;
  color: #12343b;
  font-size: 18px;
}

.notice-section {
  display: grid;
  grid-template-columns: 1.35fr 0.82fr 0.82fr;
  gap: 18px;
}

.notice-card {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: clamp(22px, 3vw, 32px);
  border: 2px solid rgba(38, 50, 56, 0.12);
  border-radius: 6px;
  background: #fff;
}

.notice-card.main {
  background: #ffe3ea;
}

.notice-card h3 {
  margin: 0;
  font-size: 24px;
}

.shipping-rules {
  display: grid;
  gap: 10px;
}

.quote-upload-section {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  background: #fffdf6;
}

.quote-upload-section,
.full-payment-section,
.wechat-contact-section {
  border-top: 1px solid rgba(38, 50, 56, 0.08);
}

.full-payment-section {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
}

.wechat-contact-section {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.74fr);
  padding-top: 42px;
  padding-bottom: 42px;
}

.wechat-action-card {
  padding: 24px;
  border: 2px solid #263238;
  border-radius: 6px;
  background: #dff7fb;
  box-shadow: 0 9px 0 rgba(18, 52, 59, 0.1);
}

.wechat-action-card strong {
  font-size: 24px;
}

.conversion-scenes {
  max-width: 1480px;
}

.conversion-scene-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.conversion-scene-card {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.conversion-scene-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
  background: #f8f4ef;
  transition: transform 240ms ease, filter 240ms ease;
}

.conversion-scene-card:hover img {
  transform: translateY(-4px) scale(1.015);
  filter: saturate(1.05) contrast(1.02);
}

.conversion-scene-card span {
  font-size: 21px;
  font-weight: 800;
}

.conversion-scene-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.promo-video-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 28px;
  align-items: center;
  max-width: 1480px;
  padding-top: 34px;
  padding-bottom: 34px;
}

.promo-video-copy {
  display: grid;
  gap: 16px;
}

.promo-video-copy h2 {
  margin: 0;
  max-width: 560px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 38px);
  font-weight: 720;
  line-height: 1.16;
}

.promo-video-copy p:not(.eyebrow) {
  margin: 0;
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.65;
}

.promo-video-frame {
  position: relative;
  min-height: 320px;
  border: 2px solid #263238;
  border-radius: 4px;
  overflow: hidden;
  background: #dff7fb;
  box-shadow: 0 18px 42px rgba(62, 72, 82, 0.12);
}

.promo-video-frame video {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 320px;
  object-fit: cover;
  background: transparent;
}

.promo-video-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 28px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(112, 213, 230, 0.78), rgba(255, 154, 166, 0.62)),
    url("./assets/generated/joy-studio/product-lineup.webp") center / cover;
  color: #12343b;
}

.promo-video-fallback strong {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 42px);
}

.promo-video-fallback span {
  font-weight: 650;
}

.upload-contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 24px;
  align-items: stretch;
}

.upload-panel,
.contact-chat,
.custom-dialog {
  border: 1px solid rgba(39, 45, 51, 0.12);
  background: #fff;
  box-shadow: 0 18px 42px rgba(62, 72, 82, 0.09);
}

.upload-panel {
  padding: clamp(26px, 4vw, 46px);
  display: grid;
  gap: 18px;
}

.upload-panel h2 {
  margin: 0;
  font-size: clamp(24px, 2.5vw, 38px);
  line-height: 1.16;
}

.upload-panel > p:not(.eyebrow) {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.7;
}

.upload-demo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.upload-demo label {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 2px solid rgba(38, 50, 56, 0.5);
  border-radius: 4px;
  background: #fff3b5;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.upload-demo label::before {
  content: "+";
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 2px solid #263238;
  border-radius: 4px;
  background: #fff;
  color: #263238;
  font-size: 22px;
  font-weight: 850;
}

.upload-demo label:hover {
  transform: translateY(-2px);
  border-color: #263238;
  background: #ffe27a;
}

.upload-demo label span {
  font-size: 18px;
  font-weight: 850;
  white-space: nowrap;
}

.upload-demo label small {
  min-width: 0;
  color: var(--muted);
  font-weight: 720;
  white-space: nowrap;
}

.upload-demo input {
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
}

.upload-progress {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  min-height: 70px;
  padding: 14px 16px;
  border: 2px solid rgba(38, 50, 56, 0.12);
  border-radius: 4px;
  background: #fffdf6;
}

.upload-progress strong,
.upload-progress span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.upload-progress span {
  color: var(--muted);
  font-size: 14px;
}

.upload-progress i {
  display: block;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #65cce2, #ffd84e, #ff8aa8);
  transform: scaleX(0.04);
  transform-origin: left center;
}

.contact-chat {
  padding: 20px;
  display: grid;
  gap: 16px;
}

.product-info .contact-chat {
  margin-top: 18px;
  box-shadow: 0 12px 30px rgba(62, 72, 82, 0.08);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-header > span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0 18%, #78d9ef 19% 55%, #ffcf4b 56% 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.62);
}

.chat-header strong,
.chat-header small {
  display: block;
}

.chat-header small {
  color: var(--muted);
  line-height: 1.4;
}

.chat-stream {
  max-height: 210px;
  overflow-y: auto;
  display: grid;
  gap: 10px;
  padding-right: 4px;
}

.chat-stream p {
  width: fit-content;
  max-width: 92%;
  margin: 0;
  padding: 11px 14px;
  border-radius: 16px 16px 16px 4px;
  background: #f0fbff;
  color: #2f363b;
  line-height: 1.55;
}

.chat-stream p:nth-child(2n) {
  justify-self: end;
  border-radius: 16px 16px 4px 16px;
  background: #fff1b8;
}

.custom-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: flex-end;
  padding: 22px;
  background: rgba(33, 39, 45, 0.34);
  backdrop-filter: blur(10px);
}

.custom-modal.open {
  display: flex;
}

.payment-panel {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(33, 39, 45, 0.36);
  backdrop-filter: blur(10px);
}

.payment-dialog {
  position: relative;
  width: min(780px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  padding: clamp(22px, 3.5vw, 36px);
  border: 2px solid #263238;
  border-radius: 8px;
  background: #fffdf6;
  box-shadow: 0 22px 60px rgba(38, 50, 56, 0.2);
}

.payment-copy {
  display: grid;
  align-content: start;
  gap: 12px;
}

.payment-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 2.7vw, 40px);
  line-height: 1.14;
}

.payment-copy p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.payment-summary {
  display: grid;
  gap: 4px;
  margin-top: 8px;
  padding: 14px;
  border: 2px solid rgba(38, 50, 56, 0.16);
  border-radius: 6px;
  background: #fff;
}

.payment-summary span,
.payment-qr-card small {
  color: var(--muted);
  font-weight: 720;
}

.payment-summary strong {
  color: #263238;
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
}

.payment-status {
  width: fit-content;
  padding: 8px 10px;
  border: 2px solid #263238;
  border-radius: 4px;
  background: #fff0a6;
  color: #263238;
  font-weight: 820;
}

.payment-status[data-state="paid"] {
  background: #bff3f7;
}

.payment-qr-card {
  display: grid;
  gap: 10px;
  align-content: start;
  justify-items: center;
  min-width: 0;
  padding: 16px;
  border: 2px solid rgba(38, 50, 56, 0.18);
  border-radius: 8px;
  background: #fff;
}

.payment-qr-card img {
  width: min(230px, 100%);
  aspect-ratio: 1;
  object-fit: contain;
}

.custom-dialog {
  position: relative;
  width: min(680px, 100%);
  max-height: calc(100dvh - 44px);
  overflow-y: auto;
  padding: clamp(22px, 3.5vw, 36px);
  display: grid;
  gap: 18px;
}

.sticky-custom-cta {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  max-width: calc(100vw - 36px);
  margin: 0 auto;
  min-height: 78px;
  padding: 10px 12px 10px 20px;
  border: 2px solid #263238;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(38, 50, 56, 0.18);
  transform: translateY(18px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.sticky-custom-cta.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sticky-custom-cta span {
  color: #263238;
  font-weight: 720;
  white-space: nowrap;
}

.sticky-custom-cta .button {
  min-height: 56px;
  min-width: 220px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(39, 45, 51, 0.14);
  background: #fff;
  font-size: 26px;
  line-height: 1;
}

.custom-dialog-copy h2 {
  margin: 0 44px 8px 0;
  font-size: clamp(26px, 2.7vw, 40px);
  line-height: 1.14;
}

.custom-dialog-copy p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.scenario-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.scenario-grid button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(39, 45, 51, 0.16);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font-weight: 780;
}

.scenario-grid button.active {
  background: #fff0a6;
  border-color: rgba(39, 45, 51, 0.42);
}

.custom-form {
  display: grid;
  gap: 12px;
}

.custom-form label {
  display: grid;
  gap: 7px;
  font-weight: 760;
}

.custom-form input,
.custom-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 2px solid rgba(38, 50, 56, 0.36);
  border-radius: 6px;
  background: #fffaf0;
  padding: 14px 16px;
  color: var(--ink);
  font-family: var(--font-body), "LXGW WenKai", "MiSans Rounded", "Resource Han Rounded", sans-serif;
  font-size: 16px;
  font-weight: 560;
  line-height: 1.6;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.72), 0 4px 0 rgba(38, 50, 56, 0.05);
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.custom-form input::placeholder,
.custom-form textarea::placeholder {
  color: #8f7f7a;
  font-family: var(--font-body), "LXGW WenKai", "MiSans Rounded", "Resource Han Rounded", sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
  opacity: 1;
}

.custom-form input:focus,
.custom-form textarea:focus {
  outline: 0;
  border-color: #ff8fa3;
  background: #fffaf0;
  box-shadow: 0 0 0 4px rgba(255, 143, 163, 0.18), inset 0 2px 0 rgba(255, 255, 255, 0.76);
}

.custom-form textarea {
  resize: vertical;
}

.modal-option-group {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0 0 12px;
  border: 0;
  border-bottom: 1px solid rgba(255, 143, 163, 0.28);
}

.modal-option-group legend {
  margin-bottom: 8px;
  color: var(--ink);
  font-family: var(--font-display), var(--font-body), sans-serif;
  font-weight: 780;
}

.modal-option-grid,
.modal-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.modal-option-group[data-modal-contact-type] .modal-option-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.modal-option-card {
  position: relative;
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 11px 12px;
  border: 2px solid rgba(38, 50, 56, 0.18);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.modal-option-card:hover,
.modal-option-card:focus-within {
  transform: translateY(-1px);
  border-color: rgba(255, 143, 163, 0.72);
  background: #fffaf0;
  box-shadow: 0 4px 0 rgba(38, 50, 56, 0.07);
}

.modal-option-card.active {
  border-color: #263238;
  background: #fff0a6;
  box-shadow: 0 4px 0 rgba(38, 50, 56, 0.1);
}

.modal-option-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.modal-option-card span {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-family: var(--font-display), var(--font-body), sans-serif;
  font-size: 16px;
  font-weight: 780;
  line-height: 1.25;
}

.modal-option-card small {
  color: #8f7f7a;
  font-size: 12px;
  font-weight: 680;
  line-height: 1.35;
}

.custom-form button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.custom-checkbox {
  grid-template-columns: auto 1fr;
  align-items: center;
  padding: 12px 14px;
  border: 2px solid rgba(38, 50, 56, 0.24);
  border-radius: 6px;
  background: #fff7dc;
}

.custom-checkbox input {
  width: 18px;
  height: 18px;
  padding: 0;
  box-shadow: none;
}

.custom-checkbox span {
  font-weight: 680;
  line-height: 1.45;
}

.form-helper {
  margin: -2px 0 0;
  color: #12343b;
  font-weight: 760;
  line-height: 1.5;
}

.config-handoff-note {
  display: grid;
  gap: 6px;
}

.thumbs button.active {
  border-color: var(--rose);
}

.thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 0.72;
  object-fit: cover;
}

.rating {
  color: #d78a6d;
  font-weight: 700;
}

.product-configurator {
  display: grid;
  gap: 15px;
  margin: 22px 0;
  padding: 18px;
  border: 2px solid rgba(38, 50, 56, 0.18);
  border-radius: 8px;
  background: #fffdf6;
  box-shadow: 0 14px 32px rgba(62, 72, 82, 0.08);
}

.config-heading {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}

.config-heading h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.18;
}

.config-heading > span {
  flex: 0 0 auto;
  padding: 7px 9px;
  border: 2px solid #263238;
  border-radius: 4px;
  background: #dff7fb;
  color: #12343b;
  font-weight: 780;
  font-size: 12px;
}

.product-configurator fieldset {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.product-configurator legend,
.product-configurator label {
  color: var(--ink);
  font-weight: 760;
}

.config-option-grid,
.config-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.size-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.config-option,
.config-check-grid label {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px;
  border: 2px solid rgba(38, 50, 56, 0.18);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.config-option:hover,
.config-check-grid label:hover,
.config-option.active {
  border-color: #263238;
  background: #dff7fb;
  transform: translateY(-1px);
  box-shadow: 0 4px 0 rgba(38, 50, 56, 0.08);
}

.config-option input,
.config-check-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.config-option span,
.config-check-grid span {
  font-family: var(--font-display);
  font-weight: 760;
  white-space: nowrap;
}

.config-option small,
.config-check-grid small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.config-row {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 10px;
}

.config-row label,
.config-note {
  display: grid;
  gap: 7px;
}

.product-configurator input[type="number"],
.product-configurator input[type="text"],
.product-configurator textarea {
  width: 100%;
  min-width: 0;
  border: 2px solid rgba(38, 50, 56, 0.26);
  border-radius: 6px;
  padding: 12px 13px;
  background: #fffaf0;
  color: var(--ink);
  font-family: var(--font-body);
}

.product-configurator input:focus,
.product-configurator textarea:focus {
  border-color: #ff8fa3;
  box-shadow: 0 0 0 4px rgba(255, 143, 163, 0.18);
  outline: 0;
}

.price-breakdown {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 2px solid #263238;
  border-radius: 6px;
  background: #fff;
}

.price-breakdown > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
}

.price-breakdown strong {
  color: #12343b;
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
}

.price-breakdown span {
  color: var(--muted);
  font-weight: 720;
}

.price-breakdown p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.price-breakdown b {
  color: var(--ink);
  white-space: nowrap;
}

.full-payment-button {
  width: 100%;
  min-height: 58px;
}

.full-payment-button:disabled {
  border-color: #9aa3a6;
  background: #e8ecee;
  color: #5e6a6f;
  cursor: not-allowed;
  box-shadow: none;
}

.detail-panel {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.product-detail-accordions {
  padding-top: 0;
}

.product-detail-accordion-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  border-top: 2px solid rgba(38, 50, 56, 0.12);
  border-bottom: 2px solid rgba(38, 50, 56, 0.12);
}

.product-detail-accordion-list .accordion {
  border-bottom: 0;
}

.product-detail-accordion-list .accordion button {
  min-height: 72px;
  padding: 18px 12px;
}

.product-detail-accordion-list .accordion-content {
  padding: 0 12px 18px;
}

.accordion {
  border-bottom: 1px solid var(--line);
}

.accordion button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 18px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 650;
  cursor: pointer;
}

.accordion-content {
  display: none;
  padding: 0 0 18px;
  color: var(--muted);
  line-height: 1.75;
}

.accordion.open .accordion-content {
  display: block;
}

.story-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 32px;
}

.story-copy {
  padding: 24px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-card {
  padding: 22px;
}

.newsletter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  max-width: 1320px;
  margin: 56px auto 0;
  padding: 36px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.newsletter h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.5vw, 38px);
  line-height: 1.16;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 15px 18px;
}

.newsletter-form button {
  border: 2px solid #12343b;
  border-radius: 4px;
  padding: 0 22px;
  background: #42c9d8;
  color: #12343b;
  font-family: var(--font-display);
  font-weight: 740;
  min-height: 54px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.34), 0 5px 0 rgba(18, 52, 59, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.newsletter-form button:hover {
  background: #20afc4;
  transform: translateY(-2px);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.32), 0 7px 0 rgba(18, 52, 59, 0.14);
}

.site-footer {
  background: var(--paper);
}

.footer-brand {
  display: block;
  margin-bottom: 10px;
}

.footer-brand img {
  width: 190px;
  max-width: 100%;
  height: auto;
  display: block;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 30px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 44px 24px;
}

.footer-grid a,
.footer-grid span {
  display: block;
  margin: 10px 0;
  color: var(--muted);
}

.footer-bottom {
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px 24px 34px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.peekaboo-mascot {
  --peek-width: clamp(158px, 13vw, 196px);
  --peek-hidden-x: calc(var(--peek-width) - 44px);
  position: fixed;
  right: 0;
  bottom: clamp(96px, 14vh, 168px);
  z-index: 82;
  width: var(--peek-width);
  transform: translateX(var(--peek-hidden-x));
  pointer-events: none;
  will-change: transform;
}

.peekaboo-mascot.open {
  transform: translateX(0);
}

.peekaboo-trigger {
  position: absolute;
  left: 0;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  min-height: 76px;
  transform: translate(-18px, -50%);
  border: 2px solid rgba(74, 53, 39, 0.28);
  border-right: 0;
  border-radius: 22px 0 0 22px;
  background: linear-gradient(180deg, #fff6a8 0%, #ffd1dc 100%);
  color: var(--logo-ink);
  box-shadow: 0 12px 34px rgba(74, 53, 39, 0.14);
  cursor: pointer;
  pointer-events: auto;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.peekaboo-trigger::after {
  content: "";
  position: absolute;
  inset: -20px -30px -20px -18px;
}

.peekaboo-trigger:hover,
.peekaboo-trigger:focus-visible {
  transform: translate(-20px, -50%) scale(1.02);
  box-shadow: 0 16px 38px rgba(74, 53, 39, 0.18);
}

.peekaboo-trigger:focus-visible {
  outline: 3px solid rgba(119, 211, 228, 0.62);
  outline-offset: 3px;
}

.peekaboo-trigger-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 30px;
  height: 40px;
}

.mark-box {
  position: absolute;
  bottom: 2px;
  width: 27px;
  height: 22px;
  border: 2px solid #5c3b2b;
  border-radius: 7px;
  background:
    linear-gradient(90deg, transparent 38%, #ff776f 38% 62%, transparent 62%),
    linear-gradient(180deg, #ffe58b, #ffc86f);
  box-shadow: inset 0 -3px 0 rgba(92, 59, 43, 0.12);
}

.mark-box::before {
  content: "";
  position: absolute;
  left: -3px;
  top: -10px;
  width: 31px;
  height: 12px;
  border: 2px solid #5c3b2b;
  border-radius: 7px 7px 4px 4px;
  background:
    linear-gradient(90deg, transparent 38%, #ff776f 38% 62%, transparent 62%),
    #ffeeb2;
  transform: rotate(-7deg);
  transform-origin: 20% 100%;
}

.mark-face {
  position: absolute;
  top: 4px;
  width: 22px;
  height: 20px;
  border: 2px solid #5c3b2b;
  border-radius: 50% 50% 46% 46%;
  background: #77d3e4;
  box-shadow: inset -3px -3px 0 rgba(46, 124, 143, 0.14);
}

.mark-face::before,
.mark-face::after {
  content: "";
  position: absolute;
  top: 7px;
  width: 4px;
  height: 5px;
  border-radius: 999px;
  background: #2f241e;
}

.mark-face::before {
  left: 6px;
}

.mark-face::after {
  right: 6px;
}

.peekaboo-card {
  position: relative;
  min-height: 236px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.peekaboo-mascot.open .peekaboo-card {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.peekaboo-stage {
  position: relative;
  min-height: 214px;
  overflow: visible;
  isolation: isolate;
}

.peekaboo-complete-mascot,
.peekaboo-confetti {
  position: absolute;
  pointer-events: none;
}

.peekaboo-complete-mascot {
  left: calc(50% - 78px);
  bottom: -2px;
  z-index: 2;
  display: block;
  width: 156px;
  max-width: none;
  height: auto;
  transform-origin: 50% 88%;
  filter: drop-shadow(0 18px 28px rgba(74, 53, 39, 0.18));
  user-select: none;
  object-fit: contain;
}

.peekaboo-confetti {
  left: 22%;
  top: 10%;
  z-index: 3;
  width: 66%;
  height: 44%;
  opacity: 0;
}

.peekaboo-confetti i {
  position: absolute;
  display: block;
  width: 9px;
  height: 16px;
  border-radius: 999px;
  background: var(--logo-yellow);
  transform: translate(0, 18px) scale(0.8) rotate(0deg);
}

.peekaboo-confetti i:nth-child(1) {
  left: 12%;
  top: 56%;
  background: #ff776f;
}

.peekaboo-confetti i:nth-child(2) {
  left: 30%;
  top: 40%;
  background: #77d3e4;
}

.peekaboo-confetti i:nth-child(3) {
  left: 48%;
  top: 54%;
  background: #fff16f;
}

.peekaboo-confetti i:nth-child(4) {
  left: 64%;
  top: 42%;
  background: #ff9fce;
}

.peekaboo-confetti i:nth-child(5) {
  left: 78%;
  top: 58%;
  background: #74d6a8;
}

.peekaboo-confetti i:nth-child(6) {
  left: 90%;
  top: 46%;
  background: #ffb05c;
}

.peekaboo-bubble {
  position: absolute;
  right: 12px;
  bottom: -84px;
  z-index: 2;
  display: grid;
  gap: 8px;
  width: 136px;
  padding: 9px 10px;
  border: 1px solid rgba(74, 53, 39, 0.16);
  border-radius: 18px 18px 4px 18px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 14px 34px rgba(74, 53, 39, 0.16);
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  transform-origin: right bottom;
  pointer-events: auto;
}

.peekaboo-mascot.open .peekaboo-bubble {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.peekaboo-bubble strong {
  color: var(--logo-ink);
  font-size: 13px;
  line-height: 1.25;
}

.peekaboo-mascot {
  --peek-width: min(390px, calc(100vw - 22px));
  --peek-hidden-x: calc(100% - 66px);
  right: 0;
  bottom: clamp(16px, 2.4vh, 26px);
  width: var(--peek-width);
  transform: translateX(var(--peek-hidden-x));
}

.peekaboo-mascot.open {
  transform: translateX(0);
}

.peekaboo-trigger {
  left: 0;
  right: auto;
  top: 50%;
  z-index: 1;
  width: 66px;
  min-height: 74px;
  transform: translate(0, -50%);
  border: 2px solid #5c3b2b;
  border-right: 0;
  border-radius: 22px 0 0 22px;
  background: linear-gradient(180deg, #fff6a8 0%, #ffd1dc 100%);
  box-shadow: 0 16px 36px rgba(74, 53, 39, 0.16);
  touch-action: none;
  will-change: transform, opacity;
}

.peekaboo-trigger::after {
  inset: -24px 0 -24px -42px;
}

.peekaboo-trigger:hover,
.peekaboo-trigger:focus-visible {
  transform: translate(-4px, -50%) scale(1.01);
}

.peekaboo-mascot.open .peekaboo-trigger {
  pointer-events: none;
}

.peekaboo-trigger-mark {
  width: 38px;
  height: 48px;
}

.peekaboo-trigger-mark .mark-box {
  width: 33px;
  height: 27px;
}

.peekaboo-trigger-mark .mark-box::before {
  width: 37px;
  height: 14px;
}

.peekaboo-trigger-mark .mark-face {
  width: 27px;
  height: 24px;
}

.peekaboo-card {
  min-height: 0;
  pointer-events: none;
}

.peekaboo-mascot.open .peekaboo-card {
  pointer-events: auto;
}

.peekaboo-panel {
  width: min(100%, 386px);
  margin-left: auto;
  margin-right: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: min(94dvh, 920px);
  max-height: min(94dvh, 920px);
  border: 2px solid #263238;
  border-radius: 10px 0 0 10px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(38, 50, 56, 0.18);
  overflow: hidden;
  will-change: transform, opacity;
}

.peekaboo-hero {
  display: grid;
  grid-template-columns: 162px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 164px;
  padding: 14px 16px 12px;
  background: linear-gradient(135deg, #70d5e6 0%, #ff9aa6 100%);
  overflow: hidden;
}

.peekaboo-stage {
  width: 162px;
  height: 150px;
  min-height: 150px;
  transform-origin: 52% 76%;
  will-change: transform;
  overflow: visible;
}

.peekaboo-complete-mascot {
  left: 4px;
  bottom: -2px;
  z-index: 2;
  width: 154px;
  height: auto;
}

.peekaboo-confetti {
  left: 26px;
  top: 2px;
  z-index: 6;
  width: 120px;
  height: 80px;
}

.peekaboo-welcome {
  display: grid;
  gap: 6px;
  color: #12343b;
}

.peekaboo-welcome strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 760;
  line-height: 1.15;
}

.peekaboo-welcome span {
  font-size: 14px;
  line-height: 1.55;
  font-weight: 650;
}

.peekaboo-bubble {
  position: static;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto auto auto;
  gap: 10px;
  width: auto;
  min-height: 0;
  overflow: hidden;
  padding: 14px;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  opacity: 1;
  transform: none;
}

.peekaboo-mascot.open .peekaboo-bubble {
  opacity: 1;
  transform: none;
}

.peekaboo-chat-log {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 0;
  max-height: none;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 143, 163, 0.68) transparent;
}

.peekaboo-chat-log p {
  max-width: 88%;
  margin: 0;
  padding: 9px 11px;
  border-radius: 8px;
  color: #263238;
  font-size: 13px;
  line-height: 1.45;
}

.peekaboo-chat-log .assistant-message {
  justify-self: start;
  background: #dff7fb;
}

.peekaboo-chat-log .user-message {
  justify-self: end;
  background: #ffe27a;
}

.assistant-divider {
  height: 1px;
  margin: 2px 0 0;
  background: linear-gradient(90deg, transparent, #ff8fa3 18%, #ff8fa3 82%, transparent);
  opacity: 0.9;
}

.faq-drawer {
  display: grid;
  gap: 0;
  position: relative;
  z-index: 12;
}

.faq-drawer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 52px;
  height: 18px;
  pointer-events: auto;
  z-index: 1;
}

.faq-drawer-toggle {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  border: 2px solid #263238;
  border-radius: 4px;
  background: #fff8fb;
  color: #263238;
  padding: 0 12px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 760;
  cursor: pointer;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.58);
}

.faq-drawer-toggle small {
  color: #8f7f7a;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 760;
}

.faq-drawer-panel {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: calc(100% + 8px);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  border: 2px solid #263238;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(38, 50, 56, 0.16);
  will-change: max-height, opacity, transform;
}

.faq-drawer[data-faq-open="true"] .faq-drawer-panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.instant-answers,
.faq-question-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  max-height: 196px;
  overflow-y: auto;
  padding: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 143, 163, 0.68) transparent;
}

.faq-question,
.peekaboo-upload,
.peekaboo-input-form button {
  border: 2px solid #263238;
  border-radius: 4px;
  color: #263238;
  font-family: var(--font-display);
  font-weight: 730;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 36px;
  overflow: hidden;
  padding: 7px 9px;
  background: #fff;
  font-size: 12px;
  line-height: 1.25;
  text-align: left;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.faq-question-title {
  display: block;
  flex: 0 0 auto;
}

.faq-question-answer {
  display: block;
  flex: 1;
  color: rgba(38, 50, 56, 0.76);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.35;
  text-align: right;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.faq-question:hover,
.faq-question:focus-visible,
.faq-question:focus-within {
  border-color: #ff8fa3;
  background: #fff8fb;
}

.faq-question:hover .faq-question-answer,
.faq-question:focus-visible .faq-question-answer,
.faq-question:focus-within .faq-question-answer {
  opacity: 1;
  transform: translateX(0);
}

.faq-drawer-toggle:hover,
.faq-question:hover,
.peekaboo-upload:hover,
.peekaboo-input-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 0 rgba(38, 50, 56, 0.1);
}

.peekaboo-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  flex-shrink: 0;
}

.peekaboo-upload,
.peekaboo-custom {
  min-height: 44px;
  width: 100%;
  padding: 0 12px;
  white-space: nowrap;
  font-size: 13px;
}

.peekaboo-actions > button {
  width: 100%;
  min-height: 44px;
}

.peekaboo-upload {
  background: #ffe27a;
}

.peekaboo-custom {
  grid-column: 1 / -1;
  border-color: #12343b;
  background: #42c9d8;
  color: #12343b;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.32), 0 5px 0 rgba(18, 52, 59, 0.1);
}

.peekaboo-input-form {
  position: relative;
  bottom: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 68px;
  gap: 8px;
  min-height: 56px;
  padding-top: 2px;
  background: #fff;
  flex-shrink: 0;
}

.peekaboo-input-form input {
  min-width: 0;
  min-height: 42px;
  border: 2px solid rgba(38, 50, 56, 0.34);
  border-radius: 6px;
  padding: 0 12px;
  background: #fffaf0;
  color: #263238;
  font-family: var(--font-body), "LXGW WenKai", "MiSans Rounded", "Resource Han Rounded", sans-serif;
  font-size: 14px;
  font-weight: 560;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.72);
}

.peekaboo-input-form input::placeholder {
  color: #8f7f7a;
  font-family: var(--font-body), "LXGW WenKai", "MiSans Rounded", "Resource Han Rounded", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  opacity: 1;
}

.peekaboo-input-form input:focus {
  outline: 0;
  border-color: #ff8fa3;
  background: #fffaf0;
  box-shadow: 0 0 0 4px rgba(255, 143, 163, 0.18), inset 0 2px 0 rgba(255, 255, 255, 0.76);
}

.peekaboo-input-form button {
  min-height: 42px;
  background: #42c9d8;
}

.toast-region {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  gap: 10px;
  pointer-events: none;
}

.gift-toast {
  min-width: min(320px, calc(100vw - 44px));
  padding: 14px 18px;
  border: 1px solid rgba(232, 217, 207, 0.9);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.96);
  color: var(--ink);
  box-shadow: 0 18px 52px rgba(87, 67, 48, 0.14);
  backdrop-filter: blur(14px);
  font-weight: 800;
}

.gift-toast small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-weight: 700;
}

.motion-ready .story-panel > *,
.motion-ready .story-scene img,
.motion-ready .tile,
.motion-ready .product-card,
.motion-ready .info-card,
.motion-ready .story-image {
  will-change: transform, opacity;
}

@media (min-width: 1200px) {
  .story-showcase {
    grid-template-columns: var(--story-copy-width) var(--story-image-width);
  }

  .story-showcase.reverse {
    grid-template-columns: var(--story-image-width) var(--story-copy-width);
  }
}

@media (max-width: 1180px) and (min-width: 901px) {
  .story-panel {
    padding: 56px 42px;
  }

  .story-panel h2 {
    font-size: clamp(32px, 4vw, 44px);
  }
}

@media (max-width: 1040px) and (min-width: 901px) {
  .tile-grid,
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .utility-row {
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    padding: 18px 18px 16px;
  }

  .header-search {
    display: none;
  }

  .icon-button {
    display: inline-flex;
  }

  .brand {
    justify-self: start;
  }

  .brand-mascot,
  .brand-mascot img {
    width: 45px;
    height: 45px;
  }

  .brand-mascot::before,
  .brand-mascot::after {
    display: none;
  }

  .header-icons {
    gap: 10px;
    font-size: 24px;
  }

  .language-toggle {
    grid-template-columns: repeat(2, 38px);
    padding: 2px;
  }

  .language-toggle button {
    min-height: 28px;
    font-size: 11px;
  }

  .header-custom {
    min-height: 38px;
    padding: 0 13px;
    font-size: 13px;
  }

  .mobile-search {
    display: inline-flex;
  }

  .header-icon:nth-child(2),
  .header-icon:nth-child(3) {
    display: none;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    gap: 4px;
    align-items: stretch;
    padding: 12px 24px 20px;
  }

  .main-nav.open {
    display: flex;
  }

  .mega-menu {
    display: none !important;
  }

  .search-overlay {
    top: var(--search-offset, 78px);
    height: calc(100dvh - var(--search-offset, 78px));
    padding: 0;
  }

  .search-panel {
    grid-template-columns: 1fr;
    height: 100%;
    min-height: 0;
    overflow-y: auto;
  }

  .search-popular,
  .search-filters,
  .search-products {
    padding: 22px 20px;
    overflow: visible;
  }

  .search-popular {
    max-height: 32dvh;
    overflow-y: auto;
  }

  .search-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px;
  }

  .hero,
  .joy-hero-copy,
  .joy-campaign,
  .joy-story-split,
  .story-split,
  .product-detail,
  .newsletter,
  .promo-video-section,
  .upload-contact-section,
  .service-story-section,
  .pricing-hero,
  .accessory-layout,
  .shipping-section,
  .quote-upload-section,
  .full-payment-section,
  .wechat-contact-section,
  .story-showcase,
  .story-showcase.reverse {
    grid-template-columns: 1fr;
  }

  .product-detail {
    --purchase-header-offset: 82px;
    gap: 24px;
    padding-bottom: 96px;
  }

  .product-gallery-layout {
    grid-template-columns: 1fr;
  }

  .vertical-thumbs {
    position: static;
    order: 2;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .gallery-main {
    order: 1;
  }

  .gallery-main img {
    aspect-ratio: 1 / 0.94;
  }

  .product-purchase-column {
    position: static;
    height: auto;
    display: block;
    overflow: visible;
  }

  .product-purchase-column::before,
  .product-purchase-column::after,
  .product-purchase-footer {
    display: none;
  }

  .product-purchase-scroll {
    overflow: visible;
    padding: 22px 18px;
  }

  .product-detail-accordion-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .mobile-purchase-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 65;
    display: grid;
    grid-template-columns: minmax(82px, 0.42fr) minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 2px solid #263238;
    border-radius: 8px;
    background: rgba(255, 253, 246, 0.96);
    box-shadow: 0 14px 34px rgba(38, 50, 56, 0.18);
  }

  .mobile-purchase-bar strong {
    color: #12343b;
    font-family: var(--font-display);
    font-size: 22px;
    line-height: 1;
  }

  .mobile-purchase-bar .button {
    min-height: 50px;
    padding-inline: 14px;
    white-space: nowrap;
  }

  .mobile-purchase-actions {
    display: grid;
    grid-template-columns: minmax(76px, 0.52fr) minmax(116px, 1fr);
    gap: 8px;
    min-width: 0;
  }

  .price-card-grid,
  .notice-section,
  .workflow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .notice-card.main {
    grid-column: 1 / -1;
  }

  .conversion-actions {
    width: 100%;
  }

  .conversion-actions .button,
  .conversion-actions .upload-shortcut {
    min-width: min(100%, 220px);
  }

  .conversion-scene-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-showcase.reverse .story-panel,
  .story-showcase.reverse .story-scene {
    order: initial;
  }

  .story-panel {
    height: auto;
    min-height: 360px;
    padding: 52px 24px 44px;
    width: 100%;
  }

  .story-scene {
    height: clamp(360px, 92vw, 520px);
    min-height: 0;
    width: 100%;
  }

  .story-scene img {
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
  }

  .tile-grid,
  .product-grid,
  .joy-feature-tiles,
  .joy-collection-grid,
  .joy-product-strip,
  .joy-social-grid,
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .joy-hero {
    padding: 18px 0 10px;
  }

  .joy-hero > img {
    aspect-ratio: 1 / 0.94;
    object-position: center;
  }

  .joy-hero-copy {
    padding: 26px 18px 10px;
  }

  .joy-hero-copy .eyebrow,
  .joy-hero-copy .joy-primary {
    grid-column: 1 / -1;
  }

  .joy-feature-tiles,
  .joy-recommendations,
  .joy-social,
  .joy-campaign,
  .joy-story-split {
    padding-left: 18px;
    padding-right: 18px;
  }

  .joy-story-split {
    min-height: 0;
    margin-bottom: 64px;
    background: transparent;
  }

  .joy-story-copy {
    min-height: auto;
    padding: 36px 26px 30px;
    background: #fff7dc;
  }

  .joy-story-copy h2,
  .joy-story-copy p:not(.eyebrow) {
    max-width: 100%;
  }

  .joy-story-button {
    width: 100%;
    max-width: 380px;
  }

  .joy-story-dots {
    position: static;
    margin-top: 10px;
  }

  .joy-story-image {
    min-height: 0;
  }

  .joy-story-image img {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .joy-product img {
    height: 230px;
  }

  .section-header,
  .toolbar {
    align-items: start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .peekaboo-mascot {
    --peek-width: min(360px, calc(100vw - 14px));
    --peek-hidden-x: calc(100% - 76px);
    bottom: 8px;
  }

  .peekaboo-trigger {
    width: 76px;
    min-height: 86px;
    transform: translate(0, -50%);
  }

  .peekaboo-trigger:hover,
  .peekaboo-trigger:focus-visible {
    transform: translate(-4px, -50%) scale(1.01);
  }

  .peekaboo-trigger-mark {
    transform: scale(0.86);
  }

  .peekaboo-panel {
    width: min(100%, 354px);
    height: min(88dvh, 760px);
    max-height: min(88dvh, 760px);
  }

  .peekaboo-hero {
    grid-template-columns: 112px 1fr;
    min-height: 146px;
    padding: 12px 14px;
  }

  .peekaboo-stage {
    width: 112px;
    height: 118px;
    min-height: 118px;
  }

  .peekaboo-complete-mascot {
    left: 3px;
    bottom: 0;
    width: 106px;
    height: auto;
  }

.instant-answers {
    grid-template-columns: 1fr;
  }

  .peekaboo-chat-log {
    min-height: 0;
    max-height: none;
  }

  .faq-drawer-panel {
    bottom: calc(100% + 6px);
  }

  .faq-question-list {
    max-height: 156px;
  }
}

@media (max-width: 560px) {
  body,
  .page,
  .joy-story-split,
  .joy-story-copy,
  .joy-story-image,
  .story-showcase,
  .story-panel,
  .story-scene {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .tile-grid,
  .product-grid,
  .joy-feature-tiles,
  .joy-collection-grid,
  .conversion-scene-grid,
  .joy-product-strip,
  .joy-social-grid,
  .info-grid,
  .price-card-grid,
  .notice-section,
  .workflow-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .section,
  .collection-hero,
  .simple-hero,
  .product-detail,
  .story-panel {
    padding-left: 16px;
    padding-right: 16px;
  }

  .chapter-grid-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .joy-hero-copy {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .joy-hero-copy h1 {
    max-width: 340px;
    font-size: clamp(32px, 10vw, 42px);
    line-height: 1.18;
    overflow-wrap: anywhere;
  }

  .joy-hero-copy p:not(.eyebrow) {
    max-width: 340px;
    font-size: 16px;
    overflow-wrap: anywhere;
  }

  .joy-primary {
    width: 100%;
    min-height: 52px;
    font-size: 18px;
  }

  .header-custom {
    padding: 0 10px;
    font-size: 12px;
  }

  .header-icons {
    gap: 8px;
  }

  .conversion-actions {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: stretch;
    max-width: 340px;
  }

  .conversion-actions .button,
  .conversion-actions .upload-shortcut {
    width: 100%;
  }

  .upload-demo {
    grid-template-columns: 1fr;
  }

  .service-story-section,
  .pricing-reference-section,
  .accessory-pricing-section,
  .notice-section,
  .shipping-section,
  .quote-upload-section,
  .full-payment-section,
  .wechat-contact-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .pricing-hero,
  .notice-card,
  .wechat-action-card {
    padding: 18px;
  }

  .workflow-card {
    min-height: 0;
    padding: 14px;
  }

  .workflow-card span {
    width: 28px;
    height: 28px;
  }

  .price-plan-card p {
    min-height: 0;
  }

  .accessory-price-list article {
    display: grid;
  }

  .wechat-line {
    width: 100%;
  }

  .custom-modal {
    padding: 12px;
    align-items: end;
  }

  .custom-dialog {
    max-height: calc(100dvh - 24px);
  }

  .payment-panel {
    padding: 12px;
  }

  .payment-dialog {
    grid-template-columns: 1fr;
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
  }

  .joy-feature-tiles {
    gap: 38px;
    padding-bottom: 58px;
  }

  .joy-story-split {
    padding-left: 16px;
    padding-right: 16px;
    margin-bottom: 54px;
  }

  .joy-story-copy {
    gap: 18px;
    padding: 28px 20px 24px;
  }

  .joy-story-copy h2 {
    font-size: clamp(24px, 7vw, 32px);
  }

  .joy-story-copy p:not(.eyebrow) {
    font-size: 16px;
    line-height: 1.68;
  }

  .joy-story-button {
    min-height: 58px;
    font-size: 18px;
  }

  .joy-story-dots span,
  .story-dots button {
    width: 13px;
    height: 13px;
  }

  .joy-story-image img {
    aspect-ratio: 1 / 0.78;
  }

  .joy-title {
    gap: 12px;
    margin-bottom: 44px;
  }

  .joy-collection-grid {
    max-width: 260px;
    gap: 34px;
    margin-bottom: 44px;
  }

  .joy-recommendation-heading {
    margin-bottom: 38px;
  }

  .joy-product img {
    height: 250px;
  }

  .joy-product h3 {
    min-height: 0;
  }

  .joy-campaign {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 58px;
  }

  .joy-campaign img {
    aspect-ratio: 1 / 0.65;
  }

  .joy-social h2 {
    font-size: clamp(24px, 7vw, 32px);
    margin-bottom: 34px;
  }

  .story-panel h2 {
    font-size: clamp(26px, 7vw, 32px);
    width: min(100%, 340px);
    max-width: min(100%, 340px);
    word-break: break-all;
  }

  .story-panel p:not(.eyebrow) {
    font-size: 16px;
    width: min(100%, 340px);
    max-width: min(100%, 340px);
    line-height: 1.8;
    word-break: break-all;
  }

  .story-button {
    width: min(100%, 340px);
    max-width: min(100%, 340px);
    min-width: 0;
    padding-left: 14px;
    padding-right: 14px;
  }

  .story-controls {
    width: min(100%, 340px);
    justify-content: center;
    gap: 16px;
  }

  .story-scene {
    height: clamp(360px, 92vw, 520px);
    min-height: 0;
  }

  .story-scene img {
    height: 100%;
    aspect-ratio: auto;
    object-position: center;
  }

  .tile-body {
    min-height: auto;
  }

  .brand strong {
    font-size: 18px;
  }

  .hero-copy h1,
  .collection-hero h1,
  .simple-hero h1,
  .intro-band h1 {
    font-size: clamp(26px, 7.6vw, 34px);
    line-height: 1.16;
  }

  .product-selection-hero h1 {
    font-size: clamp(28px, 8vw, 36px);
    line-height: 1.14;
  }

  .about-hero .hero-copy h1 {
    font-size: clamp(28px, 8.8vw, 40px);
    line-height: 1.14;
  }

  .section-header h2,
  .story-copy h2,
  .product-info h1 {
    font-size: clamp(28px, 9vw, 38px);
    line-height: 1.15;
  }

  .cart-link {
    font-size: 12px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .toast-region {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .gift-toast {
    min-width: 0;
    width: 100%;
  }

  .peekaboo-mascot {
    --peek-width: min(336px, calc(100vw - 10px));
    --peek-hidden-x: calc(100% - 72px);
    bottom: 86px;
  }

  .peekaboo-trigger {
    width: 72px;
  }

  .peekaboo-trigger-mark {
    transform: scale(0.78);
  }

  .peekaboo-panel {
    width: min(100%, 330px);
  }

  .peekaboo-hero {
    grid-template-columns: 112px 1fr;
  }

  .peekaboo-welcome strong {
    font-size: 20px;
  }

  .peekaboo-welcome span {
    font-size: 12px;
  }

  .peekaboo-actions,
  .peekaboo-input-form {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gift-button::after,
  .button::after,
  .small-button::after,
  .newsletter-form button::after,
  .peekaboo-mascot,
  .peekaboo-trigger,
  .peekaboo-complete-mascot,
  .peekaboo-confetti,
  .peekaboo-bubble,
  .peekaboo-panel,
  .peekaboo-chat-log p,
  .instant-answers button,
  .peekaboo-upload,
  .peekaboo-input-form,
  .story-button::after,
  .story-button::before {
    transition: none !important;
    animation: none !important;
  }

  .tile,
  .product-card,
  .tile img,
  .product-card img,
  .badge,
  .story-button,
  .peekaboo-mascot,
  .peekaboo-trigger,
  .peekaboo-complete-mascot,
  .peekaboo-confetti,
  .peekaboo-bubble,
  .peekaboo-panel,
  .button,
  .small-button {
    transition: none;
  }
}

