:root {
  --ink: #111111;
  --muted: #696963;
  --paper: #f5f5f1;
  --white: #ffffff;
  --line: #d8d8d1;
  --accent: #ad171d;
  --catalog-accent: #50341f;
  --header: 78px;
  --shell: min(1320px, calc(100% - 64px));
  --shadow: 0 24px 70px rgba(0, 0, 0, .18);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.6; letter-spacing: 0; }
/* Ordinary page text follows the selected language. Product-list Chinese names keep their dedicated rule below. */
html[lang="en"] body { font-family: "Montserrat Variable", Arial, sans-serif; font-synthesis: none; }
html[lang="zh-CN"] body { font-family: "REEJI Zhenyan 2.0", "SimSun", "Songti SC", serif; font-synthesis: none; }
html[lang="en"] main *, html[lang="en"] footer *, html[lang="en"] .product-dialog * { font-family: "Montserrat Variable", Arial, sans-serif; }
html[lang="zh-CN"] main *, html[lang="zh-CN"] footer *, html[lang="zh-CN"] .product-dialog * { font-family: "REEJI Zhenyan 2.0", "SimSun", "Songti SC", serif; }
/* Header, catalog controls, editor and ICP are operational UI and retain the original system font. */
html[lang="en"] .site-header, html[lang="en"] .site-header *, html[lang="en"] .mobile-nav, html[lang="en"] .mobile-nav *, html[lang="en"] .mobile-filter, html[lang="en"] .mobile-filter *, html[lang="en"] .catalog-meta, html[lang="en"] .catalog-meta *, html[lang="en"] .catalog-search, html[lang="en"] .catalog-search *, html[lang="en"] .catalog-sort, html[lang="en"] .catalog-sort *, html[lang="en"] .category-sidebar, html[lang="en"] .category-sidebar *, html[lang="en"] .category-dialog, html[lang="en"] .category-dialog *, html[lang="en"] .filter-toggle, html[lang="en"] .filter-toggle *, html[lang="en"] .site-editor, html[lang="en"] .site-editor *, html[lang="en"] .icp-record { font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif; }
html[lang="zh-CN"] .site-header, html[lang="zh-CN"] .site-header *, html[lang="zh-CN"] .mobile-nav, html[lang="zh-CN"] .mobile-nav *, html[lang="zh-CN"] .mobile-filter, html[lang="zh-CN"] .mobile-filter *, html[lang="zh-CN"] .catalog-meta, html[lang="zh-CN"] .catalog-meta *, html[lang="zh-CN"] .catalog-search, html[lang="zh-CN"] .catalog-search *, html[lang="zh-CN"] .catalog-sort, html[lang="zh-CN"] .catalog-sort *, html[lang="zh-CN"] .category-sidebar, html[lang="zh-CN"] .category-sidebar *, html[lang="zh-CN"] .category-dialog, html[lang="zh-CN"] .category-dialog *, html[lang="zh-CN"] .filter-toggle, html[lang="zh-CN"] .filter-toggle *, html[lang="zh-CN"] .site-editor, html[lang="zh-CN"] .site-editor *, html[lang="zh-CN"] .icp-record { font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif; }
body.editor-open, body.filter-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
img { display: block; max-width: 100%; }
svg { width: 18px; height: 18px; stroke-width: 1.7; }
.shell { width: var(--shell); margin: 0 auto; }
.sr-only { width: 1px; height: 1px; padding: 0; margin: -1px; position: absolute; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 999; left: 18px; top: -70px; padding: 10px 14px; color: white; background: var(--ink); }
.skip-link:focus { top: 12px; }

