/* ========== Reset & Base ========== */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #F7F2E9;
  --bg-warm: #EFE7D7;
  --cream: #F8F4ED;
  --clay: #B8755A;
  --clay-dark: #9A5E47;
  --gold: #C99A5B;
  --brown: #3A2E26;
  --brown-soft: #5C4A3F;
  --line: #E4DACA;
  --shadow: 0 24px 60px rgba(58, 46, 38, .12);
  --shadow-sm: 0 8px 24px rgba(58, 46, 38, .08);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  font-family: "Noto Serif SC", serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--brown);
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

em { font-style: normal; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
/* ========== Typography ========== */
h1,
h2,
h3,
h4 {
  font-family: "Noto Serif SC", serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--brown);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.01em; }

h2 { font-size: clamp(2rem, 4vw, 3.2rem); }

h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }

h4 { font-size: 1.35rem; }

.section-tag {
  display: inline-block;
  font-family: "Noto Serif SC", serif;
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 18px;
}

.section-tag.light { color: var(--gold); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 70px; }

.section-head p { margin-top: 18px; color: var(--brown-soft); }

.accent { color: var(--clay); font-style: italic; }
/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color .35s var(--ease-out), color .35s var(--ease-out), transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s var(--ease-out);
  border: 1px solid transparent;
  font-family: inherit;
}

.btn-primary {
  background: var(--brown);
  color: #fff;
}
@media (hover: hover) and (pointer: fine) {

.btn-primary:hover { background: var(--clay); transform: translateY(-2px); box-shadow: var(--shadow-sm); }}

.btn-ghost {
  background: transparent;
  color: var(--brown);
  border-color: var(--brown);
}

.btn-ghost:hover { background: var(--brown); color: #fff; }
/* Press feedback - immediate tactile response (Apple: kill latency on press) */
.btn:active,
.btn-primary:active,
.btn-ghost:active,
.filter-btn:active,
.craft-card:active,
.overview-card:active,
.gallery-grid .color-swatch:active,
.lang-option:active,
.pd-close:active {
  transform: scale(.97);
  transition: transform 160ms var(--ease-out);
}
/* ========== Navigation ========== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: background-color .4s var(--ease-out), padding .4s var(--ease-out), box-shadow .4s var(--ease-out);
  background: rgba(247, 242, 233, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav.scrolled {
  background: rgba(247, 242, 233, 0.92);
  padding: 14px 0;
  box-shadow: 0 1px 0 var(--line);
}

.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Noto Serif SC", serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--brown);
  margin-right: auto;
}

.logo-mark {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brown);
  color: var(--cream);
  font-style: italic;
  font-size: 1.2rem;
}

.logo-text em { font-style: italic; color: var(--clay); margin-left: 6px; font-size: 1.1rem; }

.nav-links {
  display: flex;
  gap: 38px;
}

.nav-links a {
  font-size: 0.92rem;
  color: var(--brown-soft);
  position: relative;
  padding: 6px 0;
  transition: color .3s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  width: 0;
  height: 1px;
  background: var(--clay);
  transition: width .3s var(--ease-out), left .3s var(--ease-out);
}

.nav-links a:hover { color: var(--brown); }

.nav-links a:hover::after { width: 100%; left: 0; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }

.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--brown);
  margin: 5px 0;
  transition: background-color .3s var(--ease-out);
}
/* ========== Language Switcher ========== */
.lang-switcher {
  position: relative;
  flex-shrink: 0;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.4);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
  color: var(--brown-soft);
  font-size: 0.82rem;
  font-family: inherit;
  transition: border-color .3s var(--ease-out), color .3s var(--ease-out), background-color .3s var(--ease-out);
  white-space: nowrap;
}

.lang-toggle:hover {
  border-color: var(--clay);
  color: var(--brown);
  background: rgba(255,255,255,0.7);
}

.lang-toggle svg { flex-shrink: 0; }

.lang-current-label {
  font-weight: 500;
  letter-spacing: 0.06em;
  min-width: 20px;
  text-align: center;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 168px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 6px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transform-origin: top right;
  transition: opacity .3s var(--ease-out), visibility .3s var(--ease-out), transform .3s var(--ease-out);
  z-index: 200;
}

.lang-switcher.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--brown-soft);
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out);
}

.lang-option:hover {
  background: var(--bg-warm);
  color: var(--brown);
}

.lang-option.active {
  background: var(--bg-warm);
  color: var(--clay);
  font-weight: 500;
}
/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(184, 117, 90, 0.18), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(201, 154, 91, 0.15), transparent 50%),
    var(--bg);
  z-index: -1;
}

