/* Hallmark · v2.0.0 · built: WordPress · redesign: full · genre: editorial · theme: brand · brand: 元素力量 · shape: 弧线首屏与错落图文 · hero: Settled · nav: 左品牌、右栏目与电话 · footer: 香槟底色、品牌和版权底栏 · job: buy · signature: 金橙弧面上的单行口号与真实蓝白包装 */
/* Hallmark · pre-emit critique: P5 H4 E4 S4 R5 V4 · weakest: 首屏弧线容易抢过标题，弧线退至两侧，中央用清亮浅底。 */
/* Hallmark · copy: verbatim · 主体文字来自原站与用户提供的产品标签。 */
/* Hallmark · waive 2b · two warm copper-gold tokens, large text above 4.5:1 · The hero title retains the established gold-to-copper brand treatment. */
/* Hallmark · waive 24b · homepage spacing uses the existing scale · The detail hero retains its previously reviewed compact mobile spacing outside this redesign. */
/* Hallmark · waive 44c · the 900px fold previews the product image · The shorter hero makes the real product available sooner while retaining the complete title and actions. */
/* Hallmark · hero-review: fix · balanced subtitle clauses, earlier product image, quieter copper · finish-review: ship after recapture */
/* 金橙双色综合渐变沿用线上原模板的品牌标题。 */
:root {
  --font-body: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  --font-display: var(--font-body);
  --paper: #faf9f6;
  --surface-raised: #fffdfa;
  --soft: #f5f2ec;
  --accent-soft: #f8f4ef;
  --selection: #efe3d3;
  --line: #e6e0d6;
  --ink: #1a1a1a;
  --muted: #4a4a4a;
  --brand-accent: #896536;
  --brand-deep: #75572e;
  --brand-hover: #51391e;
  --gold: #c8a06e;
  --button-gold: #ad8a50;
  --button-text: #2a1e12;
  --button-shadow: #a6854c31;
  --el-color-primary: var(--brand-accent);
  --el-color-primary-rgb: 137,101,54;
  --el-color-primary-light-9: var(--accent-soft);
  --hero-silver: #edf0ee;
  --hero-glow-gold: #cda46849;
  --hero-glow-orange: #e789653a;
  --hero-line: #98764329;
  --hero-line-faint: #98764313;
  --title-gold: #8f642e;
  --title-copper: #a85131;
  --home-product-paper: #ede5d8;
  --home-product-rule: #d4b791;
  --home-image-curve: clamp(34px, 6vw, 88px);
  --contact-paper: #f5ede1;
  --contact-light: #ead0ab;
  --contact-arc: #a97e4438;
  --contact-arc-faint: #a97e441f;
  --figure-blue: #e8eff5;
  --clear: transparent;
  --radius-surface: 16px;
  --radius-panel: 24px;
  --radius-pill: 32px;
  --measure: 1220px;
  --gutter: clamp(18px, 4.4vw, 64px);
  --layout-gap: clamp(26px, 5vw, 72px);
}
html, body { overflow-x: clip; }
html { scroll-padding-top: 94px; }
html:has([data-ysll-product-toc]) { scroll-behavior: auto; }
/* 短页由正文撑满可见区域，长页的页脚继续排在正文之后。 */
body {
  --site-admin-bar-height: 0px;
  min-height: calc(100vh - var(--site-admin-bar-height));
  min-height: calc(100dvh - var(--site-admin-bar-height));
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.75;
}
body.admin-bar { --site-admin-bar-height: var(--wp-admin--admin-bar--height, 0px); }
body > #main { flex: 1 0 auto; }
a[href] { text-decoration: none; }
a[data-original-image] { cursor: zoom-in; }
::selection { background: var(--selection); color: var(--ink); }
input, textarea { caret-color: var(--brand-deep); }
.wrap { width: min(var(--measure), calc(100% - 2 * var(--gutter))); }
h1, h2, h3 { min-width: 0; overflow-wrap: break-word; text-wrap: balance; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--brand-accent);
  outline-offset: 3px;
  transition: none;
}
.eyebrow { font-size: 15px; font-weight: 400; letter-spacing: normal; text-transform: none; color: var(--muted); }
.section-title { margin: 0; font: 700 clamp(29px, 3vw, 40px)/1.25 var(--font-display); color: var(--ink); letter-spacing: normal; }
.preview-note { background: var(--paper); color: var(--muted); border-bottom: 1px solid var(--line); font-size: 12px; letter-spacing: normal; }

