:root {
  color-scheme: light;
  --paper: #fcf5ed;
  --white: #fffaf5;
  --ink: #352222;
  --accent: #8b3447;
  --accent-dark: #682538;
  --deep: #451e29;
  --blush: #f5e4dd;
  --peach: #f5bfa2;
  --muted: #6c5551;
  --line: #e8d7cc;
  --serif: "Songti SC", "Noto Serif CJK SC", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--sans); }
body:has(dialog[open]) { overflow: hidden; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid #a14552; outline-offset: 4px; }
.shell { width: min(1240px, calc(100% - 112px)); margin-inline: auto; }
.skip { position: absolute; top: .75rem; left: 1rem; z-index: 3; padding: .5rem 1rem; background: var(--white); transform: translateY(-200%); }
.skip:focus { transform: translateY(0); }
.header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 13px; line-height: 1.2; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 7px; background: var(--accent-dark); color: var(--paper); font: 700 23px var(--serif); }
.brand strong { display: block; font: 700 21px var(--serif); letter-spacing: .04em; }
.brand small { display: block; margin-top: 5px; font-size: 11px; color: var(--muted); letter-spacing: .15em; }
nav { display: flex; gap: clamp(18px, 3.4vw, 48px); color: var(--accent-dark); font-size: 14px; }
nav a { padding-block: .65rem; }
nav a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: .35em; }
.menu-toggle { display: none; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  min-height: 49px; padding: .62rem 1.12rem; border: 1px solid var(--accent);
  border-radius: 5px; background: var(--accent); color: #fffaf5; font-weight: 600; font-size: 14px;
}
.button:hover { background: var(--accent-dark); }
.button:disabled { opacity: .65; cursor: wait; }
.button-small { min-height: 39px; padding-block: .35rem; }
.button-outline { background: transparent; color: var(--accent-dark); }
.button-outline:hover { background: var(--blush); }
.button span { font-size: 1.05rem; font-weight: 400; }