.site-header { height: var(--header); position: fixed; z-index: 50; inset: 0 0 auto; display: flex; align-items: center; gap: 36px; padding: 0 32px; background: rgba(255, 255, 255, .96); border-bottom: 1px solid rgba(17, 17, 17, .12); backdrop-filter: blur(12px); }
.brand { min-width: max-content; display: inline-flex; align-items: center; gap: 12px; }
.brand-logo-wrap { width: 42px; height: 42px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; }
.default-logo { width: 42px; height: 42px; display: grid; place-items: center; color: white; background: var(--ink); font: 700 12px/1 Georgia, serif; }
.brand-logo { width: 100%; height: 100%; object-fit: contain; }
.brand-wordmark { display: grid; gap: 1px; line-height: 1; }
.brand-wordmark strong { font: 700 17px/1.1 Georgia, "Times New Roman", serif; }
.brand-wordmark small { color: #777; font-size: 8px; }
.desktop-nav { min-width: 0; margin-left: auto; display: flex; flex: 1 1 auto; align-items: center; justify-content: flex-end; overflow: hidden; }
.desktop-nav > span { min-width: 0; display: flex; align-items: center; justify-content: flex-end; gap: clamp(18px, 2vw, 36px); overflow-x: auto; scrollbar-width: none; }
.desktop-nav > span::-webkit-scrollbar { display: none; }
.desktop-nav a { flex: 0 0 auto; min-width: 0; max-width: 180px; position: relative; padding: 27px 0 24px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; text-transform: uppercase; }
.desktop-nav a::after { content: ""; height: 1px; position: absolute; inset: auto 0 18px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.desktop-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 7px; }
.icon-button, .edit-trigger, .filter-toggle { border: 0; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.icon-button { width: 42px; height: 42px; padding: 0; background: transparent; }
.icon-button:hover { background: #efefeb; }
.language-toggle { min-width: 48px; height: 40px; padding: 0 10px; border: 1px solid var(--line); background: white; font-size: 12px; cursor: pointer; }
.language-toggle:hover { border-color: var(--ink); }
.edit-trigger { min-height: 42px; gap: 8px; padding: 0 15px; color: white; background: var(--ink); font-size: 12px; }
.edit-trigger:hover { background: var(--accent); }
.menu-toggle, .mobile-nav { display: none; }

.hero { height: auto; aspect-ratio: var(--hero-aspect-ratio, 16 / 9); min-height: 0; max-height: none; position: relative; margin-top: var(--header); overflow: hidden; color: white; background: #222; }
.hero-slides, .hero-slide, .hero-shade { position: absolute; inset: 0; }
.hero-slide { opacity: 0; transition: opacity .75s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: contain; }
.hero-shade { z-index: 1; background: linear-gradient(90deg, rgba(0,0,0,.68) 0%, rgba(0,0,0,.26) 46%, rgba(0,0,0,.08) 100%); }
.hero-content { width: var(--shell); height: 100%; position: relative; z-index: 2; margin: 0 auto; padding: 70px 0 82px; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; }
.hero-eyebrow, .section-label { margin: 0 0 18px; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.hero h1 { margin: 0 0 18px; font: 700 clamp(48px, 7vw, 104px)/.9 Georgia, "Times New Roman", serif; max-width: 900px; }
.hero h2 { max-width: 720px; margin: 0; font: 400 clamp(25px, 3vw, 42px)/1.12 Georgia, "Times New Roman", serif; }
.hero-content > p:last-of-type { max-width: 590px; margin: 18px 0 28px; color: rgba(255,255,255,.82); font-size: 15px; }
.button { min-height: 46px; padding: 0 19px; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.button-light { color: var(--ink); background: white; }
.button-light:hover { color: white; background: var(--accent); }
.button-outline-light { color: white; background: transparent; border-color: rgba(255,255,255,.65); }
.button-outline-light:hover { color: var(--ink); background: white; }
.button-outline { background: white; border-color: var(--line); }
.button-reset { color: #9d1f24; background: #fff; border-color: #dca9aa; }
.hero-controls { position: absolute; z-index: 3; right: max(32px, calc((100vw - 1320px) / 2)); bottom: 28px; display: flex; align-items: center; gap: 12px; }
.hero-controls .icon-button { color: white; border: 1px solid rgba(255,255,255,.45); }
.hero-controls .icon-button:hover { color: var(--ink); background: white; }
.hero-controls > span { min-width: 48px; font: 700 10px/1 monospace; }
.hero-dots { display: flex; gap: 5px; }
.hero-dot { width: 20px; height: 2px; padding: 0; border: 0; background: rgba(255,255,255,.4); cursor: pointer; }
.hero-dot.active { background: white; }

.section { padding: 120px 0; }
.story { background-color: var(--paper); background-position: center; background-size: contain; background-repeat: no-repeat; }
.story-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(60px, 9vw, 140px); align-items: center; }
.story:not(.has-background-image) .story-grid { grid-template-columns: 1fr; }
.section-label { color: var(--accent); }
.section-label.light { color: #c9c9c4; }
.story-copy h2, .catalog-heading h2, .contact-copy h2 { margin: 0; font: 400 clamp(40px, 5vw, 72px)/1.06 Georgia, "Times New Roman", serif; }
.story-copy > p:not(.section-label) { max-width: 600px; margin: 30px 0; color: var(--muted); font-size: 17px; }
.brand-values { display: flex; flex-wrap: wrap; gap: 8px; }
.brand-value { padding: 8px 13px; border: 1px solid #bcbcb5; font-size: 11px; text-transform: uppercase; }
.story-media { margin: 0; }
.story-media img { width: 100%; aspect-ratio: 1.55 / 1; object-fit: cover; }
.story-media figcaption { margin-top: 12px; color: #777; font-size: 9px; }
.story.has-background-image { min-height: 0; aspect-ratio: 1 / var(--background-aspect-ratio, .6667); padding-top: 0; padding-bottom: 0; }
.story.has-background-image .story-grid { height: 100%; min-height: 0; display: flex; }
.story.has-background-image .story-copy { max-width: 720px; color: white; }
.story.has-background-image .story-copy > p:not(.section-label) { color: rgba(255,255,255,.82); }
.story.has-background-image .section-label { color: #f0c1c1; }
.story.has-background-image .brand-value { color: white; border-color: rgba(255,255,255,.58); }
.story.has-background-image .story-media { display: none; }

.custom-section { background-color: var(--paper); background-position: center; background-size: contain; background-repeat: no-repeat; }
.custom-section.has-background-image { padding-top: 0; padding-bottom: 0; }
.custom-section-grid { min-height: 520px; display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); gap: clamp(44px, 8vw, 120px); align-items: center; }
.custom-section-copy { min-width: 0; }
.custom-section-copy h2 { margin: 0; font: 400 clamp(40px, 5vw, 72px)/1.06 Georgia, "Times New Roman", serif; }
.custom-section-copy > p:not(.section-label) { max-width: 600px; margin: 28px 0 0; color: var(--muted); font-size: 17px; }
.custom-section-media { min-width: 0; margin: 0; }
.custom-section-media img { width: 100%; aspect-ratio: 1.35 / 1; object-fit: cover; background: #e9e9e4; }
.custom-section-image-only .custom-section-grid { display: block; min-height: 0; }
.custom-section-image-only .custom-section-media img { aspect-ratio: 2.2 / 1; }
.custom-section-text-only .custom-section-grid { display: block; min-height: 320px; padding-top: 40px; padding-bottom: 40px; }
.custom-section-empty .custom-section-grid { min-height: 180px; }
.custom-section.has-background-image { min-height: 0; aspect-ratio: 1 / var(--background-aspect-ratio, .6667); }
.custom-section.has-background-image .custom-section-grid { width: 100%; height: 100%; max-width: none; position: relative; min-height: 0; margin: 0; display: block; }
.custom-section.has-background-image .custom-section-copy { width: 100%; height: 100%; min-height: 0; max-width: none; color: white; }
.custom-section.has-background-image .custom-section-copy > * { position: absolute; left: var(--text-x, 8%); top: var(--text-y, 50%); transform: translate(calc(0% - var(--text-x, 8%)), calc(0% - var(--text-y, 50%))); margin: 0; color: var(--text-color, #fff) !important; font-size: var(--text-size, 17px); }
.custom-section.has-background-image [data-font="noto-serif"] { font-family: "Noto Serif SC Variable", "Songti SC", serif; }
.custom-section.has-background-image [data-font="noto-sans"] { font-family: "Noto Sans SC Variable", "PingFang SC", "Microsoft YaHei", sans-serif; }
.custom-section.has-background-image [data-font="playfair"] { font-family: "Playfair Display Variable", "Noto Serif SC Variable", "Songti SC", serif; }
.custom-section.has-background-image [data-font="montserrat"] { font-family: "Montserrat Variable", "Noto Sans SC Variable", "PingFang SC", sans-serif; }
.custom-section.has-background-image [data-direction="vertical"]:not(.brand-values) { width: 1em !important; max-width: 1em; white-space: normal; word-break: break-all; overflow-wrap: anywhere; line-height: 1.25; text-align: center; }
.custom-section.has-background-image .brand-values[data-direction="vertical"] { width: auto; display: flex; flex-direction: row; align-items: flex-start; flex-wrap: wrap; }
.custom-section.has-background-image .brand-values[data-direction="vertical"] .brand-value { width: calc(1em + 26px); white-space: normal; word-break: break-all; overflow-wrap: anywhere; line-height: 1.25; text-align: center; }
.custom-section.has-background-image .custom-section-copy > .section-label { width: auto; }
.custom-section.has-background-image .custom-section-copy > h2 { width: min(720px, 58%); }
.custom-section.has-background-image .custom-section-copy > p:not(.section-label) { width: min(600px, 52%); line-height: 1.5; }
.custom-section.has-background-image .custom-section-copy > .brand-values { width: min(720px, 58%); display: flex; flex-wrap: wrap; gap: 8px; }
.custom-section.has-background-image .brand-value { color: inherit; border-color: currentColor; font-size: inherit; }
.custom-section.has-background-image .custom-section-media { display: none; }

.color-field { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 9px; align-items: center; }
.color-field input[type="color"] { width: 48px; height: 39px; padding: 3px; border: 1px solid #c9c9c2; background: white; cursor: pointer; }

.products { scroll-margin-top: var(--header); background: white; }
.products-page-main.has-home-return { padding-top: var(--header); }
.has-home-return > .products { padding-top: 24px; }
.products-home-back { position: sticky; top: calc(var(--header) + 4px); z-index: 40; display: flex; align-items: center; gap: 8px; width: max-content; min-height: 44px; margin: 4px 24px 4px 12px; padding: 10px 12px; color: var(--ink); background: rgba(255,255,255,.96); border-radius: 4px; box-shadow: 0 2px 12px #00000008; font-size: 12px; font-weight: 400; line-height: 20px; letter-spacing: .04em; transition: color .18s ease; }
.products-home-back svg { flex: 0 0 18px; transition: transform .18s ease; }
.products-home-back:hover { color: #6a4633; }
.products-home-back:hover svg { transform: translateX(-3px); }
.products-home-back:focus-visible { outline: 2px solid #6a4633; outline-offset: 4px; }
.has-home-return .catalog-sticky { top: calc(var(--header) + 56px); }
@media (max-width: 640px) { .products-home-back { margin-left: 2px; } }
.products-shell { width: calc(100% - 48px); max-width: none; display: grid; grid-template-columns: minmax(230px, 280px) minmax(0, 1fr); grid-template-areas: "heading heading" "filters results"; column-gap: clamp(28px, 4vw, 64px); align-items: start; }
.catalog-heading { grid-area: heading; display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; margin-bottom: 50px; }
.catalog-heading > p { max-width: 470px; margin: 0 0 8px; color: var(--muted); }
.catalog-heading .section-label { color: var(--catalog-accent); }
 .catalog-heading h2 { font-size: clamp(28px, 3vw, 40px); }
html[lang="en"] .catalog-heading h2 { text-transform: uppercase; }
.catalog-sticky { grid-area: filters; position: sticky; z-index: 35; top: var(--header); min-width: 0; margin: 0; align-self: start; background: rgba(255, 255, 255, .97); backdrop-filter: blur(12px); }
.catalog-toolbar { min-height: 58px; margin-bottom: 24px; display: grid; grid-template-columns: 1fr; gap: 12px; }
.catalog-search, .catalog-sort { position: relative; display: flex; align-items: center; border: 1px solid var(--line); background: white; }
.catalog-search svg { position: absolute; left: 16px; pointer-events: none; }
.catalog-search input { width: 100%; height: 56px; padding: 0 18px 0 48px; border: 0; outline: none; background: transparent; color: var(--ink); font-size: 12px; letter-spacing: .01em; }
.catalog-sort select { width: 100%; height: 56px; padding: 0 42px 0 16px; border: 0; appearance: none; outline: none; background: transparent; cursor: pointer; font-size: 12px; }
.catalog-sort svg { position: absolute; right: 14px; pointer-events: none; }
.filter-toggle { display: none; min-height: 54px; gap: 9px; border: 1px solid var(--line); background: white; }
.category-sidebar { min-height: 50px; display: block; border: 1px solid var(--line); padding: 10px 16px 18px; background: white; }
.category-sidebar-heading { display: block; padding: 12px 0 14px; border-bottom: 1px solid var(--line); color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.category-sidebar > .category-all { width: 100%; min-height: 42px; padding: 0; border: 0; border-bottom: 1px solid var(--line); justify-content: flex-start; }
.category-sidebar > .category-tree { min-width: 0; display: block; }
.category-sidebar > .category-tree > .category-node { position: relative; border: 0; }
.category-sidebar > .category-tree > .category-node > .category-row { min-height: 42px; }
.category-sidebar > .category-tree > .category-node > .category-row > button:first-child { padding: 9px 0; white-space: nowrap; }
.category-sidebar .category-children { width: auto; min-width: 0; max-width: none; position: static; border: 0; background: transparent; box-shadow: none; }
.category-sidebar .category-children .category-node { width: 100%; position: relative; }
.category-sidebar .category-children .category-row { min-width: 0; }
.category-all { width: 100%; min-height: 42px; padding: 0 6px; border: 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; background: transparent; cursor: pointer; text-align: left; color: #30302d; font-size: 12px; font-weight: 400; line-height: 1.25; letter-spacing: .01em; text-transform: uppercase; }
.category-all:hover, .category-all:focus-visible, .category-all.active { color: var(--accent); }
.category-all.active { font-weight: 700; }
.category-node { border-bottom: 1px solid var(--line); }
.category-row { min-height: 42px; display: grid; grid-template-columns: minmax(0, 1fr) 34px; align-items: center; }
.category-row button { min-width: 0; height: 100%; padding: 8px 6px; border: 0; background: transparent; cursor: pointer; text-align: left; color: #30302d; font-size: 12px; line-height: 1.25; letter-spacing: .01em; }
.category-row button:first-child { padding-left: calc(6px + (var(--depth) - 1) * 18px); }
.category-row button:hover, .category-row button:focus-visible, .category-row button.active, .category-row button.selected-path { color: var(--accent); }
.category-row button.active { font-weight: 700; }
.category-expand { display: grid; place-items: center; color: #282824 !important; text-align: center !important; }
.category-expand:hover, .category-expand:focus-visible { color: var(--accent) !important; }
.category-expand svg { width: 16px; height: 16px; stroke-width: 1.65; }
.category-children { display: none; }
.category-node.expanded > .category-children { display: block; }
.catalog-results { grid-area: results; min-width: 0; }
.catalog-divider { margin-bottom: 24px; border-top: 1px solid var(--line); }
.catalog-meta { min-height: 38px; margin-bottom: 20px; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; color: #777; font-size: 10px; text-transform: uppercase; }
.catalog-meta-actions { display: flex; align-items: center; gap: 16px; white-space: nowrap; }
.catalog-meta-actions .catalog-sort { min-width: 180px; }
.category-more { display: none; min-height: 32px; padding: 0 9px; border: 1px solid var(--ink); background: white; color: var(--ink); align-items: center; gap: 6px; cursor: pointer; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.category-more svg { width: 16px; height: 16px; }
.catalog-breadcrumb { display: flex; flex-wrap: wrap; gap: 7px; }
.catalog-breadcrumb button { padding: 0; border: 0; background: transparent; cursor: pointer; color: #777; text-transform: uppercase; }
.catalog-breadcrumb[hidden] { display: none; }
.catalog-breadcrumb button:hover, .catalog-breadcrumb button:focus-visible { color: var(--accent); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 42px 18px; }
.product-card { min-width: 0; position: relative; }
.product-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #efefeb; }
.product-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .55s ease, opacity .2s ease; }
.product-media .product-hover-image { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .product-card:hover .product-media img { transform: scale(1.025); }
  .product-hover-ready:hover .product-media > img:first-child { opacity: 0; }
  .product-hover-ready:hover .product-hover-image { opacity: 1; }
}
.product-card button.product-open { width: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; text-align: left; }
.product-info { padding: 15px 1px 0; }
.product-path { display: block; margin-bottom: 5px; color: #86867f; font-size: 9px; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-info h3 { margin: 0; font: 400 21px/1.18 Georgia, serif; }
html[lang="zh-CN"] .product-info h3 { font-family: "REEJI Zhenyan 2.0", "SimSun", "Songti SC", "Noto Serif SC Variable", serif; font-weight: 400; font-variation-settings: "wght" 400; font-synthesis: none; }
html[lang="en"] .product-info h3 { font-family: "Montserrat Variable", Arial, sans-serif; }
.product-meta { margin-top: 8px; display: flex; justify-content: space-between; gap: 14px; color: #777; font-size: 10px; }
.product-open:hover h3, .product-open:focus-visible h3, .product-open:active h3 { color: var(--catalog-accent); }
.empty-state { padding: 80px 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; color: var(--muted); }
.pagination { min-height: 46px; margin-top: 52px; display: flex; align-items: center; justify-content: center; gap: 5px; }
.pagination button { width: 40px; height: 40px; padding: 0; border: 1px solid transparent; background: transparent; cursor: pointer; }
.pagination button:hover { border-color: var(--line); }
.pagination button.active { color: white; background: var(--ink); }
.pagination button:disabled { opacity: .3; cursor: default; }
.product-load-trigger { height: 1px; }
.category-dialog { width: min(430px, calc(100% - 28px)); max-height: min(680px, calc(100dvh - 40px)); padding: 0; border: 0; box-shadow: var(--shadow); }
.category-dialog::backdrop { background: rgba(0, 0, 0, .56); }
.category-dialog-heading { min-height: 88px; padding: 18px 18px 12px 24px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: white; }
.category-dialog-heading small { color: var(--accent); font-size: 9px; font-weight: 700; }
.category-dialog-heading h2 { margin: 2px 0 0; font: 400 25px/1.15 Georgia, serif; }
.category-dialog-list { max-height: min(550px, calc(100dvh - 150px)); overflow-y: auto; overscroll-behavior: contain; padding: 8px 24px 20px; }
.category-dialog-item { width: 100%; min-height: 55px; padding: 10px 2px; display: flex; flex-direction: column; justify-content: center; border: 0; border-bottom: 1px solid var(--line); background: white; cursor: pointer; text-align: left; }
.category-dialog-item strong { font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.category-dialog-item small { color: #777; font-size: 10px; overflow-wrap: anywhere; }
.category-dialog-item:hover, .category-dialog-item:focus-visible, .category-dialog-item.active { color: var(--accent); }

.contact { padding: 110px 0; color: white; background-color: var(--accent); background-position: center; background-size: contain; background-repeat: no-repeat; }
.contact.has-background-image { background-color: #333; }
.contact.has-background-image { min-height: 0; aspect-ratio: 1 / var(--background-aspect-ratio, .6667); padding-top: 0; padding-bottom: 0; display: flex; align-items: center; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 100px; align-items: end; }
.contact-copy > p:last-child { max-width: 520px; margin: 26px 0 0; color: rgba(255,255,255,.76); }
.contact-list { border-top: 1px solid rgba(255,255,255,.7); }
.contact-list > * { min-width: 0; padding: 20px 3px; border-bottom: 1px solid rgba(255,255,255,.7); display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 18px; }
.contact-list span { font-size: 9px; }
.contact-list strong { min-width: 0; overflow-wrap: anywhere; font: 400 clamp(17px, 2vw, 25px)/1.2 Georgia, serif; }
.contact-list a:hover strong { text-decoration: underline; }

.site-footer { color: white; background: var(--ink); }
.footer-inner { min-height: 118px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.footer-brand .default-logo { color: var(--ink); background: white; }
.footer-brand .brand-wordmark small { color: #8c8c87; }
.footer-inner p { color: #888; font-size: 10px; }
.icp-record { display: inline-block; margin-top: 6px; color: #aaa; font-size: 12px; }
.icp-record:hover, .icp-record:focus-visible { color: white; text-decoration: underline; text-underline-offset: 3px; }
.footer-inner > button { border: 0; background: transparent; color: #aaa; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 11px; }
.footer-inner > button:hover { color: white; }

.product-dialog { width: 100vw; max-width: none; height: 100svh; max-height: none; padding: 0; border: 0; border-radius: 0; box-shadow: var(--shadow); overflow: hidden; }
.product-dialog::backdrop { background: rgba(0,0,0,.76); backdrop-filter: blur(3px); }
.dialog-close { position: fixed; z-index: 4; top: 18px; right: 18px; margin: 0; background: rgba(255,255,255,.92); }
.product-dialog > #dialogContent { height: 100%; min-height: 0; overflow: hidden; background: #f4f4f1; }
.product-detail-grid { height: 100%; min-height: 0; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr); background: #f4f4f1; }
.dialog-media { min-width: 0; min-height: 0; padding: clamp(22px, 3.2vw, 48px) clamp(22px, 4.6vw, 78px) clamp(20px, 2.8vw, 38px); display: grid; grid-template-rows: minmax(0, 1fr) auto; background: #f4f4f1; }
.dialog-main-image { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; background: transparent; }
.dialog-image-stage { position: relative; min-width: 0; min-height: 0; }
.dialog-image-arrow { position: absolute; z-index: 1; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; padding: 0; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; color: #303030; background: rgba(255,255,255,.58); box-shadow: 0 2px 10px rgba(0,0,0,.08); cursor: pointer; transition: background .2s ease; }
.dialog-image-arrow:hover { background: rgba(255,255,255,.88); }
.dialog-image-arrow:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.dialog-image-arrow svg { width: 25px; height: 25px; stroke-width: 1.5; }
.dialog-image-prev { left: 10px; }
.dialog-image-next { right: 10px; }
.dialog-gallery { --thumb-size: 78px; width: 100%; max-width: 100%; min-width: 0; margin: 22px auto 0; display: grid; grid-template-columns: repeat(var(--thumb-count, 1), minmax(0, 1fr)); align-items: center; gap: 11px; padding: 5px 6px 12px; border: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
.dialog-thumb { width: 100%; height: auto; aspect-ratio: 1 / 1; min-width: 0; padding: 0; border: 0; background: transparent; cursor: pointer; overflow: hidden; transition: opacity .2s ease, box-shadow .2s ease; }
.dialog-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.dialog-thumb:not(.active) { opacity: .55; box-shadow: none; }
.dialog-thumb.active { opacity: 1; outline: none; box-shadow: 0 3px 10px rgba(80,52,31,.24); }
.dialog-thumb:not(.active):hover { opacity: .85; }
.dialog-thumb:focus-visible { outline: 2px dotted var(--catalog-accent); outline-offset: 2px; }
.dialog-copy { min-width: 0; overflow: auto; padding: clamp(62px, 8vw, 112px) clamp(30px, 5.4vw, 86px) 54px; background: #f4f4f1; }
.dialog-path { color: #777; font-size: 9px; text-transform: uppercase; }
.dialog-copy h2 { margin: 13px 0 8px; color: #303030; font: 600 25px/1.25 "Montserrat Variable", "Noto Sans SC Variable", "PingFang SC", "Microsoft YaHei", sans-serif; letter-spacing: 5px; text-transform: uppercase; overflow-wrap: anywhere; }
html[lang="zh-CN"] .dialog-copy h2 { letter-spacing: .06em; }
html[lang="en"] .dialog-copy h2 { font-family: "Montserrat Variable", Arial, sans-serif; }
html[lang="zh-CN"] .dialog-copy h2 { font-family: "REEJI Zhenyan 2.0", "SimSun", "Songti SC", serif; }
.dialog-code { color: #888; font-size: 10px; }
.dialog-summary { margin: 28px 0; color: var(--muted); }
.dialog-specs { margin: 0 0 28px; border-top: 1px solid var(--line); }
.dialog-specs div { padding: 10px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 88px 1fr; gap: 14px; }
.dialog-specs dt { color: #777; font-size: 9px; text-transform: uppercase; }
.dialog-specs dd { margin: 0; font-size: 12px; }
.dialog-features { margin: 0 0 28px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 7px; }
.dialog-features li { padding: 6px 9px; border: 1px solid var(--line); font-size: 10px; }
.dialog-copy .button { width: 100%; color: white; background: var(--ink); }
.dialog-copy .button:hover, .dialog-copy .button:active, .dialog-copy .button:focus-visible { background: var(--catalog-accent); }
.dialog-copy .product-share-button { margin-top: 12px; border: 1px solid var(--catalog-accent); color: var(--catalog-accent); background: transparent; cursor: pointer; }
.dialog-copy .product-share-button:hover, .dialog-copy .product-share-button:active, .dialog-copy .product-share-button:focus-visible { color: white; background: var(--catalog-accent); }
.product-share-fallback { display: grid; gap: 8px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.product-share-fallback input { width: 100%; min-width: 0; padding: 10px; border: 1px solid var(--line); background: white; font-size: 12px; }
.product-share-status { margin: 8px 0 0; color: var(--catalog-accent); font-size: 12px; }
.product-share-publish { display: grid; gap: 8px; margin-top: 12px; }
.dialog-copy .product-share-publish .button { min-height: 40px; padding: 10px 14px; font-size: 12px; }
.product-share-button:disabled { opacity: .6; cursor: wait; }

.filter-backdrop, .editor-backdrop { position: fixed; z-index: 80; inset: 0; background: rgba(0,0,0,.52); backdrop-filter: blur(2px); }
.mobile-filter { position: fixed; z-index: 90; inset: 0 auto 0 0; width: min(390px, 92%); padding: 0 22px 30px; overflow: auto; transform: translateX(-102%); transition: transform .28s ease; background: white; }
.mobile-filter.open { transform: translateX(0); }
.mobile-filter header { height: 72px; position: sticky; z-index: 2; top: 0; display: flex; align-items: center; justify-content: space-between; background: white; border-bottom: 1px solid var(--ink); }
.mobile-filter > .category-all { padding: 0 6px; }

.site-editor { position: fixed; z-index: 90; inset: 0 0 0 auto; width: min(590px, 100%); display: grid; grid-template-rows: auto auto 1fr auto auto; transform: translateX(102%); transition: transform .3s ease; background: #f3f3ef; box-shadow: -20px 0 60px rgba(0,0,0,.22); }
.site-editor.open { transform: translateX(0); }
.editor-header { min-height: 72px; padding: 14px 16px 14px 22px; display: flex; justify-content: space-between; align-items: center; color: white; background: var(--ink); }
.editor-header > div { display: grid; }
.editor-header small { color: #a9a9a4; font-size: 10px; }
.editor-header .icon-button { color: white; }
.editor-tabs { display: flex; overflow-x: auto; border-bottom: 1px solid var(--line); background: white; scrollbar-width: thin; }
.editor-tabs button { flex: 0 0 auto; min-width: 84px; height: 48px; padding: 0 14px; border: 0; border-bottom: 3px solid transparent; background: white; color: #777; cursor: pointer; font-size: 12px; font-weight: 700; white-space: nowrap; }
.editor-tabs button.active { color: var(--ink); border-color: var(--accent); }
.editor-body { overflow: auto; padding: 20px; }
.editor-section-title { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0 0 15px; }
.editor-section-title h3 { margin: 0; font-size: 17px; }
.editor-section-title button { min-height: 34px; padding: 0 10px; border: 0; display: inline-flex; align-items: center; gap: 6px; color: white; background: var(--ink); cursor: pointer; font-size: 11px; }
.editor-toolbar { margin-bottom: 13px; display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.editor-toolbar input { min-width: 0; height: 39px; padding: 0 11px; border: 1px solid #c9c9c2; background: white; }
.editor-toolbar button { padding: 0 13px; border: 0; color: white; background: var(--accent); cursor: pointer; }
.editor-group { margin-bottom: 12px; padding: 15px; background: white; border: 1px solid #d8d8d1; }
.editor-group.compact { padding: 9px 12px; }
.editor-group-head { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 12px; }
.editor-group-head strong { min-width: 0; overflow-wrap: anywhere; font-size: 13px; }
.item-actions { display: flex; flex: 0 0 auto; gap: 3px; }
.item-actions button { width: 31px; height: 31px; padding: 0; border: 0; display: grid; place-items: center; background: #eee; cursor: pointer; }
.item-actions button:hover { color: white; background: var(--ink); }
.item-actions [data-action="remove"] { color: #a32227; }
.section-editor-row { min-width: 0; min-height: 42px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.section-editor-row > .item-actions { min-width: 133px; justify-content: flex-end; }
.field { display: grid; gap: 6px; margin-bottom: 11px; }
.field:last-child { margin-bottom: 0; }
.pin-product-field { margin-top: 4px; padding: 12px 0 4px; border-top: 1px solid var(--line); }
.pin-product-toggle { min-width: 0; display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 10px; align-items: center; cursor: pointer; }
.pin-product-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.pin-product-switch { width: 38px; height: 22px; position: relative; border-radius: 999px; background: #d2d2cb; transition: background .2s ease; }
.pin-product-switch::after { content: ""; width: 18px; height: 18px; position: absolute; top: 2px; left: 2px; border-radius: 50%; background: white; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s ease; }
.pin-product-toggle input:checked + .pin-product-switch { background: var(--catalog-accent); }
.pin-product-toggle input:checked + .pin-product-switch::after { transform: translateX(16px); }
.pin-product-toggle input:focus-visible + .pin-product-switch { outline: 2px solid var(--accent); outline-offset: 2px; }
.pin-product-toggle > span:last-child { min-width: 0; display: grid; gap: 3px; }
.pin-product-toggle strong { font-size: 12px; }
.pin-product-toggle small { color: #85857f; font-size: 10px; line-height: 1.45; }
.field label, .field-label { color: #555; font-size: 11px; font-weight: 700; }
.field input, .field textarea, .field select { width: 100%; padding: 9px 10px; border: 1px solid #c9c9c2; background: white; outline: none; color: var(--ink); }
.field textarea { min-height: 80px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); }
.field-help { margin-top: -3px; color: #85857f; font-size: 9px; }
.image-guidance { margin-top: 0; color: #686b69; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.range-field { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) 48px; align-items: center; gap: 10px; }
.range-input { width: 100% !important; height: 28px; padding: 0 !important; border: 0 !important; accent-color: var(--accent); background: transparent !important; cursor: ew-resize; }
.range-field output { min-width: 48px; padding: 8px 6px; border: 1px solid #c9c9c2; background: white; color: var(--ink); text-align: center; font-size: 11px; }
.text-style-group { min-width: 0; margin: 15px 0 20px; border: 0; border-top: 1px solid #d8d8d1; background: transparent; }
.text-style-group summary { min-height: 48px; padding: 11px 2px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #333; cursor: pointer; list-style: none; }
.text-style-group summary::-webkit-details-marker { display: none; }
.text-style-group summary::after { content: "+"; width: 24px; height: 24px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid #c9c9c2; font-size: 16px; font-weight: 400; }
.text-style-group[open] summary::after { content: "−"; }
.text-style-group summary strong { font-size: 11px; }
.text-style-group summary span { margin-left: auto; color: #85857f; font-size: 9px; font-weight: 400; }
.text-style-body { padding: 5px 2px 7px; }
.text-style-body > .field { margin-bottom: 16px; }
.font-select { cursor: pointer; }
.segmented-control { min-height: 39px; display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid #c9c9c2; background: white; }
.segmented-control label { position: relative; cursor: pointer; }
.segmented-control label + label { border-left: 1px solid #c9c9c2; }
.segmented-control input { position: absolute; opacity: 0; pointer-events: none; }
.segmented-control span { height: 100%; display: grid; place-items: center; color: #555; font-size: 11px; }
.segmented-control input:checked + span { color: white; background: var(--ink); }
.segmented-control input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: -2px; }
.image-control { display: grid; grid-template-columns: 92px 1fr; gap: 11px; }
.image-preview, .logo-preview { width: 92px; height: 76px; object-fit: contain; background: #eee; border: 1px solid #ddd; }
.logo-preview { padding: 8px; object-fit: contain; }
.empty-image-preview { display: grid; place-items: center; color: #777; font-size: 11px; }
.default-logo.preview { margin: 16px 25px; }
.image-actions { min-width: 0; display: grid; align-content: center; gap: 6px; }
.upload-label { min-height: 35px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid #c8c8c1; cursor: pointer; font-size: 11px; font-weight: 700; }
.image-url { font-size: 9px; text-overflow: ellipsis; }
.gallery-editor-grid { min-width: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 9px; }
.gallery-editor-item { min-width: 0; padding: 7px; border: 1px solid #d8d8d1; background: #fafaf7; }
.gallery-editor-item > img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #eee; }
.gallery-editor-meta { min-width: 0; padding-top: 7px; display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.gallery-editor-meta strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #555; font-size: 9px; font-weight: 700; }
.gallery-remove { flex: 0 0 auto; min-height: 25px; padding: 0 5px; display: inline-flex; align-items: center; gap: 3px; border: 0; color: #a32227; background: transparent; cursor: pointer; font-size: 9px; }
.gallery-remove:hover { color: white; background: #a32227; }
.gallery-remove svg { width: 13px; height: 13px; }
.gallery-sort-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; margin-top: 6px; }
.gallery-sort-actions button { min-width: 0; min-height: 28px; padding: 0 2px; border: 1px solid var(--line); background: white; display: flex; align-items: center; justify-content: center; gap: 1px; color: #555; cursor: pointer; font-size: 10px; white-space: nowrap; }
.gallery-sort-actions button:hover:not(:disabled) { border-color: var(--catalog-accent); color: var(--catalog-accent); }
.gallery-sort-actions button:disabled { opacity: .35; cursor: default; }
.gallery-sort-actions svg { width: 12px; height: 12px; flex: 0 0 auto; }
.gallery-editor-empty { grid-column: 1 / -1; margin: 0; padding: 18px 10px; border: 1px dashed #c9c9c2; color: #85857f; text-align: center; font-size: 10px; }
.clear-image { border: 0; padding: 0; background: transparent; color: #777; text-align: left; cursor: pointer; font-size: 9px; }
.category-editor-tree { margin-top: 15px; padding: 0 14px 10px; border: 1px solid #d5d5ce; background: #fff; }
.category-editor-node { min-width: 0; }
.category-editor-row { min-width: 0; min-height: 52px; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 32px; align-items: center; border-bottom: 1px solid #d9d9d2; }
.category-editor-node[data-depth="2"] > .category-editor-row { padding-left: 24px; }
.category-editor-node[data-depth="3"] > .category-editor-row { padding-left: 48px; }
.category-editor-toggle, .category-editor-leaf { min-width: 0; min-height: 51px; padding: 7px 4px 7px 0; border: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--ink); background: transparent; text-align: left; }
.category-editor-toggle { cursor: pointer; }
.category-editor-toggle:hover, .category-editor-toggle:focus-visible { color: var(--accent); }
.category-editor-name { min-width: 0; }
.category-editor-name strong, .category-editor-name small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.category-editor-name strong { font-size: 12px; font-weight: 600; }
.category-editor-name small { margin-top: 2px; color: #85857f; font-size: 9px; font-weight: 400; }
.category-editor-node[data-depth="1"] > .category-editor-row .category-editor-name strong { font-weight: 700; }
.category-editor-node[data-depth="3"] > .category-editor-row .category-editor-name strong { color: var(--accent); }
.category-editor-symbol { width: 20px; flex: 0 0 20px; color: #666; text-align: center; font-size: 20px; font-weight: 300; line-height: 1; }
.category-editor-menu { position: relative; }
.category-editor-menu summary { width: 30px; height: 32px; display: grid; place-items: center; color: #666; background: transparent; cursor: pointer; list-style: none; }
.category-editor-menu summary::-webkit-details-marker { display: none; }
.category-editor-menu summary:hover, .category-editor-menu[open] summary { color: white; background: var(--ink); }
.category-editor-menu summary svg { width: 16px; height: 16px; }
.category-editor-menu-popover { width: 132px; padding: 5px; position: absolute; z-index: 5; top: 35px; right: 0; display: grid; gap: 2px; border: 1px solid #d5d5ce; background: white; box-shadow: 0 12px 30px rgba(0,0,0,.14); }
.category-editor-menu-popover button { min-height: 32px; padding: 0 8px; border: 0; display: flex; align-items: center; gap: 7px; color: #4f504c; background: transparent; cursor: pointer; text-align: left; font-size: 10px; }
.category-editor-menu-popover button:hover, .category-editor-menu-popover button:focus-visible { color: white; background: var(--ink); }
.category-editor-menu-popover .category-editor-remove { color: #a32227; }
.category-editor-menu-popover svg { width: 13px; height: 13px; }
.category-editor-children { min-width: 0; }
.editor-product-list { display: grid; border-top: 1px solid var(--line); }
.editor-product-row { min-width: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) 38px; align-items: stretch; }
.editor-product-edit { min-width: 0; padding: 10px 4px; border: 0; background: transparent; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; cursor: pointer; text-align: left; }
.editor-product-edit:hover { color: var(--accent); }
.editor-product-edit span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.editor-product-edit small { color: #888; }
.editor-product-delete { width: 38px; border: 0; background: transparent; color: #a32227; cursor: pointer; }
.editor-product-delete:hover { color: white; background: #a32227; }
.editor-product-delete svg { width: 15px; height: 15px; }
.editor-back-link { margin-bottom: 12px; padding: 0; border: 0; display: inline-flex; align-items: center; gap: 6px; background: transparent; cursor: pointer; font-size: 11px; }
.editor-back-link:hover { color: var(--accent); }
.editor-footer { padding: 12px 16px; display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 6px; border-top: 1px solid var(--line); background: white; }
.editor-footer .button { min-height: 39px; padding: 0 7px; font-size: 10px; }
.editor-note { margin: 0; padding: 8px 15px 10px; background: white; color: #777; text-align: center; font-size: 9px; }
.toast { position: fixed; z-index: 120; left: 50%; bottom: 24px; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; padding: 10px 15px; color: white; background: var(--ink); box-shadow: var(--shadow); transition: opacity .2s ease, transform .2s ease; font-size: 12px; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  :root { --shell: min(920px, calc(100% - 40px)); }
  .products-shell { width: calc(100% - 40px); max-width: none; }
  .desktop-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-nav { position: fixed; z-index: 49; top: var(--header); left: 0; right: 0; padding: 10px 20px 20px; display: grid; background: white; border-bottom: 1px solid var(--line); transform: translateY(-120%); opacity: 0; transition: transform .25s ease, opacity .25s ease; }
  .mobile-nav.open { transform: translateY(0); opacity: 1; }
  .mobile-nav > span { display: grid; }
  .mobile-nav a { display: block; min-width: 0; padding: 12px 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border-bottom: 1px solid var(--line); font-size: 12px; text-transform: uppercase; }
  .story-grid, .custom-section-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .hero-content { padding-top: 42px; padding-bottom: 54px; }
  .hero h1 { font-size: clamp(42px, 7vw, 58px); }
  .hero h2 { font-size: clamp(24px, 3.6vw, 32px); }
  .hero-content > p:last-of-type { margin-top: 12px; margin-bottom: 18px; font-size: 13px; }
  .products-shell { display: block; }
  .catalog-sticky { position: sticky; top: var(--header); margin: 0 -8px 24px; padding: 10px 8px 0; }
  .has-home-return .catalog-sticky { top: var(--header); }
  .has-home-return .catalog-toolbar { margin-bottom: 8px; }
  .catalog-sticky > .products-home-back { position: static; margin: 0 0 8px; }
  .catalog-toolbar { grid-template-columns: 130px minmax(0, 1fr); }
  .filter-toggle { display: inline-flex; }
  .category-sidebar { display: none; }
  .footer-inner > button[data-open-editor] { display: none; }
  .font-picker-field { display: none; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Keep mobile imagery complete without changing the desktop presentation. */
  .hero-slide img,
  .story-media img,
  .custom-section-media img,
  .product-media img { object-fit: contain; }
  .contact.has-background-image { height: auto; min-height: 0; aspect-ratio: 1 / var(--background-aspect-ratio, .6667); background-size: contain; background-repeat: no-repeat; background-position: center; }
  .contact-grid { grid-template-columns: 1fr; gap: 54px; }
  .product-detail-grid { height: auto; min-height: 100%; grid-template-columns: 1fr; grid-template-rows: auto auto; }
  .product-dialog { overflow: auto; }
  .product-dialog > #dialogContent { height: auto; min-height: 100%; overflow: visible; }
  .dialog-media { min-height: 0; padding: 24px 22px 28px; grid-template-rows: auto auto; }
  .dialog-image-stage { aspect-ratio: var(--dialog-image-ratio, 1); max-height: 52svh; }
  .dialog-main-image { width: 100%; min-height: 0; height: 100%; max-height: 52svh; object-fit: contain; }
  .dialog-copy { overflow: visible; }
}

@media (max-width: 640px) {
  :root { --header: 66px; --shell: calc(100% - 28px); }
  .products-shell { width: calc(100% - 28px); }
  .site-header { padding: 0 14px; gap: 8px; }
  .site-header .brand { min-width: 0; gap: 8px; }
  .site-header .brand-logo-wrap, .site-header .default-logo { width: 40px; height: 40px; }
  .site-header .brand-wordmark { min-width: 0; }
  .site-header .brand-wordmark strong { overflow-wrap: anywhere; }
  .brand-wordmark strong { font-size: 13px; }
  .brand-wordmark small { display: none; }
  .header-actions { margin-left: auto; gap: 3px; }
  .search-jump { display: none; }
  .edit-trigger { width: 40px; padding: 0; }
  .edit-trigger span { display: none; }
  .icon-button { width: 40px; height: 40px; }
  .language-toggle { width: 40px; min-width: 40px; height: 40px; padding: 0; }
  .hero { height: auto; min-height: 0; max-height: none; aspect-ratio: auto; display: grid; grid-template-rows: auto auto; }
  .hero-slides { aspect-ratio: var(--hero-aspect-ratio, 16 / 9); position: relative; inset: auto; grid-row: 1; }
  .hero-shade { display: none; }
  .hero-content { width: calc(100% - 44px); height: auto; grid-row: 2; padding: 17px 0 68px; display: block; }
  .hero-eyebrow { margin-bottom: 10px; font-size: 9px; }
  .hero h1 { max-width: 295px; margin-bottom: 9px; font-size: 30px; line-height: .98; }
  .hero h2 { max-width: 295px; font-size: 20px; line-height: 1.13; }
  .hero-content > p:last-of-type { max-width: 300px; margin: 8px 0 13px; font-size: 11px; line-height: 1.4; }
  .hero-content .button { min-height: 39px; padding: 0 13px; font-size: 10px; }
  .hero-controls { right: 14px; bottom: 14px; }
  .hero-controls .icon-button { width: 38px; height: 38px; }
  .hero-dots { display: none; }
  .section { padding: 78px 0; }
  .story-grid, .custom-section-grid { gap: 42px; }
  .story.has-background-image .story-grid,
  .custom-section.has-background-image .custom-section-grid { min-height: 540px; }
  .custom-section.has-background-image .custom-section-copy { min-height: 540px; }
  .story.has-background-image { height: auto; min-height: 0; aspect-ratio: 1 / var(--background-aspect-ratio, .6667); padding-top: 0; padding-bottom: 0; overflow: hidden; background-position: center; background-size: contain; background-repeat: no-repeat; }
  .custom-section.has-background-image { height: auto; min-height: 0; aspect-ratio: 1 / var(--background-aspect-ratio, .6667); padding-top: 0; padding-bottom: 0; overflow: hidden; background-position: center; background-size: contain; background-repeat: no-repeat; }
  .story.has-background-image .story-grid,
  .custom-section.has-background-image .custom-section-grid,
  .custom-section.has-background-image .custom-section-copy { height: 100%; min-height: 0; }
  .story.has-background-image .story-grid { align-items: center; }
  .story.has-background-image .story-copy .section-label { margin-bottom: 5px; font-size: 7px; }
  .story.has-background-image .story-copy h2 { font-size: 19px; line-height: 1.02; }
  .story.has-background-image .story-copy > p:not(.section-label) { max-width: 100%; margin: 7px 0; font-size: 9px; line-height: 1.28; }
  .story.has-background-image .brand-values { gap: 4px; }
  .story.has-background-image .brand-value { padding: 3px 5px; font-size: 7px; }
  .custom-section.has-background-image .custom-section-copy > h2,
  .custom-section.has-background-image .custom-section-copy > p:not(.section-label),
  .custom-section.has-background-image .custom-section-copy > .brand-values { width: calc(100% - 28px); }
  .custom-section.has-background-image .custom-section-copy > h2 { font-size: min(var(--text-size, 36px), 36px); line-height: 1.08; }
  .custom-section.has-background-image .custom-section-copy > p:not(.section-label) { font-size: min(var(--text-size, 15px), 15px); line-height: 1.45; }
  .story-copy h2, .catalog-heading h2, .contact-copy h2 { font-size: 39px; }
  .story-copy > p:not(.section-label) { font-size: 15px; }
  .story-media img { aspect-ratio: auto; height: auto; }
  .custom-section-grid { min-height: 0; }
  .custom-section-copy h2 { font-size: 39px; }
  .custom-section-copy > p:not(.section-label) { font-size: 15px; }
  .custom-section-media img, .custom-section-image-only .custom-section-media img { aspect-ratio: auto; height: auto; }
  .custom-section-text-only .custom-section-grid { min-height: 0; padding-top: 0; padding-bottom: 0; }
  .catalog-heading { display: block; margin-bottom: 34px; }
  .catalog-heading h2 { font-size: 26px; }
  .catalog-heading > p { margin-top: 18px; }
  .catalog-sticky { margin-right: -7px; margin-left: -7px; padding-right: 7px; padding-left: 7px; }
  .catalog-toolbar { grid-template-columns: 1fr; }
  .catalog-search { grid-column: 1 / -1; grid-row: 1; }
  .catalog-search input { font-size: 13px; }
  .filter-toggle { grid-row: 2; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .product-info { padding-top: 10px; }
  .product-info h3 { font-size: 17px; overflow-wrap: anywhere; }
  .product-meta { gap: 4px; flex-wrap: wrap; font-size: 9px; }
  .catalog-meta { align-items: center; gap: 8px; }
  .catalog-breadcrumb { min-width: 0; overflow-wrap: anywhere; }
  .catalog-meta-actions { gap: 8px; }
  .catalog-meta-actions .catalog-sort { min-width: 140px; min-height: 32px; border-color: var(--ink); }
  .catalog-meta-actions .catalog-sort select { height: 32px; padding: 0 32px 0 9px; font-size: 10px; }
  .catalog-meta-actions .catalog-sort svg { right: 8px; width: 14px; height: 14px; }
  .category-more { min-height: 32px; border-color: var(--ink); display: inline-flex; }
  .contact { padding: 78px 0; }
  .contact-list > * { grid-template-columns: 58px minmax(0, 1fr) auto; gap: 9px; }
  .contact.has-background-image .contact-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 12px; align-items: center; }
  .contact.has-background-image .contact-copy h2 { font-size: 21px; line-height: 1.05; }
  .contact.has-background-image .contact-copy > p:last-child { margin-top: 8px; font-size: 9px; line-height: 1.35; }
  .contact.has-background-image .contact-list > * { min-height: 0; padding: 7px 1px; grid-template-columns: 42px minmax(0, 1fr) 14px; gap: 4px; }
  .contact.has-background-image .contact-list span { font-size: 7px; }
  .contact.has-background-image .contact-list strong { font-size: 10px; }
  .footer-inner { padding: 24px 0; flex-wrap: wrap; }
  .footer-inner p { width: 100%; order: 3; margin: 0; }
  .product-dialog { width: calc(100% - 16px); height: calc(100svh - 16px); max-height: calc(100svh - 16px); border-radius: 2px; }
  .dialog-media { padding: 14px 12px 18px; grid-template-rows: auto auto; }
  .dialog-main-image { max-height: 52svh; }
  .dialog-image-arrow { width: 40px; height: 40px; }
  .dialog-image-prev { left: 6px; }
  .dialog-image-next { right: 6px; }
  .dialog-gallery { --thumb-size: 62px; gap: 8px; margin-top: 14px; }
  .dialog-thumb img { object-fit: contain; background: #efefeb; }
  .dialog-close { top: 8px; right: 8px; }
  .dialog-copy { padding: 40px 23px 28px; }
  .dialog-copy h2 { font-size: 22px; letter-spacing: 4.4px; }
  .field-row { grid-template-columns: 1fr; }
  .site-editor { width: 100%; }
  .editor-tabs button { min-width: 82px; padding: 0 11px; }
  .editor-body { padding: 15px; }
  .category-editor-tree { padding-inline: 10px; }
  .category-editor-node[data-depth="2"] > .category-editor-row { padding-left: 14px; }
  .category-editor-node[data-depth="3"] > .category-editor-row { padding-left: 28px; }
}

@media (max-width: 400px) {
  .hero h1 { max-width: 275px; font-size: 28px; }
  .hero h2 { max-width: 275px; font-size: 19px; }
  .hero-content > p:last-of-type { max-width: 280px; font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}


/* Phone carousel: complete image, optional copy, no empty control band. */
@media(max-width:767px){
  .hero{height:auto;min-height:0;max-height:none;aspect-ratio:auto;display:grid;grid-template-rows:auto auto;color:var(--ink);background:var(--white)}
  .hero-slides{position:relative;inset:auto;grid-row:1;aspect-ratio:var(--hero-aspect-ratio,16 / 9);background:var(--paper)}
  .hero-slide img{object-fit:contain}
  .hero-shade{display:none}
  .hero-content{width:auto;height:auto;grid-row:2;margin:0;padding:20px 22px 24px;display:block;background:var(--white)}
  .hero-content[hidden]{display:none}
  .hero-eyebrow{margin:0 0 7px;font-size:10px;line-height:1.5;color:var(--muted)}
  .hero h1{max-width:none;font-size:27px;line-height:1.25;margin:0 0 8px}
  .hero h2{max-width:none;font-size:23px;line-height:1.4;margin:0}
  .hero-content > p:last-of-type{max-width:none;margin:10px 0 0;font-size:13px;line-height:1.7;color:var(--muted)}
  .hero-controls{top:calc(100vw / var(--hero-image-ratio,1.777778) - 50px);bottom:auto;right:12px;gap:8px;color:#fff}
  .hero-controls .icon-button{width:36px;height:36px;border:0;border-radius:50%;background:#0007;color:#fff}
  .hero-controls>span{min-width:46px;text-align:center;text-shadow:0 1px 3px #0008}
  .hero-dots{display:none}
  .hero.single-slide .hero-controls{display:none}
}