.hero-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.hero-text p {
  margin: 26px 0 36px;
  font-size: 1.05rem;
  color: var(--brown-soft);
  max-width: 480px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-meta {
  display: flex;
  gap: 60px;
  margin-top: 70px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.hero-meta li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-meta strong {
  font-family: "Noto Serif SC", serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--brown);
}

.hero-meta span { font-size: 0.85rem; color: var(--brown-soft); }
/* Hero visual */
.hero-visual {
  position: relative;
  width: 100%;
  min-height: 560px;
  background: url('../images/hero-dog.webp') center/cover no-repeat;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--brown-soft);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--clay), transparent);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 50%;
  background: var(--brown);
  animation: scrollDown 2s linear infinite;
}
@keyframes scrollDown {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}
/* ========== About ========== */
.about {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 600px;
  overflow: hidden;
  background: var(--cream); /* 右侧色块 */
}
/* 左侧工厂图，尽量占满左侧 */
.about-photo {
  flex: 0 0 54%;
  align-self: stretch;
  background: url('../images/factory-overview.webp') center/cover no-repeat;
}

.about-badge {
  position: absolute;
  top: 40px; left: 40px;
  z-index: 3;
  background: var(--cream);
  padding: 12px 24px;
  border-radius: 999px;
  font-family: "Noto Serif SC", serif;
  font-style: italic;
  color: var(--brown);
  box-shadow: var(--shadow-sm);
}

.about-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 90px 8%;
}

.about-text {
  max-width: 480px;
}

.about-text h2 { margin-bottom: 28px; }

.about-text p { color: var(--brown-soft); margin-bottom: 18px; }