.button, .cms-contact-purchase .button {
  border-radius: var(--radius-pill);
  min-height: 48px;
  padding: 12px 24px;
  gap: 12px;
  font-size: 15px;
  letter-spacing: normal;
  color: var(--button-text);
  background: linear-gradient(135deg, var(--gold), var(--button-gold));
  border: 1px solid var(--clear);
}
.button:hover { border-color: var(--brand-accent); color: var(--button-text); }
.button:active { transform: translateY(1px); }
.button.secondary { background: var(--clear); color: var(--ink); border-color: var(--line); }
.button.secondary:hover { background: var(--accent-soft); border-color: var(--gold); color: var(--brand-deep); }
.text-link, .back-home { font-size: 15px; }
.text-link, .back-home,
:is(.cms-copy, .cms-original-content, .about-text, .footer-legal) a[href]:not(.button, .wp-element-button) { color: var(--brand-deep); font-weight: 600; }
.text-link:hover, .back-home:hover,
:is(.cms-copy, .cms-original-content, .about-text, .footer-legal) a[href]:not(.button, .wp-element-button):hover { color: var(--brand-hover); }

.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
html:has(body.admin-bar) { scroll-padding-top: calc(94px + var(--wp-admin--admin-bar--height, 0px)); }
body.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 0px); }
body.admin-bar .skip:focus { top: calc(10px + var(--wp-admin--admin-bar--height, 0px)); }
@media (max-width: 600px) {
  body.admin-bar #wpadminbar { position: fixed; }
}
html:has([data-ysll-product-toc]) .site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 2px;
  background: var(--brand-accent);
  transform: scaleX(var(--product-reading-progress, 0));
  transform-origin: left;
  pointer-events: none;
}
.header-row { min-height: 72px; gap: 24px; position: relative; }
.brand, .brand strong { color: var(--ink); font-size: 20px; font-weight: 700; letter-spacing: .02em; }
.brand-text { min-width: 0; flex-shrink: 1; }
.brand-text strong { overflow-wrap: anywhere; }
.desktop-nav { margin-left: auto; gap: 12px; }
.desktop-nav>a, .desktop-nav .cms-navigation>li>a {
  padding: 8px 16px;
  min-height: 44px;
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  border-radius: var(--radius-pill);
}
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { background: var(--accent-soft); color: var(--ink); }
.desktop-nav a[aria-current="page"]::after { display: none; }
.header-contact { color: var(--muted); font-size: 15px; font-variant-numeric: tabular-nums; border-color: var(--line); }
.mobile-nav summary { min-height: 44px; padding-inline: 16px; color: var(--ink); border-color: var(--line); border-radius: var(--radius-pill); }
.mobile-nav:not([open]) nav { display: none; }
.mobile-nav nav {
  left: 0;
  right: 0;
  top: 100%;
  max-height: calc(100dvh - 76px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--surface-raised);
  border-color: var(--line);
}
.mobile-nav nav a { min-height: 44px; white-space: nowrap; display: flex; align-items: center; padding: 8px 16px; color: var(--ink); }
.mobile-nav nav a:is(:hover, :focus-visible, [aria-current="page"]) { background: var(--accent-soft); color: var(--ink); }

.reference-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  display: grid;
  place-items: center;
  min-height: clamp(390px, 50svh, 500px);
  padding-block: 48px;
  text-align: center;
}
.reference-hero-atmosphere {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, var(--hero-silver), var(--clear) 66%);
  mask-image: linear-gradient(to bottom, var(--ink) 54%, var(--clear));
}
.reference-hero-atmosphere::before,
.reference-hero-atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
}
.reference-hero-atmosphere::before {
  background: radial-gradient(ellipse 49% 60%, var(--hero-glow-orange), var(--clear) 82%);
  transform: translate3d(-33%, 32%, 0);
}
.reference-hero-atmosphere::after {
  background: radial-gradient(ellipse 49% 60%, var(--hero-glow-gold), var(--clear) 82%);
  transform: translate3d(33%, -32%, 0);
}
.reference-hero-lines {
  position: absolute;
  z-index: 1;
  inset: 0;
}
.reference-hero-lines::before,
.reference-hero-lines::after {
  content: "";
  position: absolute;
  width: min(76%, 1140px);
  height: 122%;
  border: 1px solid var(--hero-line);
  border-radius: 50%;
  outline: 1px solid var(--hero-line-faint);
  outline-offset: 16px;
  transform: rotate(-23deg);
}
.reference-hero-lines::before {
  inset: auto auto -89% -19%;
  mask-image: linear-gradient(115deg, var(--ink) 22%, var(--clear) 76%);
}
.reference-hero-lines::after {
  inset: -83% -19% auto auto;
  mask-image: linear-gradient(290deg, var(--ink) 25%, var(--clear) 76%);
}
.reference-hero-copy { --hero-copy-scale: 1.12; max-width: 890px; }
.reference-title {
  margin: 0;
  color: var(--ink);
  font: 800 calc(clamp(34px, 3.65vw, 52px) * var(--hero-copy-scale))/1.1 var(--font-display);
  letter-spacing: -.02em;
}
.reference-title > span { display: inline-block; max-inline-size: 100%; }
:is(.reference-title-emphasis, .footer-tagline-emphasis) { color: var(--title-gold); }
@supports (background-clip: text) {
  :is(.reference-title-emphasis, .footer-tagline-emphasis) {
    background-image: linear-gradient(115deg, var(--title-gold) 30%, var(--title-copper) 74%);
    background-clip: text;
    color: var(--clear);
  }
}
.reference-subtitle {
  max-width: 44ch;
  margin: calc(20px * var(--hero-copy-scale)) auto 0;
  color: var(--muted);
  font-size: calc(clamp(16px, 1.4vw, 17px) * var(--hero-copy-scale));
  text-wrap: balance;
}
.reference-subtitle > span { display: inline-block; max-inline-size: 100%; }
.reference-hero-actions {
  justify-content: center;
  margin-top: calc(32px * var(--hero-copy-scale));
  gap: calc(16px * var(--hero-copy-scale));
}
.reference-hero-actions .button {
  min-height: calc(52px * var(--hero-copy-scale));
  padding: calc(12px * var(--hero-copy-scale)) calc(28px * var(--hero-copy-scale));
  font-size: calc(15px * var(--hero-copy-scale));
  line-height: 1.4;
}
.reference-hero-actions .button:not(.secondary) { box-shadow: 0 9px 26px var(--button-shadow); }

