/* Inner pages: products, about, FAQ, contact */

.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 340px;
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(10, 21, 30, .93) 0%, rgba(13, 26, 37, .78) 55%, rgba(15, 29, 41, .5) 100%),
    var(--page-image, url("../images/hero-bg.jpg"));
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .14) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .1;
  -webkit-mask-image: linear-gradient(110deg, #000, transparent 72%);
  mask-image: linear-gradient(110deg, #000, transparent 72%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 64px; }
.page-kicker {
  display: inline-block;
  margin-bottom: 18px;
  padding-left: 13px;
  border-left: 2px solid var(--amber);
  color: #f0c870;
  font-size: 12.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.page-hero h1 {
  max-width: 780px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.16;
  letter-spacing: -.04em;
  color: #fff;
}
.page-hero .page-intro {
  max-width: 620px;
  margin-top: 18px;
  color: #b9c4ce;
  font-size: 16px;
  line-height: 1.8;
}

.page-section { padding: 76px 0; }
.page-section.alt { background: var(--paper-2); }
.page-section.tight { padding-top: 48px; }
.page-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.page-head { max-width: 760px; margin-bottom: 36px; }
.page-head h2 {
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -.03em;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 12px;
}
.page-head p { color: var(--text-muted); font-size: 15.5px; line-height: 1.8; }

.prose { max-width: 780px; color: var(--text-muted); font-size: 16px; line-height: 1.9; }
.prose p + p { margin-top: 16px; }

/* Products catalog */
.catalog-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  margin-bottom: 16px;
}
.catalog-title {
  color: var(--ink);
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.25;
  letter-spacing: -.02em;
}
.catalog-count { color: var(--text-muted); font-size: 13.5px; }
.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 12px 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.filter-chip:hover { border-color: var(--ink); color: var(--ink); }
.filter-chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-count {
  min-width: 20px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}
.filter-chip.is-active .filter-count { background: rgba(255, 255, 255, .16); color: #fff; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.catalog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: box-shadow .25s ease, transform .25s ease;
}
.catalog-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(19, 32, 45, .12); }
.catalog-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background: var(--paper-2);
  overflow: hidden;
}
.catalog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.catalog-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 20px 22px 22px; }
.catalog-body h3 { font-size: 20px; color: var(--ink); }
.catalog-cat { color: var(--amber-text); font-size: 10.5px; font-weight: 700; letter-spacing: 1.4px; }
.catalog-body p { flex: 1; color: var(--text-muted); font-size: 14.5px; line-height: 1.7; }
.catalog-meta { color: #5c6b7a; font-size: 12.5px; }
.catalog-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  color: #8d641c;
  font-size: 14px;
  font-weight: 600;
}
.catalog-link:hover { color: var(--amber-text); }