.about-stats {
  display: flex;
  gap: 50px;
  margin-top: 50px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.about-stats div { display: flex; flex-direction: column; gap: 4px; }

.about-stats strong {
  font-family: "Noto Serif SC", serif;
  font-size: 2.2rem;
  color: var(--clay);
}

.about-stats span { font-size: 0.85rem; color: var(--brown-soft); }
/* ========== Categories ========== */
.categories { padding: 120px 0; }
/* Hero CTA — 替代四张品类卡的大按钮区 */
.categories-hero-cta {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.btn-lg {
  padding: 18px 48px;
  font-size: 1.15rem;
  border-radius: 60px;
  letter-spacing: 0.02em;
}

.categories-hero-hint {
  font-size: 0.85rem;
  color: var(--brown-soft);
  opacity: 0.8;
}
/* ========== Gallery ========== */
.gallery { padding: 120px 0; background: var(--cream); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px 24px;
}

.gallery-grid .color-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: transform .4s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {

.gallery-grid .color-swatch:hover { transform: translateY(-6px); }}

.gallery-grid .swatch-circle {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.7);
  box-shadow: 0 6px 18px rgba(0,0,0,.1), inset 0 -4px 12px rgba(0,0,0,.06);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}

.gallery-grid .color-swatch:hover .swatch-circle {
  transform: scale(1.12);
  box-shadow: 0 10px 28px rgba(0,0,0,.18), inset 0 -4px 12px rgba(0,0,0,.06);
}

.gallery-grid .color-swatch figcaption {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gallery-grid .color-swatch .swatch-name {
  font-size: 0.92rem;
  color: var(--brown-soft);
  letter-spacing: 0.04em;
}

.gallery-grid .color-swatch .swatch-hex {
  font-size: 0.78rem;
  color: var(--brown-soft);
  font-family: "Noto Serif SC", serif;
  letter-spacing: 0.06em;
  opacity: 0.6;
}
/* ========== Craft ========== */
.craft { padding: 120px 0; }

.craft-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
}

.craft-card {
  padding: 38px 30px;
  background: var(--cream);
  border-radius: 20px;
  border: 1px solid var(--line);
  transition: background-color .4s var(--ease-out), color .4s var(--ease-out), transform .4s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {

.craft-card:hover {
  background: var(--brown);
  color: var(--cream);
  transform: translateY(-4px);
}}

.craft-card:hover h4,
.craft-card:hover .craft-num { color: var(--cream); }

.craft-num {
  font-family: "Noto Serif SC", serif;
  font-size: 2.6rem;
  color: var(--clay);
  font-style: italic;
  margin-bottom: 18px;
  transition: color .4s;
}

.craft-card h4 { margin-bottom: 12px; transition: color .4s; }

.craft-card p { font-size: 0.92rem; color: var(--brown-soft); line-height: 1.7; }

.craft-card:hover p { color: rgba(248,244,237,.8); }
/* 表单反馈消息 */
.form-feedback {
  display: none;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-top: 4px;
  transition: background-color .3s, color .3s, border-color .3s;
}

.form-feedback.loading {
  background: rgba(201, 154, 91, .12);
  color: var(--gold);
  border: 1px solid rgba(201, 154, 91, .3);
}

.form-feedback.success {
  background: rgba(152, 217, 185, .12);
  color: #98D9B9;
  border: 1px solid rgba(152, 217, 185, .3);
}

.form-feedback.error {
  background: rgba(244, 107, 107, .12);
  color: #F46B6B;
  border: 1px solid rgba(244, 107, 107, .3);
}
/* ========== Footer ========== */
.footer {
  padding: 70px 0 40px;
  background: var(--brown);
  border-top: 1px solid rgba(248,244,237,.1);
  color: rgba(248,244,237,.65);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
}

.footer-col h4 {
  font-family: "Noto Serif SC", serif;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 22px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

.footer-col a {
  color: rgba(248,244,237,.65);
  transition: color .3s;
  font-size: 0.92rem;
}

.footer-col a:hover { color: var(--gold); }

.footer-col p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(248,244,237,.55);
}

.footer-contact li {
  display: grid;
  gap: 4px;
}

.footer-contact .label {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(248,244,237,.45);
}

.footer-contact a,
.footer-contact span {
  color: rgba(248,244,237,.8);
  font-size: 0.95rem;
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 28px;
  border-top: 1px solid rgba(248,244,237,.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(248,244,237,.45);
}

.footer-socials {
  display: flex;
  gap: 22px;
  align-items: center;
}

.footer-socials a {
  color: rgba(248,244,237,.65);
  transition: color .3s;
  display: flex;
  padding: 4px;            /* 放大可点击热区，移动端更易点中 */
  margin: -4px;            /* 抵消 padding 对排版的位移 */
}

.footer-socials a:hover { color: var(--gold); }

.footer-socials svg {
  width: 28px;             /* 由 20px 放大到 28px，更醒目 */
  height: 28px;
}

@media (max-width: 980px) {

.footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }}
@media (max-width: 580px) {

.footer { padding: 50px 0 30px; }

.footer-grid { grid-template-columns: 1fr; gap: 34px; }

.footer-bottom { flex-direction: column; text-align: center; gap: 16px; }}

/* ========== Responsive ========== */
@media (max-width: 1024px) {

.hero-inner { grid-template-columns: 1fr; gap: 60px; }

.hero-visual { min-height: 420px; margin: 0 auto; }

.about { flex-direction: column; min-height: auto; }

.about-photo { flex: none; width: 100%; height: 320px; }

.about-badge { top: 24px; left: 24px; padding: 10px 18px; font-size: 0.9rem; }

.about-inner { flex: none; padding: 64px 24px; justify-content: center; }

.about-text {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
  }

.about-stats { justify-content: center; }

.craft-grid { grid-template-columns: repeat(2, 1fr); }

.gallery-grid { grid-template-columns: repeat(4, 1fr); }}
@media (max-width: 720px) {

.container { padding: 0 20px; }

.nav-inner { padding: 0 20px; gap: 10px; }

.nav-links { display: none; }

.nav-toggle { display: block; }

.lang-toggle { padding: 6px 10px; }

.lang-toggle .lang-current-label { display: inline; }
/* Typography — shrink headings */
h1 { font-size: 1.9rem; }

h2 { font-size: 1.55rem; }

h3 { font-size: 1.2rem; }

h4 { font-size: 1.1rem; }
/* Hero */
.hero { padding: 100px 0 50px; min-height: auto; }

.hero-text p { font-size: 0.92rem; margin: 16px 0 24px; max-width: 100%; line-height: 1.7; }

.hero-actions { gap: 12px; }

.btn { padding: 11px 22px; font-size: 0.85rem; }

.hero-meta { gap: 22px; margin-top: 36px; padding-top: 22px; }

.hero-meta strong { font-size: 1.7rem; }

.hero-meta span { font-size: 0.76rem; }

.hero-visual { min-height: 340px; }

.scroll-hint { display: none; }
/* Section heads */
.section-head { margin-bottom: 36px; }

.section-head p { margin-top: 10px; font-size: 0.88rem; line-height: 1.65; }

.section-tag { font-size: 0.82rem; margin-bottom: 12px; }
/* About */
.about,
.categories,
.craft,
.gallery { padding: 56px 0; }

.about-inner { gap: 40px; }

.about-text h2 { margin-bottom: 18px; }

.about-text p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 14px; }

.about-stats { gap: 20px; margin-top: 28px; padding-top: 22px; }

.about-stats strong { font-size: 1.5rem; }

.about-stats span { font-size: 0.74rem; }
/* Categories */
.craft-grid { grid-template-columns: 1fr; }
/* Gallery */
.gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 20px 14px; }

.gallery-grid .swatch-circle { width: 64px; height: 64px; }

.gallery-grid .color-swatch .swatch-name { font-size: 0.8rem; }

.gallery-grid .color-swatch .swatch-hex { font-size: 0.7rem; }

.craft-card { padding: 22px 18px; }

.craft-num { font-size: 1.8rem; margin-bottom: 10px; }

.craft-card h4 { font-size: 0.98rem; margin-bottom: 8px; }

.craft-card p { font-size: 0.82rem; line-height: 1.6; }
/* Sub-hero */
.sub-hero { padding: 120px 0 50px; }

.sub-hero h1 { margin-bottom: 16px; }

.sub-hero > .container > p { font-size: 0.9rem; margin-bottom: 28px; line-height: 1.65; }
/* Footer */
.footer { padding: 40px 0 24px; }

.footer-grid { gap: 28px; }

.footer-col h4 { margin-bottom: 14px; }}