.reference-section { padding-block: clamp(44px, 5.6vw, 80px); }
.reference-home #products-section {
  padding-block-start: clamp(40px, 4vw, 64px);
  padding-block-end: clamp(36px, 4.3vw, 60px);
}
.reference-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin-bottom: clamp(20px, 2.5vw, 32px);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.reference-showcase {
  --showcase-columns: minmax(0, 1.28fr) minmax(0, 1fr);
}
.reference-showcase[data-tabs-ready] {
  display: grid;
  grid-template-columns: var(--showcase-columns);
  column-gap: var(--layout-gap);
  row-gap: 14px;
}
.reference-showcase[data-tabs-ready] .reference-product-card {
  grid-area: 1 / 1 / 2 / -1;
}
.reference-showcase-controls {
  grid-area: 2 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 1vw, 12px);
}
.reference-showcase-tabs { display: flex; gap: clamp(4px, .8vw, 8px); min-width: 0; }
.reference-showcase-controls[hidden], .reference-product-card[hidden] { display: none; }
.reference-showcase-step, .reference-showcase-thumb {
  display: grid;
  place-items: center;
  width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--surface-raised);
  color: var(--brand-deep);
  cursor: pointer;
}
.reference-showcase-step { flex: 0 0 44px; border-radius: 50%; }
.reference-showcase-step .ysll-ui-icon { width: 18px; height: 18px; }
.reference-showcase-thumb {
  width: clamp(44px, 5vw, 66px);
  max-width: 100%;
  padding: 3px;
  border-radius: 8px;
  font: 600 11px/1.2 var(--font-body);
  overflow-wrap: anywhere;
}
.reference-showcase-thumb img { width: 100%; height: 34px; object-fit: contain; border-radius: 5px; }
.reference-showcase-step:hover, .reference-showcase-thumb:hover { border-color: var(--brand-accent); }
.reference-showcase-thumb[aria-selected="true"] { border-color: var(--brand-accent); background: var(--selection); }
.reference-showcase-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
:where(.reference-showcase[data-tabs-ready]) .reference-product-figure img { aspect-ratio: 1.53; object-fit: contain; }
.reference-product-card {
  display: grid;
  grid-template-columns: var(--showcase-columns);
  align-items: center;
  gap: var(--layout-gap);
}
.reference-product-card--text { grid-template-columns: 1fr; }
.reference-product-figure {
  position: relative;
  isolation: isolate;
  min-width: 0;
  margin: 0;
  padding: 0 clamp(12px, 2vw, 28px) clamp(12px, 2vw, 28px) 0;
}
.reference-product-figure::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 14% 0 0 9%;
  border-radius: var(--radius-surface) var(--home-image-curve) var(--radius-surface) var(--radius-surface);
  background: var(--home-product-paper);
}
.reference-product-figure > a {
  display: block;
  background: var(--figure-blue);
  border-radius: var(--radius-surface) var(--home-image-curve) var(--radius-surface) var(--radius-surface);
}
.reference-product-figure img { width: 100%; border-radius: inherit; }
/* 仅为当前包装场景图调整展示取景，原图入口继续提供完整画面。 */
.reference-product-figure img[src$="/element-power-whey-20260602-02.jpg"] { aspect-ratio: 1.53; object-fit: cover; object-position: center bottom; }
.reference-product-copy { min-width: 0; }
.reference-product-copy::before {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  margin-bottom: 20px;
  background: var(--home-product-rule);
}
.reference-product-copy h3 { margin: 0; color: var(--ink); font-size: clamp(24px, 2.85vw, 40px); line-height: 1.28; }
.reference-product-copy h3 a:hover { color: var(--brand-deep); }
.reference-overview { max-width: 34em; color: var(--muted); margin-block: 16px 20px; font-size: 16px; }
.reference-product-actions { gap: 12px; margin-top: 24px; }
.reference-product-actions .button { min-width: 140px; }
.reference-catalog-link { min-height: 44px; }

