@font-face {
  font-family: "LXGW WenKai";
  src: url('../song-elegance/fonts/LXGWWenKai-Regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: block;
}
:root {
  --display: "LXGW WenKai", "Kaiti SC", "KaiTi", "STKaiti", serif;
  --body: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --duration: 180ms;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; min-width: 0; background: var(--paper); color: var(--ink); font: 18px / 1.8 var(--body); letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; text-underline-offset: 6px; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 400; font-synthesis: none; }
h2 { font-size: 38px; line-height: 1.55; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
.wrap { width: min(1248px, calc(100% - 128px)); margin-inline: auto; }
.skip-link { position: fixed; left: 24px; top: 12px; z-index: 10; padding: 12px 24px; background: var(--paper); transform: translateY(-200%); opacity: 0; pointer-events: none; }
.skip-link:focus { transform: none; opacity: 1; pointer-events: auto; }
.icon { display: inline-block; width: 20px; height: 20px; flex: 0 0 20px; background: center / contain no-repeat; }
.icon-arrow { background-image: url('../song-elegance/icon-arrow.svg'); }
.icon-bag { background-image: url('../song-elegance/icon-bag.svg'); }
.icon-user { background-image: url('../song-elegance/icon-user.svg'); }
.icon-close { background-image: url('../song-elegance/icon-close.svg'); }
.primary .icon { filter: invert(1); }
.site-header { height: 104px; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.brand { display: inline-block; flex-shrink: 0; }
.brand img { width: 120px; height: auto; }
.site-header nav { display: flex; align-items: center; gap: 48px; margin-left: 90px; }
.site-header nav a { padding: 12px 4px; font-size: 18px; }
.header-actions { display: flex; align-items: center; gap: 24px; }
.icon-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.eyebrow { font-size: 16px; font-weight: 500; color: var(--wood-ink); line-height: 1.8; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 52px; padding: 12px 24px; border: 1px solid var(--ink); border-radius: 4px; font-size: 18px; white-space: nowrap; }
.primary { background: var(--ink); color: var(--paper); }
.secondary { background: transparent; color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; padding: 8px 0; background: transparent; border: 0; border-bottom: 1px solid var(--wood); font-size: 18px; }
.hero { position: relative; height: 720px; overflow: hidden; isolation: isolate; background: var(--silk); }
.hero-room { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; }
.hero-painting { position: absolute; inset: 0 auto 0 0; z-index: -2; width: 56%; background: url('../song-elegance/landscape-scroll.png') center / cover; opacity: 0.91; mask-image: linear-gradient(90deg, #000 0%, #000 58%, transparent 100%); }
.hero-inner { position: relative; height: 100%; }
.hero-copy { position: absolute; left: 48px; top: 100px; width: 420px; }
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero h1 { font-size: 82px; line-height: 1.2; letter-spacing: 0.02em; margin-bottom: 24px; }
.hero-poem { font: 400 38px / 1.6 var(--display); font-synthesis: none; margin-bottom: 20px; }
.hero-caption { font-size: 18px; color: var(--ink); }
.hero-actions { display: flex; gap: 28px; align-items: center; margin-top: 32px; }
.hero-rail { position: absolute; left: 48px; top: 156px; writing-mode: vertical-rl; font: 18px / 1.4 var(--display); color: var(--wood-ink); padding-top: 48px; border-top: 1px solid var(--wood); }
/* Only the studio backdrop is clipped. Original branded pixels are not retouched. */
.hero-gift { position: absolute; width: 660px; height: 660px; object-fit: contain; right: 104px; bottom: 30px; clip-path: polygon(26.16% 8.05%, 73.45% 8.05%, 71.4% 12.76%, 72.82% 12.36%, 96.6% 13.7%, 97.7% 17.5%, 95.6% 40.8%, 98.8% 53.2%, 95.55% 76.75%, 82.2% 84.3%, 67.4% 84.3%, 67.2% 87.2%, 63.7% 87.2%, 63.7% 84.2%, 49% 83.8%, 33.6% 83.2%, 33.1% 85.8%, 29.8% 85.8%, 30.4% 83.1%, 16.6% 82.7%, 15.6% 76.4%, 4.3% 76.1%, 0.85% 53.2%, 4.55% 40.8%, 2.32% 17.5%, 3.35% 13.8%, 26.8% 12.36%); pointer-events: none; }
.hero-caption-line { position: absolute; bottom: 24px; inset-inline: 96px; display: flex; justify-content: space-between; font-size: 16px; color: var(--ink); }
.hero-caption-line a { display: inline-flex; gap: 20px; align-items: center; min-height: 44px; }
.story { position: relative; isolation: isolate; background: var(--silk); border-bottom: 1px solid var(--line); }
.story::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('../song-elegance/landscape-scroll.png') right bottom / 100% auto no-repeat; opacity: 0.32; pointer-events: none; }
.story-layout { position: relative; display: grid; grid-template-columns: 56px 280px 1fr 80px; gap: 56px; align-items: center; min-height: 500px; padding-block: 64px; }
.section-rail { display: flex; flex-direction: row; align-items: center; gap: 28px; writing-mode: vertical-rl; color: var(--wood-ink); font: 18px / 1.5 var(--display); justify-self: start; }
.section-rail span { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--wood); border-radius: 50%; font-size: 16px; }
.tea-window { position: relative; width: 280px; }
.tea-window img { width: 280px; height: 320px; object-fit: cover; object-position: 95% center; border-radius: 140px 140px 0 0; border: 6px solid var(--paper); outline: 1px solid var(--gold); }
.tea-window figcaption { font-family: var(--display); margin-top: 20px; color: var(--wood-ink); text-align: center; font-size: 18px; }
.story-copy { align-self: center; padding-left: 8px; }
.story-copy .eyebrow { margin-bottom: 14px; }
.story-copy h2 { margin-bottom: 20px; font-size: 40px; line-height: 1.5; letter-spacing: 0.01em; }
.story-copy > p:not(.eyebrow) { color: var(--ink); margin-bottom: 24px; line-height: 1.95; }
.story-colophon { align-self: start; justify-self: end; margin-top: 40px; writing-mode: vertical-rl; font: 21px / 2.4 var(--display); color: var(--wood-ink); }
.collection { padding-block: 88px 72px; }
.collection-heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 48px; }
.collection-heading .eyebrow { margin-bottom: 12px; }
.collection-heading h2 { font-size: 44px; line-height: 1.5; letter-spacing: 0.01em; }
.collection-intro { padding-bottom: 8px; color: var(--muted); }
.data-note { font-size: 16px; margin-top: 8px; color: var(--wood-ink); }
.gift-gallery { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; }
.product-image { position: relative; display: block; border: 0; padding: 0; width: 100%; background: var(--celadon); overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: contain; }
.main-image { height: 520px; background: var(--song-paper-secondary); }
.image-index { position: absolute; left: 20px; bottom: 16px; font-size: 16px; color: var(--wood-ink); background: var(--paper); padding: 3px 10px; }
.main-product-info { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.product-caption { color: var(--wood-ink); font-size: 16px; margin-bottom: 4px; }
.product-title { background: none; border: 0; padding: 3px 0; min-height: 44px; text-align: left; font: 500 24px / 1.5 var(--body); }
.price { font-size: 22px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.price span { font-size: 16px; font-weight: 400; color: var(--wood-ink); margin-left: 8px; }
.gallery-side { display: grid; align-content: start; gap: 36px; padding-top: 48px; }
.gallery-small { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: center; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.gallery-small .product-image { height: 220px; background: var(--celadon); }
.small-product-info .product-title { font-size: 21px; }
.small-product-info .price { font-size: 22px; }
.small-product-info .price span { display: block; margin: 0; }
.small-product-info .text-link { margin-top: 14px; }
.gallery-footnote { font: 22px / 1.8 var(--display); color: var(--wood-ink); padding-left: 12px; }
.collection-all { display: flex; width: fit-content; margin: 40px auto 0; }
.gifting { background: var(--celadon); border-top: 1px solid var(--song-border); border-bottom: 1px solid var(--song-border); }
.gifting-layout { position: relative; display: grid; grid-template-columns: 56px 1fr 470px 48px; align-items: center; gap: 56px; padding-block: 56px; }
.gifting-copy .eyebrow { margin-bottom: 16px; }
.gifting-copy h2 { font-size: 46px; line-height: 1.5; letter-spacing: 0.01em; margin-bottom: 20px; }
.gifting-copy > p:not(.eyebrow) { font-size: 18px; line-height: 1.9; margin-bottom: 28px; color: var(--muted); }
.gifting-photo img { width: 470px; height: 390px; object-fit: contain; background: var(--song-celadon); }
.gifting-photo figcaption { display: flex; justify-content: space-between; margin-top: 16px; color: var(--wood-ink); font: 18px / 1.8 var(--display); }
.gifting-note { writing-mode: vertical-rl; font: 20px / 2.4 var(--display); color: var(--wood-ink); }
.footer-main { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 64px; padding-block: 56px 40px; }
.footer-brand p { color: var(--muted); margin-top: 18px; }
.site-footer h2 { font: 500 18px / 1.6 var(--body); margin-bottom: 16px; }
.site-footer div > a:not(.brand) { display: flex; align-items: center; min-height: 44px; width: fit-content; color: var(--muted); }
.footer-saying { justify-self: end; }
.footer-saying p { font: 26px / 1.65 var(--display); margin-bottom: 16px; }
.footer-saying span { font-size: 16px; color: var(--wood-ink); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-block: 24px; border-top: 1px solid var(--line); font-size: 16px; color: var(--wood-ink); }
.footer-bottom a { min-height: 44px; display: inline-flex; align-items: center; }
button, a { transition: color var(--duration), background-color var(--duration), border-color var(--duration), box-shadow var(--duration); }
button:active, .button:active { box-shadow: inset 0 0 0 2px var(--gold); }
@media (hover: hover) and (pointer: fine) {
  .primary:hover { background: var(--song-action-hover); border-color: var(--song-action-hover); }
  .secondary:hover { background: var(--ink); color: var(--paper); }
  .secondary:hover .icon { filter: invert(1); }
  .text-link:hover, .product-title:hover, nav a:hover, .site-footer a:hover { color: var(--song-action-hover); text-decoration: underline; }
  .product-image:hover { box-shadow: inset 0 0 0 2px var(--wood); }
  .icon-link:hover { color: var(--wood-ink); }
}
@media (max-width: 1250px) {
  .header-inner { gap: 32px; }
  .site-header nav { margin-left: 0; gap: 32px; }
  .hero-copy { left: 16px; width: 350px; }
  .hero-gift { width: 640px; height: 640px; right: 12px; bottom: 12px; }
  .hero-rail { left: 24px; }
  .story-layout { grid-template-columns: 40px 240px 1fr; gap: 40px; }
  .tea-window, .tea-window img { width: 240px; }
  .story-colophon { display: none; }
  .gifting-layout { grid-template-columns: 40px 1fr 420px; gap: 40px; }
  .gifting-note { display: none; }
}
/* Responsive exploration: all changes remain in this static concept. */
.menu-toggle, .menu-heading { display: none; }
button, a { -webkit-tap-highlight-color: var(--song-tap-highlight); }
button, a, h1, h2, p { overflow-wrap: break-word; }
.product-title { max-width: 100%; }
@media (max-width: 1240px) and (min-width: 901px) {
  .wrap { width: calc(100% - 80px); }
  .header-inner { gap: 24px; }
  .site-header nav { gap: 24px; }
  .header-actions { gap: 16px; }
  .hero-copy { left: 16px; width: 370px; }
  .hero h1 { font-size: 76px; }
  .hero-poem { font-size: 34px; }
  .hero-gift { width: 56vw; height: 56vw; right: 8px; bottom: 44px; }
  .hero-rail { display: none; }
  .hero-painting { width: 65%; }
  .hero-caption-line { inset-inline: 40px; }
  .story-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 48px; }
  .story .section-rail { display: none; }
  .tea-window, .tea-window img { width: 220px; }
  .story-copy h2 { font-size: 36px; }
  .collection-heading { gap: 32px; }
  .collection-heading h2 { font-size: 38px; }
  .collection-intro { max-width: 350px; }
  .gift-gallery { gap: 32px; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .main-image { height: 430px; }
  .main-product-info { align-items: start; flex-direction: column; }
  .gallery-small { gap: 18px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .gallery-small .product-image { height: auto; aspect-ratio: 1; }
  .small-product-info .product-title { font-size: 20px; }
  .gifting-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
  .gifting .section-rail { display: none; }
  .gifting-copy h2 { font-size: 42px; }
  .gifting-photo img { width: 100%; height: 360px; }
  .footer-main { gap: 32px; }
}
@media (max-width: 900px) {
  .wrap { width: calc(100% - 64px); }
  .site-header { height: 96px; position: relative; z-index: 5; }
  .header-inner { gap: 20px; }
  .brand img { width: 112px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 88px; min-height: 48px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 4px; background: transparent; font-size: 18px; margin-left: auto; }
  .menu-symbol { width: 19px; height: 14px; border-block: 2px solid currentColor; position: relative; }
  .menu-symbol::after { content: ''; position: absolute; top: 4px; left: 0; width: 19px; border-top: 2px solid currentColor; }
  .menu-toggle[aria-expanded="true"] .menu-symbol { border: 0; height: 20px; background: url('../song-elegance/icon-close.svg') center / contain; }
  .menu-toggle[aria-expanded="true"] .menu-symbol::after { display: none; }
  .site-header nav { display: none; position: absolute; top: 100%; inset-inline: 0; margin: 0; padding: 24px 32px 28px; background: var(--paper); border-bottom: 1px solid var(--wood); box-shadow: var(--song-menu-shadow); }
  .site-header nav.is-open { display: grid; gap: 4px; }
  .menu-heading { display: block; color: var(--wood-ink); font-size: 16px; padding-bottom: 8px; }
  .site-header nav a { font-size: 19px; min-height: 52px; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .header-actions { gap: 20px; }
  .icon-link { min-height: 48px; min-width: 48px; justify-content: center; }
  .header-actions .icon-user, .header-actions .icon-bag { width: 22px; height: 22px; flex-basis: 22px; }
  .hero { height: 700px; }
  .hero-copy { top: 64px; left: 0; width: 360px; }
  .hero h1 { font-size: 68px; }
  .hero-poem { font-size: 32px; }
  .hero-gift { width: 470px; height: 470px; right: 8px; bottom: 30px; }
  .hero-painting { width: 90%; }
  .hero-rail { display: none; }
  .hero-caption-line { inset-inline: 32px; bottom: 12px; }
  .hero-actions { gap: 20px; }
  .story-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 40px; padding-block: 56px; min-height: 440px; }
  .section-rail, .story-colophon, .gifting-note { display: none; }
  .tea-window, .tea-window img { width: 200px; }
  .tea-window img { height: 280px; }
  .story-copy { padding: 0; }
  .story-copy h2 { font-size: 32px; line-height: 1.6; }
  .collection { padding-block: 64px; }
  .collection-heading { align-items: start; flex-direction: column; gap: 20px; margin-bottom: 32px; }
  .collection-heading h2 { font-size: 38px; }
  .gift-gallery { grid-template-columns: 1fr; gap: 40px; }
  .main-image { height: auto; aspect-ratio: 1.15; }
  .gallery-side { grid-template-columns: 1fr 1fr; padding: 0; gap: 28px; }
  .gallery-small { grid-template-columns: 1fr; gap: 20px; align-content: start; }
  .gallery-small .product-image { height: auto; aspect-ratio: 1; }
  .small-product-info .price span { display: inline; margin-left: 8px; }
  .gallery-footnote { display: none; }
  .gifting-layout { grid-template-columns: 1fr 1fr; gap: 36px; padding-block: 48px; }
  .gifting-copy h2 { font-size: 36px; }
  .gifting-photo img { width: 100%; height: auto; aspect-ratio: 1; }
  .footer-main { grid-template-columns: 1.1fr 1fr 1fr; gap: 28px; }
  .footer-saying { display: none; }
  .footer-bottom { gap: 20px; flex-wrap: wrap; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .hero-copy { width: 320px; }
  .hero-poem { font-size: 30px; }
  .hero-caption { width: 260px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 24px; }
  .hero-gift { right: 16px; bottom: 32px; width: 56vw; height: 56vw; }
  .hero-room { object-position: 65% center; }
}
@media (max-width: 600px) {
  :root { --mobile-gutter: 20px; }
  html { scroll-padding-top: 20px; }
  /* One shared content grid; full-bleed hero art remains independent. */
  .wrap { width: calc(100% - 2 * var(--mobile-gutter)); }
  .site-header { height: 88px; }
  .header-inner { gap: 10px; }
  .brand img { width: 100px; }
  .header-actions { gap: 0; }
  .header-actions .icon-link:first-child { display: none; }
  .header-actions .icon-link { flex-direction: column; gap: 0; font-size: 16px; line-height: 1.5; min-width: 52px; min-height: 52px; }
  .menu-toggle { min-width: 88px; padding-inline: 10px; }
  .site-header nav { padding-inline: var(--mobile-gutter); }
  .hero { height: 790px; }
  .hero-room { inset: auto 0 0; height: 54%; object-position: 72% center; mask-image: linear-gradient(transparent, #000 18%); }
  .hero-painting { width: 100%; height: 58%; opacity: .64; background-position: 38% 25%; mask-image: linear-gradient(#000 55%, transparent); }
  .hero-copy { position: relative; top: 28px; left: auto; width: 100%; }
  .hero-copy .eyebrow { margin-bottom: 8px; }
  .hero h1 { font-size: 54px; line-height: 1.25; margin-bottom: 10px; }
  .hero-poem { font-size: 28px; line-height: 1.5; margin-bottom: 12px; }
  .hero-caption { font-size: 18px; line-height: 1.8; max-width: 100%; }
  .hero-actions { margin-top: 22px; gap: 20px; }
  .hero-actions .button { padding-inline: 18px; gap: 20px; }
  .hero-actions .text-link { gap: 10px; font-size: 18px; }
  .hero-gift { width: calc(100% - 16px); height: auto; aspect-ratio: 1; max-width: 440px; right: 50%; transform: translateX(50%); bottom: 16px; }
  .hero-caption-line { inset-inline: 0; bottom: 0; padding: 10px var(--mobile-gutter); justify-content: center; font-size: 16px; background: var(--silk); }
  .hero-caption-line a { display: none; }
  .story::before { background-size: auto 65%; opacity: .18; }
  .story-layout { grid-template-columns: 1fr; gap: 24px; padding-block: 44px; }
  .tea-window { width: 120px; grid-row: 2; justify-self: end; margin-top: -8px; }
  .tea-window img { width: 120px; height: 150px; border-width: 4px; }
  .tea-window figcaption { display: none; }
  .story-copy h2 { font-size: 30px; line-height: 1.65; margin-bottom: 20px; }
  .story-copy > p:not(.eyebrow) { margin-bottom: 16px; }
  .story-copy .text-link { font-size: 18px; }
  .collection { padding-block: 48px; }
  .collection-heading { gap: 16px; margin-bottom: 28px; }
  .collection-heading h2 { font-size: 31px; line-height: 1.6; }
  .collection-heading .eyebrow { margin-bottom: 8px; }
  .collection-intro { font-size: 18px; padding: 0; }
  .data-note { font-size: 16px; line-height: 1.8; }
  .gift-gallery { gap: 32px; }
  .main-image { aspect-ratio: 1; }
  .image-index { left: 12px; bottom: 12px; font-size: 16px; }
  .main-product-info { flex-direction: column; align-items: stretch; gap: 18px; margin-top: 20px; padding-bottom: 28px; }
  .product-title, .small-product-info .product-title { font-size: 23px; }
  .product-caption { font-size: 16px; }
  .price, .small-product-info .price { font-size: 22px; }
  .price span { font-size: 16px; }
  .main-product-info .button { width: 100%; min-height: 54px; font-size: 18px; }
  .gallery-side { grid-template-columns: 1fr; gap: 28px; }
  .gallery-small { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 18px; padding-bottom: 28px; align-items: center; }
  .gallery-small .product-image { aspect-ratio: 1; }
  .small-product-info .product-title { font-size: 21px; }
  .small-product-info .price span { display: block; margin: 0; }
  .small-product-info .text-link { margin-top: 10px; font-size: 18px; gap: 16px; }
  .collection-all { font-size: 18px; margin-top: 28px; }
  .gifting-layout { grid-template-columns: 1fr; gap: 32px; padding-block: 44px; }
  .gifting-copy h2 { font-size: 36px; }
  .gifting-copy > p:not(.eyebrow) { margin-bottom: 24px; }
  .gifting-photo { width: 100%; margin-inline: 0; }
  .gifting-photo figcaption { font-size: 18px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-block: 40px 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand .brand img { width: 112px; }
  .footer-brand p { margin-top: 12px; }
  .site-footer h2 { font-size: 18px; margin-bottom: 10px; }
  .site-footer div > a:not(.brand) { min-height: 48px; font-size: 18px; }
  .footer-bottom { gap: 4px; padding-block: 20px; font-size: 16px; align-items: start; flex-direction: column; }
}
@media (max-width: 374px) {
  .hero { height: 784px; }
  .hero h1 { font-size: 52px; }
  .hero-poem { font-size: 27px; }
  .hero-actions { gap: 16px; }
  .hero-actions .button { padding-inline: 16px; gap: 16px; }
  .story-copy h2 { font-size: 28px; }
  .collection-heading h2 { font-size: 29px; }
  .gallery-small { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 16px; }
  .small-product-info .product-title { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  :root { --duration: 0ms; }
}

/* WordPress homepage-only adapters; native commerce templates use their existing assets. */
body.home { font: 18px / 1.8 var(--body); background: var(--paper); color: var(--ink); }
body.home main { margin: 0; }
body.home h1, body.home h2 { color: var(--ink); }
body.home a:where(:not(.wp-element-button)) { text-decoration: none; }
body.home .text-link { text-decoration: none; }
.site-header .wc-block-mini-cart { color: var(--ink); }
.site-header .wc-block-mini-cart__button { min-height: 48px; min-width: 48px; padding: 8px; color: var(--ink); font: 16px / 1.5 var(--body); background: transparent; border: 0; border-radius: 0; }
.site-header .wc-block-mini-cart__badge { background: var(--ink); color: var(--paper); font: 13px / 1.5 var(--body); }
.cart-control { display: flex; flex-direction: column; align-items: center; position: relative; }
.cart-label { pointer-events: none; font-size: 16px; line-height: 1.5; }
.site-header .icon-link { color: var(--ink); }
.site-footer .brand img, .site-header .brand img { background: transparent; }
.product-image img { margin: 0; }
.price { line-height: 1.8; }
body.home .price .woocommerce-Price-amount, body.home .price .woocommerce-Price-currencySymbol { display: inline; font: inherit; color: inherit; margin: 0; }
.price .demo-price { display: inline-block; }
.price del { font-size: 18px; color: var(--muted); }
.price ins { text-decoration: none; }
.product .stock { color: var(--muted); font-size: 16px; margin-top: 4px; }
.product .out-of-stock { color: var(--ink); font-weight: 500; }
.product-title { display: inline-block; }
.empty-collection { padding-block: 32px; border-block: 1px solid var(--line); }
@media (min-width: 901px) { .cart-control { flex-direction: row; gap: 4px; } }
@media (max-width: 600px) {
 .header-actions .account-link { display: none; }
 .site-header .wc-block-mini-cart__button { padding: 2px 8px; min-height: 28px; }
 .cart-control { min-width: 52px; min-height: 52px; }
 .site-header .wc-block-mini-cart__button { min-height: 52px; padding-bottom: 24px; }
 .cart-label { position: absolute; bottom: 0; }
}

@media (max-width: 900px) { html:not(.song-navigation-enhanced) .site-header nav { display: grid; position: static; } html:not(.song-navigation-enhanced) .site-header { height: auto; } html:not(.song-navigation-enhanced) .header-inner { flex-wrap: wrap; } html:not(.song-navigation-enhanced) .menu-toggle { display: none; } }

/* Complete names share natural Chinese/mixed-script wrapping on Song surfaces. */
.product-title, .song-commerce .woocommerce-loop-product__title, .song-commerce .product_title {
 min-width: 0; max-width: 100%; overflow-wrap: anywhere; word-break: normal; white-space: normal; hyphens: none;
}
.main-product-info > div, .small-product-info { min-width: 0; }

/* English homepage typography and hero alignment. */
html[lang^="en"] .song-elegance-home .hero h1,
html[lang^="en"] .song-elegance-home .hero-poem,
html[lang^="en"] .song-elegance-home #story-title,
html[lang^="en"] .song-elegance-home #collection-title,
html[lang^="en"] .song-elegance-home #gifting-title {
  font-family: Georgia, "Times New Roman", serif;
  text-wrap: balance;
}

html[lang^="en"] .song-elegance-home .hero h1 {
  font-size: clamp(2.1rem, 4.3vw, 3.65rem);
  line-height: 1.08;
}

html[lang^="en"] .song-elegance-home .hero-poem {
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  line-height: 1.3;
}

html[lang^="en"] .song-elegance-home .hero-caption-line {
  justify-content: flex-end;
}

@media (max-width: 600px) {
  html[lang^="en"] .song-elegance-home .hero-caption-line {
    display: none;
  }
}

/* Keep the linked breadcrumb and current product on the same text baseline. */
.journey-product .woocommerce-breadcrumb {
  overflow-wrap: anywhere;
}

.journey-product .woocommerce-breadcrumb a {
  display: inline;
  padding-block: 0;
  vertical-align: baseline;
}

/* Prioritise shopping, support and legal links in the shared footer. */
.site-footer .mayunding-footer-main {
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
}

.site-footer .mayunding-footer-main .footer-contact {
  border: 1px solid currentColor;
  border-radius: 4px;
  color: inherit;
  margin-top: 18px;
  padding-inline: 16px;
}

.site-footer .mayunding-footer-legal {
  display: flex;
  flex-wrap: wrap;
  column-gap: 22px;
  row-gap: 0;
}

.site-footer .mayunding-footer-legal a {
  color: inherit;
  min-height: 44px;
}

@media (max-width: 600px) {
  .site-footer .mayunding-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