/* ===== Small phone breakpoint (iPhone SE, etc.) ===== */
@media (max-width: 480px) {

.container { padding: 0 16px; }

.nav-inner { padding: 0 16px; }

h1 { font-size: 1.65rem; }

h2 { font-size: 1.35rem; }

h3 { font-size: 1.1rem; }

.hero { padding: 90px 0 40px; }

.hero-text p { font-size: 0.85rem; margin: 12px 0 20px; }

.hero-meta { gap: 16px; margin-top: 28px; }

.hero-meta strong { font-size: 1.4rem; }

.hero-meta span { font-size: 0.72rem; }

.hero-visual { min-height: 260px; }

.btn { padding: 10px 18px; font-size: 0.8rem; }

.about,
.categories,
.craft,
.gallery { padding: 44px 0; }

.section-head { margin-bottom: 28px; }

.section-head p { font-size: 0.82rem; }

.about-text p { font-size: 0.82rem; }

.about-stats { gap: 14px; }

.about-stats strong { font-size: 1.3rem; }

.gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 10px; }

.gallery-grid .swatch-circle { width: 56px; height: 56px; }

.craft-card { padding: 18px 14px; }

.craft-num { font-size: 1.5rem; }

.craft-card p { font-size: 0.78rem; }

.sub-hero { padding: 100px 0 40px; }

.sub-hero > .container > p { font-size: 0.85rem; }}
/* Mobile nav open */
.nav.open .nav-links {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--cream);
  padding: 20px;
  gap: 18px;
  box-shadow: var(--shadow-sm);
}
/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }

.reveal.in { opacity: 1; transform: translateY(0); }
/* ========== Sub-page Hero ========== */
.sub-hero {
  padding: 160px 0 80px;
  text-align: center;
}

.sub-hero .section-tag { margin-bottom: 16px; }

.sub-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 24px;
}

.sub-hero > .container > p {
  max-width: 600px;
  margin: 0 auto 36px;
  color: var(--brown-soft);
  font-size: 1.05rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--brown-soft);
  margin-bottom: 30px;
  letter-spacing: 0.04em;
}

.breadcrumb a {
  color: var(--clay);
  transition: color .3s;
}

.breadcrumb a:hover { color: var(--clay-dark); }

.breadcrumb .sep { color: var(--line); }

.breadcrumb .current { color: var(--brown); font-weight: 500; }

.coming-soon-hint {
  color: var(--clay) !important;
  font-family: "Noto Serif SC", serif;
  font-style: italic;
  font-size: 1.1rem !important;
  margin-bottom: 30px !important;
}
/* ========== Contact Page ========== */
.contact-page {
  padding: 160px 0 100px;
  background: var(--cream);
  min-height: 100vh;
}

.contact-page-inner {
  max-width: 720px;
  margin: 0 auto;
}

.contact-page h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 12px;
  text-align: center;
}

.contact-page .lead {
  text-align: center;
  color: var(--brown-soft);
  margin-bottom: 48px;
  font-size: 1.05rem;
}

.contact-page-form {
  display: grid;
  gap: 20px;
  background: var(--bg);
  padding: 40px;
  border-radius: 24px;
  border: 1px solid var(--line);
}

.contact-page-form label {
  display: grid;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--brown);
  letter-spacing: 0.04em;
}