.reference-highlights, .reference-home-faq {
  padding-block: clamp(28px, 4vw, 54px);
  border-block-start: 1px solid var(--line);
}
#home-highlights-heading { scroll-margin-top: 90px; }
.reference-highlight-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block: 18px 6px;
}
.reference-highlight-tabs button {
  min-height: 44px;
  max-width: 100%;
  padding: 8px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--surface-raised);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
  text-align: start;
  cursor: pointer;
}
.reference-highlight-tabs button:hover { color: var(--brand-deep); border-color: var(--brand-accent); }
.reference-highlight-tabs button[aria-selected="true"] {
  border-color: var(--brand-accent);
  background: var(--selection);
  color: var(--brand-deep);
}
.reference-highlight-panel {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: start;
  gap: var(--layout-gap);
  margin-block-start: 20px;
}
.reference-highlight-panel:not(:has(.reference-highlight-media)) { grid-template-columns: minmax(0, 1fr); }
.reference-highlight-panel[hidden], .reference-highlight-tabs[hidden], [data-tabs-ready] .reference-highlight-name { display: none; }
.reference-highlight-panel:focus-visible { outline: 2px solid var(--brand-accent); outline-offset: 4px; }
.reference-highlight-name { margin: 0 0 12px; color: var(--muted); font-size: 15px; }
.reference-home-faq { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: start; gap: var(--layout-gap); }
.reference-guide-product { margin-block: 8px 0; color: var(--muted); font-size: 15px; }
.reference-highlight-list { max-width: 40em; margin: 0; }
.reference-highlight-list > div { padding-block: 14px; border-block-start: 1px solid var(--line); }
.reference-highlight-list dt { font-size: 19px; font-weight: 700; }
.reference-highlight-list dd { margin: 4px 0 0; color: var(--muted); }
.reference-highlight-media { display: block; min-width: 0; border-radius: var(--radius-surface); background: var(--soft); }
.reference-highlight-media img { width: 100%; max-height: 380px; object-fit: contain; border-radius: inherit; }
/* 只调整当前小袋资料图的可见区域，链接提供未经裁改的资料原图。 */
.reference-highlight-media img[src$="/element-power-whey-20260602-05.jpg"] { aspect-ratio: 2.2; object-fit: cover; object-position: center 32%; }
.reference-home-questions { border-block-end: 1px solid var(--line); }
.reference-home-questions details { border-block-start: 1px solid var(--line); }
.reference-home-questions summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  list-style: none;
  cursor: pointer;
  font-weight: 600;
}
.reference-home-questions summary::-webkit-details-marker { display: none; }
.reference-home-questions summary:hover, .reference-home-questions details[open] summary { color: var(--brand-deep); }
.reference-home-questions details[open] summary svg { transform: rotate(180deg); }
.reference-home-questions details p { margin-block: 0 16px; color: var(--muted); }

.spec-table th { background: var(--soft); color: var(--muted); }
.spec-table td { color: var(--ink); }
.spec-table th, .spec-table td { font-size: 15px; padding-block: 12px; }
.brand-values { margin: 20px 0 24px; gap: 12px 24px; border-color: var(--line); color: var(--brand-deep); letter-spacing: normal; font-size: 15px; }
.brand-values span::before { content: none; }
.phone { color: var(--brand-deep); font-size: clamp(26px, 3.2vw, 38px); font-variant-numeric: tabular-nums; letter-spacing: normal; }