.hero { padding-top: 34px; }
.hero-layout { display: grid; grid-template-columns: 5fr 7fr; align-items: stretch; overflow: hidden; border-radius: 12px; background: var(--deep); color: var(--white); }
.hero-copy { align-self: center; padding: clamp(30px, 4.2vw, 62px); }
.eyebrow { display: flex; gap: .7rem; align-items: center; color: var(--accent); font-size: 13px; font-weight: 650; letter-spacing: .14em; }
.hero .eyebrow { color: var(--peach); }
.eyebrow > span { width: 23px; height: 1px; background: currentColor; }
h1, h2 { font-family: var(--serif); font-weight: 750; }
h1 { margin: 20px 0 24px; font-size: clamp(43px, 5.2vw, 76px); line-height: 1.13; letter-spacing: -.045em; }
h1 em { color: var(--peach); font-style: normal; }
.hero-description { max-width: 24em; color: #f5e4dc; line-height: 1.85; }
.actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero .button { background: var(--peach); color: var(--deep); border-color: var(--peach); }
.hero .button:hover { background: #f9d0b9; }
.hero .button-outline { background: transparent; color: var(--white); border-color: #cc9f94; }
.hero .button-outline:hover { background: #633041; }
.hero :focus-visible { outline-color: var(--peach); }
.hero-figure, .wholesale-photo { position: relative; overflow: hidden; border-radius: 6px; }
.hero-figure { min-height: 448px; border-radius: 0; }
.hero-figure img, .wholesale-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; }
.hero-figure img { object-position: 78% 50%; }
figcaption { position: absolute; right: 14px; bottom: 14px; color: #fffaf5; background: #352222e8; padding: .3rem .65rem; border-radius: 3px; font-size: 12px; }

.section { padding-block: 74px 80px; }
.section-header { display: flex; justify-content: space-between; align-items: end; gap: 14px 34px; }
.section-header > p { color: var(--muted); font-size: 14px; }
h2 { font-size: clamp(34px, 4.1vw, 56px); line-height: 1.18; letter-spacing: -.02em; }
.section h2, .about h2, .wholesale h2 { margin-top: 12px; }
.catalog-layout { display: grid; grid-template-columns: 146px minmax(0, 1fr); gap: 24px; margin-top: 28px; align-items: start; }
.filters { display: grid; gap: 6px; padding: 7px; border: 1px solid var(--line); border-radius: 8px; background: var(--blush); }
.filters button {
  padding: .45rem .8rem; border: 1px solid transparent; border-radius: 4px;
  min-height: 42px; background: transparent; color: var(--accent-dark); font-size: 14px; text-align: left;
}
.filters button:hover { border-color: var(--accent); }
.filters button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fffaf5; }
.products-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.product { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); min-height: 176px; border: 1px solid var(--line); background: var(--white); border-radius: 8px; overflow: hidden; }
.product-photo { position: relative; width: 100%; padding: 0; border: 0; background: var(--blush); display: block; overflow: hidden; }
.product-photo:focus-visible { outline-offset: -4px; }
.product-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.product-photo:hover img { transform: scale(1.04); }
.product-copy { align-self: center; padding: 14px 15px 9px; }
.product-group { font-size: 12px; color: var(--accent); letter-spacing: .08em; }
.product h3 { margin-top: 4px; font: 750 26px/1.2 var(--serif); }
.product-description { margin-top: 8px; font-size: 14px; color: var(--muted); }
.text-button { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 0; min-height: 42px; margin-top: 3px; background: transparent; border: 0; color: var(--accent-dark); font-size: 14px; font-weight: 650; }
.text-button:hover { text-decoration: underline; text-underline-offset: .3em; }

.wholesale { background: var(--blush); padding-block: 64px; }
.wholesale-layout { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(30px, 6vw, 88px); align-items: stretch; }
.wholesale-photo { min-height: 400px; }
.wholesale-photo img { object-position: center; }
.wholesale-copy > p:not(.eyebrow) { margin-top: 14px; color: var(--muted); }
.steps { margin: 23px 0; padding: 0; list-style: none; counter-reset: steps; }
.steps li { position: relative; padding: 12px 0 12px 44px; border-top: 1px solid #dbc0b8; counter-increment: steps; }
.steps li::before { content: "0" counter(steps); position: absolute; left: 0; color: var(--accent); font: 17px/1.5 var(--serif); }
.steps li p { font-size: 14px; margin-top: 3px; color: var(--muted); }
.guide { display: grid; grid-template-columns: 4fr 7fr; gap: 30px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; position: relative; padding: 18px 34px 18px 0; font-weight: 650; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 3px; color: var(--accent); font-size: 20px; line-height: 1.2; }
.faq details[open] summary::after { content: "−"; }
.faq p { padding: 0 24px 18px 0; color: var(--muted); font-size: 14px; }
.about { background: var(--deep); color: var(--white); padding-block: 56px; }
.about .eyebrow { color: var(--peach); }
.about-inner { display: grid; grid-template-columns: 4fr 7fr; gap: 30px; }
.about .button { margin-top: 18px; }
.company-details { margin-top: 13px; font-size: 14px; }
.company-details dt { font-weight: 650; }
.company-details dd + dt { margin-top: 6px; }
#preview-notice { color: #f5e4dc; margin-top: 8px; font-size: 14px; }
.footer { min-height: 80px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; padding-block: 18px; color: var(--muted); font-size: 13px; }
.footer strong, .footer a { color: var(--accent-dark); }

dialog { padding: 0; max-width: min(790px, calc(100% - 32px)); max-height: calc(100% - 32px); width: max-content; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); box-shadow: 0 25px 80px #35222246; }
dialog::backdrop { background: #351e25a8; }
.panel-dismiss { position: sticky; z-index: 1; top: 8px; height: 0; display: flex; justify-content: end; padding-right: 8px; }
.close { width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--accent-dark); font-size: 27px; line-height: 1; }
.close:hover { background: var(--paper); }
.panel-copy { padding: 34px 26px 26px; }
.panel-copy h2 { font-size: clamp(30px, 4vw, 40px); margin-bottom: 12px; }
.detail-layout { display: grid; grid-template-columns: 1fr 1fr; }
.detail-photo { width: 100%; height: 100%; object-fit: cover; }
.detail-group { margin-bottom: 8px; }
.detail-spec { margin-block: 16px; color: var(--muted); font-size: 14px; }
.detail-spec dt { margin-top: 9px; color: var(--ink); font-weight: 700; }
.small-note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.quote-copy { width: min(520px, 100%); }
.quote-copy > p:not(.small-note) { font-size: 14px; color: var(--muted); }
.quote-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-block: 18px; }
.quote-fields label, .copy-fallback { display: grid; gap: 3px; font-size: 14px; font-weight: 650; }
.quote-fields input, .quote-fields select, .copy-fallback textarea { display: block; width: 100%; min-width: 0; min-height: 44px; padding: 8px; border: 1px solid #cdb3aa; border-radius: 3px; background: var(--white); color: var(--ink); font-weight: 400; }
.copy-status:not(:empty), .copy-fallback { margin-top: 10px; }
.copy-fallback textarea { resize: vertical; }
.contact-options { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 15px; padding-block: 12px; border-block: 1px solid var(--line); }
.qr-link { color: var(--accent-dark); font-size: 13px; text-decoration: underline; text-underline-offset: .2em; }
.qr-link span { display: block; text-align: center; }

@media (max-width: 1100px) {
  .shell { width: calc(100% - 72px); }
  .hero-figure { min-height: 400px; }
}
@media (max-width: 800px) {
  .shell { width: calc(100% - 40px); }
  .header-inner { min-height: 68px; position: relative; gap: 12px; }
  .nav-quote { margin-left: auto; }
  .menu-toggle { display: grid; align-content: center; justify-items: center; gap: 5px; width: 42px; height: 42px; background: transparent; border: 1px solid var(--line); border-radius: 4px; }
  .menu-toggle span { display: block; width: 16px; height: 1px; background: var(--ink); }
  nav { display: none; position: absolute; z-index: 2; inset: calc(100% + 1px) 0 auto; padding: 8px 16px; flex-direction: column; gap: 0; border: 1px solid var(--line); border-radius: 4px; background: var(--white); box-shadow: 0 12px 25px #35222220; }
  nav.is-open { display: flex; }
  nav a + a { border-top: 1px solid var(--line); }
  .hero { padding-top: 20px; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy { padding: 25px; }
  .hero-figure { min-height: 0; aspect-ratio: 1.7; }
  h1 { font-size: clamp(44px, 9vw, 68px); margin-block: 12px 14px; }
  .actions { margin-top: 20px; }
  .section { padding-block: 44px 50px; }
  .section-header { align-items: start; flex-direction: column; }
  .catalog-layout { grid-template-columns: 1fr; gap: 13px; margin-top: 18px; }
  .filters { display: flex; flex-wrap: wrap; }
  .filters button { min-height: 38px; text-align: center; }
  .products-grid { grid-template-columns: 1fr; gap: 12px; }
  .product { min-height: 142px; }
  .product-copy { padding: 12px; }
  .product h3 { font-size: 22px; }
  .product-description { font-size: 13px; }
  .wholesale { padding-block: 34px; }
  .wholesale-layout { grid-template-columns: 1fr; gap: 24px; }
  .wholesale-photo { min-height: 0; aspect-ratio: 2.1; }
  .guide, .about-inner { grid-template-columns: 1fr; gap: 18px; }
  .about { padding-block: 36px; }
}
@media (max-width: 460px) {
  .brand strong { font-size: 17px; }
  .brand small { font-size: 10px; }
  .brand { gap: 8px; }
  .brand-mark { width: 34px; height: 34px; font-size: 20px; }
  .header-inner { gap: 8px; }
  .hero-copy { padding-inline: 20px; }
  .button-small { padding-inline: .5rem; gap: .25rem; font-size: 13px; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-photo { height: 180px; }
  .panel-copy { padding: 24px 16px 18px; }
  .quote-copy h2 { padding-right: 36px; }
  .quote-fields { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