.contact-page-form label .required { color: #D76B6B; margin-left: 2px; }

.contact-page-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-page-form input,
.contact-page-form select,
.contact-page-form textarea {
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--brown);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color .3s, box-shadow .3s;
}

.contact-page-form input:focus,
.contact-page-form select:focus,
.contact-page-form textarea:focus {
  outline: none;
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(139, 90, 43, .08);
}

.contact-page-form select option { color: var(--brown); }

.contact-page-form textarea { resize: vertical; min-height: 130px; }

.contact-page-form button[type="submit"] {
  justify-self: start;
  margin-top: 8px;
}

.contact-wholesale-note {
  margin-top: 28px;
  text-align: center;
  color: var(--brown-soft);
  font-size: 0.95rem;
}

.contact-wholesale-note a {
  color: var(--clay);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-wholesale-note a:hover { color: var(--brown); }

@media (max-width: 600px) {

.contact-page { padding: 130px 0 70px; }

.contact-page-form { padding: 28px 22px; }

.contact-page-form .form-row { grid-template-columns: 1fr; gap: 20px; }}
/* ========== FAQ Placeholder Page ========== */
.faq-placeholder {
  padding: 160px 0 100px;
  background: var(--cream);
  min-height: 60vh;
  text-align: center;
}

.faq-placeholder h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 20px;
}

.faq-placeholder p {
  color: var(--brown-soft);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 36px;
}
@media (max-width: 720px) {

.faq-placeholder { padding: 130px 0 70px; }}
/* ========== Color Swatch Tooltip ========== */
.color-tooltip {
  position: fixed;
  z-index: 9999;
  max-width: 260px;
  padding: 14px 18px;
  background: var(--brown);
  color: var(--cream);
  font-size: 0.85rem;
  line-height: 1.6;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(58, 46, 38, .28);
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
  white-space: normal;
  word-break: break-word;
}

.color-tooltip.show {
  opacity: 1;
  transform: translateY(0);
}
/* Swatch cursor hint */
.swatch-circle { cursor: pointer; transition: transform .3s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {

.swatch-circle:hover { transform: scale(1.08); }}
/* ========== Legal / Policy Pages ========== */
.legal-page {
  padding: 70px 0 110px;
  background: var(--cream);
  min-height: 60vh;
}

.legal-content {
  max-width: 820px;
  margin: 0 auto;
}
/* Inline trilingual blocks toggled by the global language switcher */
.legal-lang { display: none; }

.legal-lang.active { display: block; animation: legalFade .35s var(--ease-out); }
@keyframes legalFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.legal-meta {
  font-size: 0.9rem;
  color: var(--brown-soft);
  margin-bottom: 30px;
}

.legal-meta strong { color: var(--clay); }

.legal-toc {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 46px;
}

.legal-toc-title {
  font-family: "Noto Serif SC", serif;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 14px;
}

.legal-toc ol {
  list-style: none;
  display: grid;
  gap: 10px;
  counter-reset: toc;
}

.legal-toc li { counter-increment: toc; }

.legal-toc a {
  display: flex;
  gap: 10px;
  align-items: baseline;
  color: var(--brown-soft);
  font-size: 0.95rem;
  transition: color .25s;
}

.legal-toc a::before {
  content: counter(toc) ".";
  min-width: 22px;
  color: var(--gold);
  font-family: "Noto Serif SC", serif;
  font-weight: 600;
}

.legal-toc a:hover { color: var(--clay); }

.legal-content h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin: 42px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 110px;
}

.legal-content h2:first-of-type { margin-top: 0; }

.legal-content h3 {
  font-size: 1.15rem;
  margin: 26px 0 10px;
  color: var(--brown);
}

.legal-content p {
  color: var(--brown-soft);
  margin-bottom: 16px;
  line-height: 1.8;
}

.legal-content ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 16px;
  display: grid;
  gap: 8px;
}

.legal-content li { color: var(--brown-soft); line-height: 1.7; }

.legal-content strong { color: var(--brown); font-weight: 600; }

.legal-content a { color: var(--clay); text-decoration: underline; text-underline-offset: 3px; }

.legal-content a:hover { color: var(--brown); }

.legal-notice {
  background: var(--bg-warm);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
  margin: 24px 0;
  font-size: 0.92rem;
  color: var(--brown-soft);
  line-height: 1.7;
}

.legal-back { text-align: center; margin-top: 56px; }
/* Footer legal bar */
.footer-legal-bar {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(248,244,237,.1);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: center;
}