.detail-stage { background: var(--paper); border-bottom-color: var(--line); padding-bottom: clamp(28px, 3vw, 44px); }
.breadcrumb { color: var(--muted); font-size: 14px; line-height: 1.5; }
.breadcrumb a { color: var(--brand-deep); }
.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  grid-template-areas: "media title" "media summary";
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: 12px var(--layout-gap);
  padding: clamp(16px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--surface-raised);
}
.detail-hero:has(> .cms-gallery-thumbs) {
  grid-template-areas: "media title" "media summary" "thumbs summary";
  grid-template-rows: auto 1fr auto;
}
.detail-hero.detail-hero--text { grid-template: "title" auto "summary" auto / minmax(0, 1fr); }
.detail-body.detail-body--text { grid-template-columns: 1fr; }
.detail-intro { grid-area: title; min-width: 0; }
.detail-gallery { grid-area: media; min-width: 0; margin: 0; padding: 12px; background: var(--soft); border: 0; border-radius: var(--radius-surface); }
.detail-gallery > a { border-radius: var(--radius-surface); background: var(--figure-blue); }
.detail-gallery img { width: 100%; height: auto; max-height: 480px; object-fit: contain; border-radius: var(--radius-surface); }
.detail-gallery img[src$="/element-power-whey-20260602-02.jpg"] { aspect-ratio: 1.66; object-fit: cover; object-position: center bottom; }
.cms-gallery-thumbs { grid-area: thumbs; margin-top: 0; }
.cms-gallery-thumbs a { flex: none; grid-template-rows: minmax(0, 1fr); background: var(--surface-raised); }
.cms-gallery-thumbs img { min-height: 0; max-height: 100%; }
.detail-summary { grid-area: summary; min-width: 0; }
.detail-hero h1 { margin: 0 0 12px; font-size: clamp(29px, 2.9vw, 43px); line-height: 1.28; font-weight: 700; color: var(--ink); }
.detail-hero .product-type, .detail-intro .cms-product-intro { margin: 0 0 8px; color: var(--muted); font-size: 16px; }
.detail-hero .spec-table { background: var(--clear); }
.detail-hero .spec-table th { width: 94px; background: var(--clear); }
.detail-hero .spec-table :is(th, td) { padding: 10px 8px; }
.purchase-panel { border-color: var(--line); margin-top: 16px; padding-top: 12px; }
.purchase-panel p, .purchase-panel .purchase-title { font-size: 15px; color: var(--muted); }
.detail-body { grid-template-columns: minmax(164px, .26fr) minmax(0, 1fr); gap: var(--layout-gap); }
.detail-aside { top: calc(99px + var(--wp-admin--admin-bar--height, 0px)); }
.detail-aside a {
  border-inline-start: 2px solid var(--clear);
  border-radius: 0 7px 7px 0;
  color: var(--muted);
  font-size: 14px;
}
.detail-aside a:hover { border-left: 2px solid var(--clear); color: var(--brand-deep); margin-left: 0; }
.detail-aside a[aria-current="location"] {
  background: var(--accent-soft);
  border-inline-start-color: var(--brand-accent);
  color: var(--brand-deep);
  font-weight: 700;
}
.detail-prose { max-width: 780px; }
.detail-prose, .cms-copy { color: var(--ink); font-size: 17px; line-height: 1.9; }
.detail-prose h2, .detail-prose h3, .cms-copy h2, .cms-copy h3 { color: var(--ink); }
.detail-prose h2 { font-size: clamp(24px, 2.25vw, 32px); }
.detail-prose h2[id] { scroll-margin-top: 10px; }
.detail-prose strong, .detail-prose b, .detail-prose .highlight { color: var(--brand-deep); }
.detail-prose .cms-original-content table { display: table; width: 100%; font-size: 15px; line-height: 1.5; }
.detail-prose .cms-original-content thead { background: var(--soft); }

.cms-product-card { background: var(--surface-raised); border-color: var(--line); border-radius: var(--radius-surface); }


.contact-profile {
  min-height: 0;
  padding-block: clamp(4px, 1.5vw, 20px) clamp(28px, 4vw, 48px);
}

.contact-panel {
  padding: clamp(24px, 4.7vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background:
    radial-gradient(ellipse 47% 60% at 103% -8%, var(--clear) 97%, var(--contact-arc) 97.5%, var(--clear) 98%),
    radial-gradient(ellipse 40% 52% at 103% -8%, var(--clear) 97%, var(--contact-arc-faint) 97.5%, var(--clear) 98%),
    radial-gradient(ellipse 65% 94% at 101% -22%, var(--contact-light), var(--clear) 79%),
    linear-gradient(122deg, var(--contact-paper), var(--surface-raised) 79%);
}

.contact-panel .cms-page-heading {
  padding: 0;
  border: 0;
  margin: 0;
}

.contact-panel .cms-page-heading::before {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  margin-bottom: 16px;
  background: var(--gold);
}

.contact-panel .cms-page-heading h1 {
  font: 750 clamp(34px, 4.6vw, 60px)/1.2 var(--font-display);
}

.contact-profile .cms-contact-grid {
  grid-template-columns: minmax(0, 1.26fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 3.5vw, 52px);
  margin: clamp(24px, 3.3vw, 44px) 0 0;
  padding-block-start: clamp(24px, 2.5vw, 36px);
  border-block-start: 1px solid var(--line);
}

.contact-profile .cms-contact-grid > :only-child {
  grid-column: 1 / -1;
  width: min(100%, 640px);
}

.contact-profile .cms-contact-main {
  min-width: 0;
  padding: 0;
  border: 0;
  background: var(--clear);
}

.contact-profile .cms-contact-grid h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.4;
}
.contact-profile .cms-contact-main .phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  margin: 12px 0 0;
  color: var(--brand-deep);
  font: 750 clamp(28px, 4.2vw, 62px)/1.1 var(--font-display);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.contact-profile .cms-contact-main .phone:hover { color: var(--brand-hover); }