/* About */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.about-media img { width: 100%; height: auto; border-radius: var(--radius); }
.value-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.value-card {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.value-card h3 { margin-bottom: 7px; color: var(--ink); font-size: 16.5px; }
.value-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }
.qc-list { display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: 8px; }
.qc-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.qc-num { color: var(--amber-text); font-size: 13px; font-weight: 800; letter-spacing: 1px; padding-top: 2px; }
.qc-item h3 { color: var(--ink); font-size: 16px; margin-bottom: 4px; }
.qc-item p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 920px; }
.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.faq-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  color: var(--amber-text);
  font-size: 20px;
  line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] summary { background: #fffdf8; }
.faq-answer { padding: 0 20px 18px; color: var(--text-muted); font-size: 14.5px; line-height: 1.8; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 32px; align-items: start; }
.contact-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.contact-card h2 { font-size: 20px; color: var(--ink); margin-bottom: 14px; }
.contact-list { display: flex; flex-direction: column; gap: 14px; }
.contact-row { display: flex; gap: 10px; align-items: flex-start; color: var(--text-muted); font-size: 14.5px; line-height: 1.7; }
.contact-row .label { display: block; color: var(--muted-2); font-size: 11.5px; }
.contact-row a { color: #8d641c; font-weight: 600; }
.contact-row a:hover { color: var(--amber-text); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.inquiry-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { color: #3b4750; font-size: 13.5px; font-weight: 600; }
.form-field .req { color: #a93a33; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 15px;
}
.form-field textarea { height: 120px; padding: 10px 12px; line-height: 1.65; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(211, 164, 72, .24);
}
.form-field .field-error { color: #a93a33; font-size: 12.5px; }
.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] { border-color: #c25a52; background: #fffafa; }
.form-hint { color: var(--muted-2); font-size: 12.5px; line-height: 1.5; }
.form-status { border-radius: 8px; padding: 10px 12px; font-size: 13.5px; line-height: 1.6; }
.form-status.error { border: 1px solid #f0cfcc; background: #fbeceb; color: #8c2f29; }
.form-success {
  padding: 22px;
  border: 1px solid #cfe3d3;
  border-radius: 10px;
  background: #f3f8f4;
  color: #2f6b43;
  font-size: 14.5px;
  line-height: 1.7;
}
.form-success strong { display: block; font-size: 18px; margin-bottom: 6px; color: #245536; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* WhatsApp floating button */
.wa-fab {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #0f7a43;
  color: #fff;
  box-shadow: 0 10px 26px rgba(9, 40, 26, .32);
  transition: transform .2s ease, background .2s ease;
}
.wa-fab:hover { background: #0c6537; transform: translateY(-2px); }
.wa-fab:focus-visible { outline: 2px solid #f0c870; outline-offset: 3px; }
.wa-fab svg { width: 30px; height: 30px; }
body[data-page="home"] .wa-fab { bottom: 92px; }

@media (max-width: 980px) {
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .about-media { order: -1; }
}
@media (max-width: 620px) {
  .page-hero { min-height: 280px; }
  .page-hero .container { padding-top: 52px; padding-bottom: 52px; }
  .page-hero h1 { font-size: 32px; }
  .page-section { padding: 56px 0; }
  .catalog-grid { grid-template-columns: minmax(0, 1fr); }
  .value-grid, .form-row { grid-template-columns: minmax(0, 1fr); }
  .contact-card { padding: 20px; }
  body[data-page="home"] .wa-fab { bottom: 88px; }
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 12.5px;
  color: #9fb0c0;
}
.breadcrumb a { color: #cfd8e0; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .current { color: #fff; }

/* Contact information + map */
.contact-info { padding: 8px 26px 24px; }
.contact-info .contact-list { gap: 0; }
.contact-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contact-item:last-child { border-bottom: 0; }
.contact-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 10px;
  background: var(--amber-soft);
  color: #8a6417;
}
.contact-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-body { min-width: 0; }
.contact-key {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
}
.contact-value {
  display: block;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
a.contact-value { color: #8d641c; font-weight: 600; }
a.contact-value:hover { color: var(--amber-text); }
.contact-list-tail { padding-top: 2px; }

.map-wrap {
  position: relative;
  height: 360px;
  margin: 4px 0 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f2efe8;
}
.map-canvas { width: 100%; height: 100%; background: #f2efe8; }
.map-fallback {
  position: absolute;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 24px;
  text-align: center;
  background: linear-gradient(160deg, #f7f3ea, #efe9dc);
}
.map-fallback[hidden] { display: none !important; }
.map-fallback-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 2px;
  border-radius: 50%;
  background: var(--amber-soft);
  color: #8a6417;
}
.map-fallback-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.map-fallback strong { color: var(--ink); font-size: 15px; }
.map-fallback p { max-width: 380px; color: var(--text-muted); font-size: 13px; line-height: 1.6; }
.map-fallback a {
  color: #8d641c;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.tage-map-pin { background: none; border: 0; }
.leaflet-container { font-family: var(--font); }
.leaflet-popup-content { color: var(--text); font-size: 13px; line-height: 1.6; }
.leaflet-popup-content strong { color: var(--ink); }
.leaflet-popup-content em { color: var(--muted-2); font-size: 12px; font-style: normal; }
.leaflet-control-attribution { font-size: 10px; }

@media (max-width: 620px) {
  .contact-info { padding: 4px 18px 18px; }
  .map-wrap { height: 300px; }
}

.catalog-start { scroll-margin-top: 96px; }
.catalog-body h3 a { color: inherit; text-decoration: none; }
.catalog-body h3 a:hover { color: var(--amber-text); }
.catalog-actions { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 2px; }

/* Product detail */
.product-page { padding-top: 36px; }
.product-breadcrumb { color: var(--muted-2); }
.product-breadcrumb a { color: #5c6b7a; }
.product-breadcrumb a:hover { color: var(--ink); }
.product-breadcrumb .current { color: var(--ink); }
.product-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 300px;
  color: var(--text-muted);
  font-size: 14px;
}
.pd-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--line);
  border-top-color: var(--amber);
  border-radius: 50%;
  animation: pdspin .8s linear infinite;
}
@keyframes pdspin { to { transform: rotate(360deg); } }
.product-empty { max-width: 560px; margin: 44px auto 24px; text-align: center; }
.product-empty h1 { margin-bottom: 10px; color: var(--ink); font-size: 28px; }
.product-empty p { margin-bottom: 20px; color: var(--text-muted); font-size: 15px; line-height: 1.8; }
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 44px;
  align-items: start;
}
.pd-media-frame {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: #f1f3f4;
  overflow: hidden;
}
.pd-media-frame:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.pd-media-frame img { width: 100%; height: 100%; object-fit: contain; }
.pd-media-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(19, 32, 45, .52);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transform: translateY(-50%);
  transition: background .18s ease;
}
.pd-media-nav:hover { background: rgba(19, 32, 45, .8); }
.pd-media-prev { left: 16px; }
.pd-media-next { right: 16px; }
.pd-media-count {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(19, 32, 45, .78);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .3px;
}
.pd-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pd-thumb {
  width: 64px;
  height: 64px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }
.pd-thumb:hover { border-color: var(--ink); }
.pd-thumb.is-active { border-color: var(--amber); box-shadow: 0 0 0 2px rgba(211, 164, 72, .3); }
.pd-variants { display: flex; flex-direction: column; gap: 20px; margin-top: 26px; }
.pd-variant-group { display: flex; flex-direction: column; gap: 10px; }
.pd-variant-name {
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0;
}
.pd-variant-selected { font-weight: 700; }
.pd-variant-options { display: flex; flex-wrap: wrap; gap: 10px; }
.pd-variant-card {
  position: relative;
  width: 84px;
  height: 84px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f1f3f4;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.pd-variant-card > img { width: 100%; height: 100%; object-fit: cover; }
.pd-variant-card-text {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 6px;
  background: #fff;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
.pd-variant-card:hover { border-color: var(--ink); }
.pd-variant-card.is-selected { border-color: var(--ink); box-shadow: 0 0 0 2px rgba(19, 32, 45, .14); }
.pd-variant-check {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0;
  transition: opacity .18s ease;
}
.pd-variant-check::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 3px;
  width: 4px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}
.pd-variant-card.is-selected .pd-variant-check { opacity: 1; }
.pd-variant-size {
  min-width: 68px;
  height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.pd-variant-size:hover { border-color: var(--ink); color: var(--ink); }
.pd-variant-size.is-selected { background: var(--ink); border-color: var(--ink); color: #fff; }
.pd-variant-error { margin-top: 10px; color: #b3261e; font-size: 13px; }
.variant-zoom {
  position: fixed;
  z-index: 400;
  width: 260px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 22px 52px rgba(11, 23, 34, .24);
  pointer-events: none;
}
.variant-zoom img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 9px;
  background: #f1f3f4;
}
.variant-zoom span {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
.quote-product-variants { display: block; margin-top: 3px; color: var(--text-muted); font-size: 12.5px; }
.pd-cat {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--amber-text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
.pd-info h1 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.18;
  letter-spacing: -.03em;
}
.pd-lead { color: var(--text-muted); font-size: 16px; line-height: 1.75; }
.pd-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pd-meta dt {
  margin-bottom: 5px;
  color: var(--muted-2);
  font-size: 11.5px;
  letter-spacing: .4px;
  text-transform: uppercase;
}
.pd-meta dd { color: var(--ink); font-size: 14.5px; font-weight: 600; }
.pd-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  margin-top: 34px;
}
.pd-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  color: #8d641c;
  font-size: 14px;
  font-weight: 600;
}
.pd-back:hover { color: var(--amber-text); }

/* Product sharing */
.pd-share { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.pd-share-label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted-2);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
}
.pd-share-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}
.pd-share-btn:hover { border-color: var(--ink); background: var(--paper); }
.pd-share-btn:focus-visible { outline: 2px solid var(--amber-text); outline-offset: 2px; }
.pd-share-btn svg {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pd-share-btn img.pd-share-icon {
  width: 18px;
  height: 18px;
  flex: none;
  object-fit: contain;
}
.pd-share-btn.is-copy { border-style: dashed; }

.share-dialog {
  width: min(440px, calc(100vw - 28px));
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  border: 1px solid rgba(19, 32, 45, .14);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 30px 90px rgba(11, 23, 34, .34);
  overflow: hidden;
}
.share-dialog::backdrop { background: rgba(9, 19, 28, .45); }
.share-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 22px 14px;
  border-bottom: 1px solid var(--line);
}
.share-dialog-head h2 { color: var(--ink); font-size: 20px; line-height: 1.3; }
.share-dialog-head p { margin-top: 4px; color: var(--text-muted); font-size: 13px; }
.share-dialog-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.share-dialog-close:hover { background: var(--paper); }
.share-dialog-body { padding: 18px 22px; }
.share-dialog-body p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }
.share-link-row { display: flex; gap: 8px; margin-top: 14px; }
.share-link-row input {
  flex: 1 1 auto;
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
}
.share-link-row .btn { flex: none; height: 42px; padding: 0 16px; }
.share-caption-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.share-qr {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.share-qr[hidden] { display: none; }
.share-qr img {
  width: 132px;
  height: 132px;
  flex: none;
  border-radius: 6px;
  background: #fff;
}
.share-qr-hint { margin: 0; font-size: 13px; line-height: 1.6; color: var(--text-muted); }
.share-caption-btn[hidden] { display: none; }
.share-caption-btn {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.share-caption-btn:hover { background: var(--paper); }
.share-caption-btn:focus-visible { outline: 2px solid var(--amber-text); outline-offset: 2px; }
.share-dialog-foot { display: flex; justify-content: flex-end; padding: 0 22px 20px; }
.share-dialog-done {
  border: 0;
  background: none;
  color: var(--amber-text);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.share-dialog-done:hover { color: var(--ink); }

@media (max-width: 480px) {
  .share-link-row { flex-wrap: wrap; }
  .share-link-row .btn { width: 100%; }
  .share-qr { align-items: flex-start; gap: 12px; padding: 12px; }
  .share-qr img { width: 112px; height: 112px; }
}

.pd-section { margin-top: 52px; padding-top: 36px; border-top: 1px solid var(--line); }
.pd-section h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -.02em;
}
.pd-detail { max-width: 820px; color: var(--text-muted); font-size: 15.5px; line-height: 1.9; }
.pd-detail p + p { margin-top: 14px; }
.pd-detail ul,
.pd-detail ol { margin: 12px 0 12px 22px; }
.pd-detail li { margin: 6px 0; }
.pd-detail a { color: var(--amber-text); text-decoration: underline; text-underline-offset: 2px; }
.pd-detail figure { margin: 24px 0; }
.pd-detail img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.pd-detail figcaption { margin-top: 8px; color: var(--text-muted); font-size: 13px; text-align: center; }
.pd-detail h3,
.pd-detail h4 { margin: 22px 0 8px; color: var(--ink); font-size: 18px; line-height: 1.4; }
.pd-specs-wrap {
  max-width: 820px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.pd-specs { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.pd-specs th,
.pd-specs td { padding: 13px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.pd-specs tr:last-child th,
.pd-specs tr:last-child td { border-bottom: 0; }
.pd-specs th { width: 38%; background: #faf9f6; color: var(--ink); font-weight: 600; }
.pd-specs td { color: var(--text-muted); }

/* Size guide */
.pd-size-link {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  color: var(--amber-text);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pd-size-link:hover { color: var(--ink); }
.pd-size-link[hidden] { display: none; }
.pd-size-section { scroll-margin-top: 96px; }
.pd-size-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}
.pd-size-head h2 { margin: 0; }
.pd-size-toggle {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
.pd-size-toggle button {
  min-width: 48px;
  height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.pd-size-toggle button:hover { color: var(--ink); }
.pd-size-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.pd-size-toggle button:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.pd-size-wrap {
  max-width: 820px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.pd-size-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.pd-size-table th,
.pd-size-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}
.pd-size-table tr:last-child th,
.pd-size-table tr:last-child td { border-bottom: 0; }
.pd-size-table thead th {
  background: #faf9f6;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}
.pd-size-table tbody th { color: var(--ink); font-weight: 600; }
.pd-size-table tbody td { color: var(--text-muted); }
.pd-size-table tbody tr:nth-child(even) th,
.pd-size-table tbody tr:nth-child(even) td { background: #fcfbf8; }
.pd-size-note {
  max-width: 820px;
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.7;
}

/* 产品详情询盘弹窗 */
body.quote-open { overflow: hidden; }
.quote-dialog {
  width: min(720px, calc(100vw - 28px));
  max-width: 720px;
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  border: 1px solid rgba(19, 32, 45, .14);
  border-radius: 18px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 30px 90px rgba(11, 23, 34, .34);
  overflow: hidden;
}
.quote-dialog::backdrop {
  background: rgba(11, 23, 34, .62);
  backdrop-filter: blur(3px);
}
.quote-shell { position: relative; max-height: calc(100dvh - 24px); }
.quote-panel {
  max-height: calc(100dvh - 24px);
  padding: 32px 32px 28px;
  overflow-y: auto;
}
.quote-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, .96);
  color: var(--ink);
  font-size: 25px;
  line-height: 1;
  transition: background .2s ease, border-color .2s ease;
}
.quote-close:hover { border-color: #bdb6a7; background: var(--paper); }
.quote-head { padding-right: 34px; }
.quote-kicker {
  display: block;
  margin-bottom: 7px;
  color: var(--amber-text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
.quote-head h2 {
  color: var(--ink);
  font-size: 30px;
  line-height: 1.18;
  letter-spacing: -.03em;
}
.quote-head p { margin-top: 7px; color: var(--text-muted); font-size: 14px; line-height: 1.7; }
.quote-product {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0 22px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #faf9f6;
}
.quote-product img {
  width: 64px;
  height: 64px;
  flex: none;
  border: 1px solid #e8e3d8;
  border-radius: 9px;
  background: #fff;
  object-fit: contain;
}
.quote-product-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.quote-product-cat {
  color: var(--amber-text);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.quote-product-body strong { color: var(--ink); font-size: 16px; line-height: 1.35; }
.quote-product-body span:last-child { color: var(--text-muted); font-size: 12.5px; }
.quote-panel .inquiry-form { gap: 13px; }
.quote-submit { width: 100%; margin-top: 2px; }
.quote-success { margin-top: 4px; }
.quote-success .btn { margin-top: 14px; }

@media (max-width: 980px) {
  .product-detail { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .pd-media-frame { aspect-ratio: 1 / 1; }
}
@media (max-width: 620px) {
  .product-page { padding-top: 22px; }
  .pd-media-nav { width: 36px; height: 36px; font-size: 22px; }
  .pd-thumb { width: 54px; height: 54px; }
  .pd-variant-options { gap: 8px; }
  .pd-variant-card { width: 72px; height: 72px; }
  .pd-variant-size { min-width: 56px; height: 44px; padding: 0 14px; }
  .pd-variants { gap: 18px; margin-top: 24px; }
  .pd-actions { gap: 12px 20px; margin-top: 28px; }
  .pd-back { min-height: 40px; }
  .pd-info h1 { font-size: 26px; }
  .pd-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-section { margin-top: 36px; padding-top: 28px; }
  .pd-specs th { width: 42%; }
  .quote-dialog { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); border-radius: 14px; }
  .quote-shell, .quote-panel { max-height: calc(100dvh - 16px); }
  .quote-panel { padding: 24px 18px 20px; }
  .quote-head h2 { font-size: 24px; }
  .quote-product { margin: 16px 0 18px; padding: 10px; }
  .quote-product img { width: 54px; height: 54px; }
  .quote-close { top: 10px; right: 10px; width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .pd-spinner { animation: none; }
}
.contact-map-link {
  display: inline-block;
  margin-top: 4px;
  color: var(--amber-text);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-map-link:hover { color: var(--ink); }

/* 案例与故事 */
.story-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.story-case {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(19, 32, 45, .04);
}
.story-tag {
  color: var(--amber-text);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
}
.story-case h3 {
  margin: 12px 0 18px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -.02em;
}
.story-block { margin-top: 14px; }
.story-block:first-of-type { margin-top: 0; }
.story-label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted-2);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.story-block p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.pain-card {
  display: flex;
  gap: 16px;
  padding: 22px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}
.pain-num {
  color: var(--amber);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
}
.pain-card h3 { margin-bottom: 6px; color: var(--ink); font-size: 16px; }
.pain-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }
.fabric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.fabric-card {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}
.fabric-card h3 { color: var(--ink); font-size: 17px; }
.fabric-use {
  display: inline-block;
  margin: 8px 0 12px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--amber-soft);
  color: #7a5510;
  font-size: 11px;
  font-weight: 600;
}
.fabric-card p { color: var(--text-muted); font-size: 13.5px; line-height: 1.7; }
@media (max-width: 1000px) {
  .story-case-grid { grid-template-columns: minmax(0, 1fr); }
  .fabric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .pain-grid, .fabric-grid { grid-template-columns: minmax(0, 1fr); }
}

/* 文章页 */
.article-hero {
  padding: 120px 0 64px;
  background: var(--ink);
  color: #fff;
}
.article-hero .breadcrumb { color: #a9b5c0; margin-bottom: 26px; }
.article-hero .breadcrumb a { color: #d8dee4; }
.article-hero .breadcrumb .current { color: var(--amber); }
.article-kind {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--amber);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.article-hero h1 {
  max-width: 900px;
  color: #fff;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.18;
  letter-spacing: -.03em;
}
.article-summary {
  max-width: 760px;
  margin-top: 18px;
  color: #b9c4ce;
  font-size: 17px;
  line-height: 1.8;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 26px;
  color: #93a2af;
  font-size: 12.5px;
  letter-spacing: .02em;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
  align-items: start;
}
.article-body { min-width: 0; color: var(--text); font-size: 16.5px; line-height: 1.9; }
.article-body h2 {
  margin: 40px 0 14px;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.3;
  letter-spacing: -.02em;
}
.article-body h3 { margin: 30px 0 10px; color: var(--ink); font-size: 20px; }
.article-body p { margin: 0 0 16px; color: var(--text-muted); }
.article-body ul, .article-body ol { margin: 0 0 18px 22px; color: var(--text-muted); }
.article-body li { margin: 7px 0; }
.article-body a { color: var(--amber-text); text-decoration: underline; text-underline-offset: 3px; }
.article-body strong { color: var(--ink); }
.article-body blockquote {
  margin: 24px 0;
  padding: 16px 20px;
  border-left: 3px solid var(--amber);
  background: var(--paper);
  color: var(--ink-2);
}
.article-body figure { margin: 26px 0; }
.article-body figure img { width: 100%; height: auto; border-radius: 12px; }
.article-body figcaption { margin-top: 8px; color: var(--muted-2); font-size: 12.5px; text-align: center; }
.article-cover { margin: 0 0 30px; }
.article-cover img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 14px; }
.article-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 18px; }
.article-side-block {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}
.article-side-block h2 { margin-bottom: 10px; color: var(--ink); font-size: 14px; letter-spacing: .04em; }
.article-side-block p { margin-bottom: 14px; color: var(--text-muted); font-size: 13.5px; line-height: 1.7; }
.article-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.article-tags span {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-2);
  font-size: 11.5px;
}
.article-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.article-related a {
  display: block;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
}
.article-related a:hover { border-color: var(--amber); }
.article-related span { display: block; margin-bottom: 8px; color: var(--amber-text); font-size: 10.5px; font-weight: 700; letter-spacing: 1.2px; }
.article-related strong { display: block; font-size: 16px; line-height: 1.45; }
@media (max-width: 980px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-side { position: static; }
  .article-related { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .article-hero { padding: 96px 0 44px; }
  .article-body { font-size: 16px; }
  .article-body h2 { font-size: 21px; }
}

/* 文章列表 */
.article-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.article-filter button {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 600;
}
.article-filter button:hover { border-color: var(--amber); color: var(--ink); }
.article-filter button.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.article-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.article-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  color: var(--text);
  text-decoration: none;
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.article-card:hover { border-color: var(--amber); box-shadow: 0 10px 28px rgba(19, 32, 45, .07); }
.article-card-cover { aspect-ratio: 16 / 10; background: var(--paper); overflow: hidden; }
.article-card-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-card-body { display: flex; flex-direction: column; gap: 8px; padding: 20px; }
.article-card-kind {
  color: var(--amber-text);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}
.article-card h3 { color: var(--ink); font-size: 19px; line-height: 1.35; letter-spacing: -.02em; }
.article-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }
.article-card-meta { color: var(--muted-2); font-size: 11.5px; }
.article-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.article-card-tags span {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-2);
  font-size: 10.5px;
}
.article-list-empty { padding: 40px 0; color: var(--text-muted); font-size: 15px; }
.article-list-more { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
@media (max-width: 980px) {
  .article-list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .article-list-grid { grid-template-columns: minmax(0, 1fr); }
}
.article-all-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--amber-text);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-all-link:hover { color: var(--ink); }

/* 法律页面：按当前语言只显示对应正文 */
html[lang="zh-CN"] .legal-en { display: none; }
html:not([lang="zh-CN"]) .legal-zh { display: none; }