.footer-legal-bar a {
  color: rgba(248,244,237,.5);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  transition: color .25s;
}

.footer-legal-bar a:hover { color: var(--gold); }

@media (max-width: 720px) {

.legal-page { padding: 50px 0 80px; }

.legal-toc { padding: 18px 20px; }}
/* ========== Cookie Consent Banner ========== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: var(--brown);
  color: var(--cream);
  box-shadow: 0 -12px 44px rgba(58, 46, 38, .30);
  transform: translateY(115%);
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}

.cookie-banner.show { transform: translateY(0); }

.cookie-banner__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 20px 26px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.cookie-banner__icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(248, 244, 237, .08);
  display: grid;
  place-items: center;
  color: var(--gold);
}

.cookie-banner__body { flex: 1 1 auto; min-width: 0; }

.cookie-banner__title {
  font-family: "Noto Serif SC", serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 4px;
  color: #fff;
}

.cookie-banner__text {
  margin: 0;
  font-size: .9rem;
  line-height: 1.6;
  color: rgba(248, 244, 237, .82);
}

.cookie-banner__more {
  display: inline-block;
  margin-top: 6px;
  font-size: .86rem;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner__more:hover { color: #e2b878; }

.cookie-banner__actions {
  flex: 0 0 auto;
  display: flex;
  gap: 12px;
  align-items: center;
}

.cookie-btn {
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: .9rem;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 999px;
  transition: transform .15s var(--ease-out), background .2s var(--ease-out), color .2s var(--ease-out), border-color .2s var(--ease-out);
  white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {

.cookie-btn:hover { transform: translateY(-1px); }}

.cookie-btn--accept { background: var(--gold); color: var(--brown); }

.cookie-btn--accept:hover { background: #d8aa6b; }

.cookie-btn--necessary {
  background: transparent;
  color: var(--cream);
  border-color: rgba(248, 244, 237, .35);
}

.cookie-btn--necessary:hover { border-color: var(--gold); color: var(--gold); }

@media (max-width: 760px) {

.cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 18px;
  }

.cookie-banner__icon { display: none; }

.cookie-banner__actions { width: 100%; }

.cookie-btn { flex: 1 1 0; text-align: center; padding: 13px 14px; }}
/* ========== Product Overview ========== */
.overview {
  background: var(--cream);
  padding: 110px 0;
}

.overview .section-head { margin-bottom: 50px; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 56px;
  max-width: 880px;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--brown-soft);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: border-color .3s var(--ease-out), color .3s var(--ease-out), transform .3s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {

.filter-btn:hover {
  border-color: var(--clay);
  color: var(--clay);
  transform: translateY(-1px);
}}

.filter-btn.active {
  background: var(--brown);
  border-color: var(--brown);
  color: var(--cream);
}

.filter-btn.active .filter-count {
  background: rgba(248, 244, 237, .18);
  color: var(--cream);
}

.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--bg-warm);
  color: var(--brown-soft);
  font-size: 0.78rem;
  font-weight: 500;
  transition: background .3s var(--ease-out), color .3s var(--ease-out);
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.overview-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {

.overview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}}

.overview-card.is-hidden {
  display: none;
}

.overview-img {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-warm);
}

.overview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}

.overview-card:hover .overview-img img {
  transform: scale(1.06);
}

.overview-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px 6px;
}

.overview-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--bg-warm);
  color: var(--clay-dark);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 999px;
}

.overview-code {
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.74rem;
  color: var(--brown-soft);
  opacity: .7;
  letter-spacing: 0.02em;
}

.overview-name {
  padding: 0 18px 22px;
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--brown);
  flex: 1;
}

.overview-arrow {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brown);
  color: var(--cream);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), background .35s var(--ease-out);
}

.overview-card:hover .overview-arrow {
  opacity: 1;
  transform: translateX(0);
  background: var(--clay);
}

/* ========== Responsive: Product Overview ========== */
@media (max-width: 1080px) {

.overview-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }}
@media (max-width: 820px) {

.overview { padding: 80px 0; }

.overview-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }

.overview-meta { padding: 14px 14px 4px; }

.overview-name { padding: 0 14px 18px; font-size: 0.96rem; }