.cms-contact-main .contact-company {
  margin: 12px 0 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.contact-profile .cms-contact-purchase {
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--clear);
}
.contact-profile .cms-contact-purchase:not(:only-child) {
  padding-inline-start: clamp(24px, 3.3vw, 48px);
  border-inline-start: 1px solid var(--line);
}

.contact-profile .cms-contact-purchase .purchase-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 14px);
  margin-top: 16px;
}

.contact-profile .cms-contact-purchase .button {
  justify-content: space-between;
  min-width: 0;
  min-height: 54px;
  padding: 8px clamp(8px, 1.1vw, 16px);
  gap: clamp(4px, .7vw, 10px);
  border: 1px solid var(--home-product-rule);
  border-radius: calc(var(--radius-surface) * .75);
  background: var(--surface-raised);
  color: var(--brand-deep);
  font-size: clamp(14px, 1.5vw, 16px);
}
.contact-profile .cms-contact-purchase .button:only-child { grid-column: 1 / -1; }
.contact-profile .cms-contact-purchase .button .ysll-ui-icon {
  width: clamp(26px, 2.5vw, 30px);
  height: clamp(26px, 2.5vw, 30px);
  padding: 5px;
  border-radius: 50%;
  background: var(--selection);
}
.contact-profile .cms-contact-purchase .button:is(:hover, :active) { background: var(--accent-soft); color: var(--brand-hover); }
.contact-profile .cms-contact-purchase .button:active { transform: none; }
.contact-profile .cms-contact-purchase .button:focus-visible { outline-offset: -3px; }

.contact-profile .cms-copy:not(:empty) { margin-block-start: 28px; }
.contact-profile .cms-page-actions { margin-block-start: 20px; padding-top: 0; border: 0; }
.contact-profile .cms-page-actions .text-link { display: inline-flex; align-items: center; min-height: 44px; }

.cms-product-card { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--layout-gap); }
.cms-product-card.cms-product-card--text { grid-template-columns: 1fr; }
.cms-product-picture { background: var(--soft); }
.cms-product-card:is(:hover, :focus-within) { border-color: var(--home-product-rule); }
.cms-page-heading { border-color: var(--line); }
.cms-search input { background: var(--surface-raised); border-color: var(--line); border-radius: var(--radius-pill); color: var(--ink); }
.cms-search:focus-within label { color: var(--brand-deep); }
.cms-search input:focus { border-color: var(--gold); }
.cms-search-result h2 a:is(:hover, :focus-visible) { color: var(--brand-deep); }
.navigation.pagination a.page-numbers:is(:hover, :focus-visible) { background: var(--accent-soft); border-color: var(--gold); }
.cms-empty { color: var(--muted); font-size: 16px; }

.footer {
  --footer-secondary-ink: #665b50;
  --footer-link-ink: #805037;
  background: linear-gradient(180deg, var(--paper), var(--soft) 66%, #f0ebe2);
  color: var(--muted);
  padding-block: clamp(20px, 3vw, 38px) 18px;
  font-size: 14px;
}
.footer-meta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 32px;
  padding-block: clamp(18px, 2vw, 27px) clamp(20px, 2.4vw, 30px);
  border-block-start: 1px solid var(--line);
}
.footer-meta::before {
  content: "";
  position: absolute;
  inset: -1px auto auto 0;
  width: 48px;
  height: 2px;
  border-radius: var(--radius-pill);
  background: var(--gold);
}
.footer-identity { min-inline-size: 0; }
.footer .footer-brand {
  display: inline-grid;
  justify-items: start;
  gap: 4px;
  align-content: center;
  min-height: 44px;
  max-inline-size: 100%;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.footer-brand-name {
  font: 700 clamp(24px, 2.1vw, 30px)/1.16 var(--font-display);
  letter-spacing: .035em;
}
.footer-brand-english {
  color: var(--brand-deep);
  font: 600 13px/1.45 var(--font-body);
  letter-spacing: .12em;
}
.footer .footer-tagline {
  display: flex;
  align-items: baseline;
  gap: 9px;
  max-width: none;
  margin: 11px 0 0;
  padding: 0;
  border: 0;
  color: var(--ink);
  font: 500 clamp(14px, 1.12vw, 16px)/1.55 var(--font-body);
  letter-spacing: .07em;
}
.footer-tagline-emphasis {
  --title-gold: #865b2b;
  --title-copper: #9c4b2e;
}
.footer-tagline::before {
  content: "";
  align-self: center;
  flex: 0 0 16px;
  block-size: 1px;
  background: var(--gold);
}
.footer a { color: var(--brand-deep); }
.footer :is(.footer-brand, .phone, .footer-contact .text-link, .footer-legal a):is(:hover, :focus-visible, :active) { color: var(--brand-hover); }
.footer-contact { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 20px; min-width: 0; }
.footer-contact h2 { margin: 0; color: var(--footer-secondary-ink); font-size: 13px; font-weight: 500; line-height: 1.4; }
.footer-contact .phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #8c482f;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.25;
}
.footer-contact .text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: var(--footer-link-ink);
  font-size: 14px;
}
.footer-contact-info:has(.phone) + .text-link { padding-inline-start: 20px; border-inline-start: 1px solid var(--line); }
.footer-contact .text-link svg { inline-size: 1em; block-size: 1em; }
.footer .footer-legal {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 24px;
  max-width: none;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.footer .footer-registration { color: var(--footer-secondary-ink); }
.footer-legal .footer-registration a[href] { color: var(--footer-link-ink); }

@media (min-width: 761px) and (max-width: 1000px) {
  .detail-hero h1 { font-size: clamp(25px, 3vw, 32px); }
}
@media (max-width: 760px) {
  .contact-panel { padding: clamp(20px, 5.5vw, 36px); }
  .contact-profile .cms-contact-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-profile .cms-contact-main .phone { font-size: clamp(28px, 8.4vw, 44px); }
  .contact-profile .cms-contact-purchase:not(:only-child) {
    padding-block-start: 20px;
    padding-inline-start: 0;
    border-block-start: 1px solid var(--line);
    border-inline-start: 0;
  }
}
@media (max-width: 760px) {
  .header-row { min-height: 66px; }
  .brand, .brand strong { font-size: 19px; }
  .brand-text strong { font-size: clamp(15px, 4.6vw, 19px); }
  .mobile-nav { margin-left: auto; }
  .reference-hero { min-height: 0; padding-block: 44px; }
  .reference-hero-lines::before, .reference-hero-lines::after { width: 94%; }
  .reference-hero-lines::before { inset-block-end: -102%; }
  .reference-hero-lines::after { inset-block-start: -99%; }
  .reference-hero-copy { --hero-copy-scale: 1.06; }
  .reference-title { font-size: calc(clamp(26px, 8vw, 34px) * var(--hero-copy-scale)); }
  .reference-subtitle { max-width: 38ch; margin-top: calc(12px * var(--hero-copy-scale)); }
  .reference-hero-actions { margin-top: calc(24px * var(--hero-copy-scale)); }
  .reference-showcase[data-tabs-ready] { grid-template-columns: minmax(0, 1fr); }
  .reference-showcase-controls { grid-area: 1 / 1; }
  .reference-showcase[data-tabs-ready] .reference-product-card { grid-area: 2 / 1; }
  .reference-product-card, .cms-contact-grid, .detail-body { grid-template-columns: 1fr; }
  .reference-product-card { gap: 24px; }
  .reference-product-copy::before { width: 32px; margin-bottom: 12px; }
  .reference-product-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100%, 292px); }
  .reference-product-actions .button { min-width: 0; padding-inline: 8px; }
  .reference-highlight-panel, .reference-home-faq { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .detail-hero { display: grid; grid-template: "title" "media" "summary" / minmax(0, 1fr); gap: 14px; }
  .detail-hero:has(> .cms-gallery-thumbs) { grid-template: "title" "media" "summary" "thumbs" / minmax(0, 1fr); }
  .detail-gallery { padding: 8px; }
  .detail-gallery img { max-height: 390px; }
  .detail-summary { padding: 0; }
  .detail-hero h1 { font-size: clamp(23px, 7.1vw, 30px); }
  .detail-aside a { min-height: 40px; display: inline-flex; align-items: center; padding-inline: 8px; }
  .detail-prose .cms-original-content td, .detail-prose .cms-original-content th { padding: 8px; overflow-wrap: anywhere; }
  .footer-meta { align-items: flex-start; flex-direction: column; gap: 16px; padding-block-end: 16px; }
  .footer-contact { column-gap: 14px; }
  .footer-contact-info:has(.phone) + .text-link { padding-inline-start: 14px; }
  .footer .footer-legal { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 550px) {
  .cms-product-card { grid-template-columns: 1fr; }
  .reference-hero-actions .button { padding-inline: calc(24px * var(--hero-copy-scale)); }
  .purchase-actions .button { padding-inline: 24px; }
  .spec-table th, .spec-table td { font-size: 14px; padding-inline: 8px; }
  .breadcrumb { font-size: 12px; }
}
@media (max-width: 360px) {
  .reference-product-copy h3, .cms-product-card h2 { font-size: 20px; }
  .detail-stage .breadcrumb { padding-block: 12px; }
  .detail-hero { gap: 10px; padding: 12px; }
  .detail-hero h1 { font-size: 22px; }
  .detail-hero .product-type, .detail-intro .cms-product-intro { margin-bottom: 4px; font-size: 14px; }
  .detail-hero .spec-table :is(th, td) { padding-block: 8px; }
  .detail-hero .purchase-actions .button { gap: 8px; padding-inline: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .button:active { transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .mobile-nav[open] > nav,
  .reference-home-questions details[open] > p { animation: reference-soft-in 200ms ease-out; }
  .mobile-nav summary .ysll-ui-icon,
  .reference-home-questions summary .ysll-ui-icon { transition: transform 180ms ease; }
  .button, .cms-product-card, .detail-aside a, .cms-search input,
  .navigation.pagination a.page-numbers { transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease; }
  .reference-title {
    translate: 0 var(--hero-scroll-shift, 0px);
    animation: reference-hero-enter .8s ease-out .1s backwards;
  }
  .reference-subtitle { animation: reference-hero-enter .8s ease-out .2s backwards; }
  .reference-hero-actions { animation: reference-hero-enter .8s ease-out .3s backwards; }
  .reference-hero-actions:focus-within { animation: none; }
  .reference-hero[data-hero-replay] .reference-title { animation: reference-hero-reenter .65s ease-out backwards; }
  .reference-hero[data-hero-replay] .reference-subtitle { animation: reference-hero-reenter .65s ease-out .08s backwards; }
  .reference-product-card[data-showcase-enter] { --showcase-entry-x: 16px; }
  .reference-product-card[data-showcase-enter="previous"] { --showcase-entry-x: -16px; }
  .reference-product-card[data-showcase-enter] .reference-product-figure > a {
    animation: reference-showcase-image-in 360ms cubic-bezier(.2, .75, .25, 1) backwards;
  }
  .reference-product-card[data-showcase-enter] .reference-product-copy {
    animation: reference-showcase-copy-in 280ms ease-out 45ms backwards;
  }
  .reference-hero-atmosphere::before { animation: reference-light-orbit 24s linear -12s infinite; }
  .reference-hero-atmosphere::after { animation: reference-light-orbit 24s linear infinite; }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .reference-product-figure > a, .reference-highlight-media,
  .detail-gallery > a, .cms-product-picture { overflow: clip; }
  :is(.reference-product-figure, .detail-gallery) a img,
  :is(.reference-highlight-media, .cms-product-picture) img { transition: transform 260ms ease-out; }
  :is(.reference-product-figure, .detail-gallery) a:hover img,
  :is(.reference-highlight-media, .cms-product-picture):hover img { transform: scale(1.025); }

  :is(.cms-product-card, .cms-search-result) .text-link .ysll-ui-icon,
  .button[data-store] .ysll-ui-icon { transition: transform 180ms ease-out; }
  :is(.cms-product-card, .cms-search-result) .text-link:hover .ysll-ui-icon { transform: translateX(3px); }
  .button[data-store]:hover .ysll-ui-icon { transform: translate(2px, -2px); }
}

@keyframes reference-soft-in {
  from { opacity: .55; transform: translate(var(--motion-entry-x, 0), var(--motion-entry-y, -5px)); }
  to { opacity: 1; transform: translate(0, 0); }
}

@keyframes reference-hero-enter {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes reference-hero-reenter {
  from { opacity: .25; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes reference-showcase-image-in {
  from { opacity: .42; transform: translateX(var(--showcase-entry-x)); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes reference-showcase-copy-in {
  from { opacity: .35; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes reference-light-orbit {
  0%, 100% { transform: translate3d(33%, -32%, 0); }
  12.5% { transform: translate3d(46%, 0, 0); }
  25% { transform: translate3d(33%, 32%, 0); }
  37.5% { transform: translate3d(0, 45%, 0); }
  50% { transform: translate3d(-33%, 32%, 0); }
  62.5% { transform: translate3d(-46%, 0, 0); }
  75% { transform: translate3d(-33%, -32%, 0); }
  87.5% { transform: translate3d(0, -45%, 0); }
}
@media (forced-colors: active) {
  .reference-hero-atmosphere { display: none; }
  :is(.reference-title-emphasis, .footer-tagline-emphasis) { background-image: none; color: CanvasText; }
}