.filter-btn { padding: 10px 16px; font-size: 0.88rem; }}
@media (max-width: 520px) {

.filter-bar { gap: 8px; margin-bottom: 40px; }

.filter-btn { padding: 9px 14px; font-size: 0.84rem; gap: 7px; }

.filter-count { min-width: 20px; height: 20px; font-size: 0.72rem; }

.overview-grid { grid-template-columns: 1fr 1fr; gap: 14px; }

.overview-card { border-radius: 14px; }

.overview-name { font-size: 0.9rem; padding-bottom: 36px; }

.overview-arrow { width: 26px; height: 26px; font-size: 0.85rem; right: 14px; bottom: 14px; }}
/* ========== Product Detail Modal (Overview Page) ========== */
.product-detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease-out), visibility .3s var(--ease-out);
  padding: 16px;
}

.product-detail-overlay.active {
  opacity: 1;
  visibility: visible;
}

.product-detail-modal {
  background: var(--bg);
  border-radius: 20px;
  max-width: 680px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(24px) scale(0.97);
  transition: transform .35s cubic-bezier(.2,.9,.3,1);
  box-shadow: 0 24px 80px rgba(0,0,0,.22), 0 8px 24px rgba(0,0,0,.12);
}

.product-detail-overlay.active .product-detail-modal {
  transform: translateY(0) scale(1);
}
/* Asymmetric exit: dismiss faster than it opens (Emil P3) */
.product-detail-overlay:not(.active) .product-detail-modal {
  transition: transform .2s var(--ease-in-out);
}
/* Close button */
.pd-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--cream);
  color: var(--brown);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), transform .2s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {

.pd-close:hover { background: var(--clay); color: #fff; transform: rotate(90deg); }}
/* Modal body layout */
.pd-body {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 36px;
  padding: 32px 32px 28px;
}
@media (max-width: 560px) {

.pd-body { grid-template-columns: 1fr; padding: 20px; }}
/* Image */
/* Gallery */
.pd-gallery { min-width: 0; }

.pd-main-img {
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  background: var(--cream);
}

.pd-main-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity .25s var(--ease-out);
}

.pd-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.pd-thumb {
  width: 52px; height: 52px;
  border-radius: 9px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  background: var(--cream);
  transition: border-color .2s var(--ease-out), transform .2s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {

.pd-thumb:hover { transform: translateY(-2px); }}

.pd-thumb.active { border-color: var(--clay); }
/* Info area */
.pd-info { min-width: 0; }

.pd-code {
  font-size: 0.75rem;
  color: var(--brown-soft);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.pd-tag {
  display: inline-block;
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--gold);
  color: #fff;
  font-weight: 500;
  margin-bottom: 10px;
}

.pd-name {
  font-family: "Noto Serif SC", serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--brown);
  margin: 0 0 12px;
  line-height: 1.35;
}

.pd-desc {
  font-size: 0.87rem;
  color: var(--brown-soft);
  line-height: 1.7;
  margin: 0 0 18px;
}
/* Features */
.pd-features { list-style: none; padding: 0; margin: 0 0 20px; }

.pd-features li {
  font-size: 0.83rem;
  color: var(--brown);
  padding: 5px 0 5px 22px;
  position: relative;
  line-height: 1.5;
}

.pd-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--clay);
  font-weight: 700;
  font-size: 0.85rem;
}
/* Specs table in modal */
.pd-specs-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brown-soft);
  margin: 16px 0 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.pd-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.pd-specs-table th {
  text-align: left;
  padding: 8px 12px;
  background: var(--cream);
  color: var(--brown-soft);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  border-radius: 6px 6px 0 0;
}

.pd-specs-table th:first-child { border-radius: 6px 0 0 0; }

.pd-specs-table th:last-child { border-radius: 0 6px 0 0; }

.pd-specs-table td {
  padding: 9px 12px;
  border-bottom: 1px solid rgba(0,0,0,.05);
  color: var(--brown);
}

.pd-specs-table tr:last-child td { border-bottom: none; }

.pd-specs-table td:first-child {
  font-weight: 600;
  white-space: nowrap;
  color: var(--clay);
}
/* No-data fallback */
.pd-no-specs {
  font-size: 0.82rem;
  color: var(--brown-soft);
  font-style: italic;
  padding: 12px 0;
}
/* 点大图放大灯箱 */
.pd-main-img { cursor: zoom-in; position: relative; }

.pd-main-img::after {
  content: '🔍';
  position: absolute;
  right: 10px; bottom: 10px;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.85);
  border-radius: 50%;
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity .2s var(--ease-out);
}

.pd-main-img:hover::after { opacity: 1; }

.pd-zoom-overlay {
  position: fixed;
  inset: 0;
  z-index: 11000;
  background: rgba(0,0,0,.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s var(--ease-out), visibility .25s var(--ease-out);
  cursor: zoom-out;
}

.pd-zoom-overlay.active { opacity: 1; visibility: visible; }

.pd-zoom-overlay img {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
/* ========== Reduced Motion (accessibility) ========== */
/* Staggered grouped reveal — Emil: 30-80ms between items (P2) */
.craft-grid .craft-card:nth-child(2),
.overview-grid .overview-card:nth-child(2),
.gallery-grid figure:nth-child(2) { transition-delay: .07s; }

.craft-grid .craft-card:nth-child(3),
.overview-grid .overview-card:nth-child(3),
.gallery-grid figure:nth-child(3) { transition-delay: .14s; }

.craft-grid .craft-card:nth-child(4),
.overview-grid .overview-card:nth-child(4),
.gallery-grid figure:nth-child(4) { transition-delay: .21s; }

.craft-grid .craft-card:nth-child(5),
.overview-grid .overview-card:nth-child(5),
.gallery-grid figure:nth-child(5) { transition-delay: .28s; }
/* Keep hover responsive: cancel stagger delay while hovering (higher specificity) */
.craft-grid .craft-card:nth-child(n):hover,
.overview-grid .overview-card:nth-child(n):hover,
.gallery-grid .color-swatch:nth-child(n):hover { transition-delay: 0s; }

@media (prefers-reduced-motion: reduce) {

html { scroll-behavior: auto; }

*,
*::before,
*::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
/* Stop decorative infinite loops */
.scroll-line::after { animation: none !important; }
/* Reveal content immediately - no slide */
.reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

.reveal.in { opacity: 1 !important; transform: none !important; }}

/* Shared navigation and accessible interactions */
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--clay-dark); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.footer-grid { grid-template-columns: 1fr 1fr 1.35fr; }
.nav-inner { gap: 24px; }
.logo { flex-shrink: 0; white-space: nowrap; }
.lang-switcher { flex-shrink: 0; margin-left: 0; }
.lang-toggle { min-width: 48px; min-height: 44px; justify-content: center; }
.lang-dropdown { min-width: 140px; }
.lang-option { padding: 0; }
.lang-option a { display: block; padding: 11px 16px; min-height: 44px; width: 100%; }
.lang-option.active a { font-weight: 700; }
.nav-toggle { flex-shrink: 0; min-width: 44px; min-height: 44px; }
[data-placeholder-link] { cursor: default; }
.swatch-circle { font: inherit; }
.color-tooltip { max-width: min(280px, calc(100vw - 16px)); }
.contact-page-form fieldset { display: grid; gap: 22px; min-width: 0; padding: 0; border: 0; }
.field-error { display: block; color: #A32929; font-size: .85rem; margin-top: 5px; }
.contact-page-form [aria-invalid="true"] { border-color: #A32929; }
.form-feedback.error { color: #A32929; }
.form-feedback.success { color: #22643D; }
.form-feedback.loading { color: var(--brown-soft); }
.product-detail-modal { max-width: 880px; }
.pd-body { grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 28px; }
.pd-main-img { display: block; padding: 0; width: 100%; border: 0; font: inherit; }
.pd-main-img img { object-fit: contain; }
.pd-main-img::after { content: '+'; font-family: sans-serif; font-size: 22px; color: var(--brown); }
.pd-thumb { display: block; padding: 0; overflow: hidden; }
.pd-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pd-close { width: 44px; height: 44px; top: 8px; right: 8px; }
.pd-name { padding-right: 18px; }
.pd-tag { color: var(--brown); }
.pd-contact { display: inline-block; text-decoration: underline; padding: 8px 0; }
.pd-zoom-overlay .pd-close { position: absolute; }
@media (max-width: 1100px) and (min-width: 721px) {
  .nav-inner { padding: 0 20px; gap: 16px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: .82rem; }
  .logo { font-size: 1.2rem; gap: 8px; }
}
@media (max-width: 720px) {
  .nav-inner { padding: 0 16px; gap: 8px; }
  .logo { font-size: 1.1rem; gap: 8px; margin-right: auto; }
  .logo-mark { width: 32px; height: 32px; }
  .lang-toggle { padding: 6px 10px; font-size: .82rem; }
  .nav-links a { display: block; min-height: 44px; padding: 10px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .product-detail-overlay { padding: 12px; }
  .product-detail-modal { max-height: 90vh; }
  .pd-body { grid-template-columns: 1fr; gap: 20px; padding: 44px 20px 24px; }
  .pd-main-img { max-height: 45vh; }
  .pd-main-img img { max-height: 45vh; }
  .pd-thumbs { gap: 6px; }
  .pd-zoom-overlay { padding: 16px; }
}
