/* ==========================================================================
   Jewelives — Shenzhen Jewelives Industrial Co., Ltd
   Design system: warm paper, deep viridian, editorial serif
   ========================================================================== */

:root {
  --bg: #faf7f2;
  --bg-soft: #f3eee6;
  --surface: #ffffff;
  --ink: #191c1f;
  --ink-soft: #4d5257;
  --muted: #7a7f85;
  --line: rgba(25, 28, 31, 0.12);
  --line-soft: rgba(25, 28, 31, 0.07);
  --accent: #e07c10;
  --accent-deep: #8a4d06;
  --accent-soft: #fbeed8;
  --clay: #c07a52;
  --sand: #ede5d8;
  --danger: #b3423a;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(25, 28, 31, 0.06), 0 4px 14px rgba(25, 28, 31, 0.05);
  --shadow-md: 0 2px 6px rgba(25, 28, 31, 0.07), 0 18px 40px rgba(25, 28, 31, 0.1);
  --shadow-lg: 0 8px 24px rgba(25, 28, 31, 0.12), 0 32px 80px rgba(25, 28, 31, 0.16);
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-locked, body.modal-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
@media (max-width: 640px) { .container { padding: 0 20px; } }

/* ---------- Typography ---------- */
h1, h2, h3, .display { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.015em; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-soft); max-width: 60ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--accent); opacity: 0.6; }
.eyebrow-sm {
  display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-size: 0.92rem; font-weight: 600; letter-spacing: 0.01em; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-solid:hover { background: var(--accent-deep); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--ink); border-color: rgba(25, 28, 31, 0.28); }
.btn-outline:hover { border-color: var(--ink); background: rgba(25, 28, 31, 0.04); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink-soft); }
.btn-ghost:hover { color: var(--ink); background: rgba(25, 28, 31, 0.05); }
.btn-light { background: #fff; color: var(--accent-deep); }
.btn-light:hover { background: var(--sand); transform: translateY(-1px); }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none !important; }

.linklike {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--accent); font-weight: 600; font-size: 0.9rem;
}
.linklike:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(250, 247, 242, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line-soft); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 1.3rem; letter-spacing: 0.02em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 11px; background: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; color: #fff; flex: none;
}
.brand small { display: block; font-family: var(--font-body); font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.brand-logo { display: inline-flex; align-items: center; gap: 9px; }
.brand-logo img { display: block; }
.brand-logo .brand-logo-img { width: auto; height: 56px; }
.main-nav { display: flex; gap: 22px; flex: 1; justify-content: center; }
.main-nav a {
  padding: 6px 2px; border-bottom: 3px solid transparent; border-radius: 2px;
  font-size: 0.93rem; font-weight: 800; color: var(--ink-soft);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.main-nav a:hover { color: var(--accent-deep); border-bottom-color: var(--accent); }
.main-nav a.is-active { color: var(--accent-deep); border-bottom-color: var(--accent); }
.header-cta { display: flex; align-items: center; gap: 8px; }

/* Send Inquiry button with quote-count badge (header) */
.send-inquiry {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-deep); color: #fff; border-radius: 999px;
  padding: 9px 16px; font-size: 0.88rem; font-weight: 800; line-height: 1;
  transition: background 0.18s ease, color 0.18s ease;
}
.send-inquiry:hover { background: var(--accent); color: #fff; }
.send-inquiry svg { flex: none; }
.send-inquiry .inquiry-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 800;
}
.send-inquiry:hover .inquiry-count { background: #fff; color: var(--accent-deep); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
  background: transparent; cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: all 0.2s ease;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { left: 0; right: 0; top: -6px; }
.nav-toggle span::after { left: 0; right: 0; top: 6px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 68px 0 0 0; z-index: 55; background: var(--bg);
  padding: 28px; display: flex; flex-direction: column; gap: 6px;
  transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all 0.22s ease;
}
.mobile-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
.mobile-nav .mobile-link {
  padding: 15px 6px; border-bottom: 1px solid var(--line-soft); font-size: 1.15rem;
  font-weight: 600; background: none; border-left: 0; border-right: 0; border-top: 0; text-align: left; cursor: pointer;
}
@media (max-width: 960px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 360px) {
  .brand-logo .brand-logo-img { height: 46px; }
}

/* ---------- Page scaffold ---------- */
main { padding-top: 68px; }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
@media (max-width: 768px) { .section { padding: 68px 0; } }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }

.page-hero { padding: 108px 0 72px; background: linear-gradient(180deg, var(--bg-soft), var(--bg)); border-bottom: 1px solid var(--line-soft); }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { margin-top: 22px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s cubic-bezier(0.2, 0.65, 0.3, 1), transform 0.7s cubic-bezier(0.2, 0.65, 0.3, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 0.83fr 1.17fr; gap: 36px; align-items: center; padding: 88px 28px 72px; }
.hero-copy .lead { margin-top: 24px; }
.hero-ctas { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 20px; margin-top: 56px; flex-wrap: wrap; }
.hero-stat b { display: block; font-family: var(--font-display); font-size: 1.62rem; font-weight: 500; color: var(--ink); line-height: 1.1; }
.hero-stat span { font-size: 0.75rem; color: var(--muted); letter-spacing: 0.03em; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.hero-media::before {
  content: ""; position: absolute; inset: -34px auto auto -34px; width: 180px; height: 180px;
  border-radius: 50%; background: radial-gradient(circle at 30% 30%, var(--accent-soft), transparent 70%); z-index: -1;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; padding-top: 56px; }
}
@media (max-width: 1140px) {
  .hero-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
}

/* ---------- Home: tighter vertical rhythm ---------- */
.home .hero-grid { padding: 62px 28px 54px; }
.home .hero-ctas { margin-top: 30px; }
.home .hero-stats { margin-top: 42px; }
.home .section { padding: 76px 0; }
.home .section-head { margin-bottom: 42px; }
.home .cta-band { padding: 60px 52px; }
.home .site-footer { margin-top: 88px; }
@media (max-width: 960px) {
  .home .hero-grid { padding: 40px 28px; gap: 34px; }
}
@media (max-width: 640px) {
  .home .hero-grid { padding: 40px 20px; }
}
@media (max-width: 768px) {
  .home .section { padding: 54px 0; }
  .home .section-head { margin-bottom: 30px; }
  .home .hero-stats { margin-top: 34px; }
  .home .cta-band { padding: 44px 26px; }
  .home .site-footer { margin-top: 64px; }
}

/* ---------- Trust strip ---------- */
.trust-strip { border-block: 1px solid var(--line-soft); background: var(--surface); }
.trust-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; flex-wrap: wrap; }
.trust-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.trust-items { display: flex; gap: 12px; flex-wrap: wrap; }
.trust-chip {
  padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.82rem; font-weight: 600; color: var(--ink-soft);
  background: var(--bg);
}

/* ---------- Category / feature cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

.cat-card {
  display: block; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 34px 30px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cat-card::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%;
  background: var(--bg-soft); transition: transform 0.3s ease;
}
.cat-card:hover::after { transform: scale(1.35); }
.cat-card .cat-ico { width: 46px; height: 46px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-deep); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.cat-card h3 { margin-bottom: 8px; }
.cat-card p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }
.cat-card .cat-link { display: inline-block; margin-top: 18px; font-weight: 600; font-size: 0.88rem; color: var(--accent); }

.feature-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-sm); }
.feature-card b { display: block; font-size: 1.02rem; margin-bottom: 8px; }
.feature-card p { color: var(--ink-soft); font-size: 0.92rem; margin: 0; }
.feature-card .f-num { font-family: var(--font-display); font-size: 0.95rem; color: var(--clay); margin-bottom: 14px; display: block; }

/* ---------- Home: image category cards ---------- */
.cat-card--img { padding: 0; }
.cat-card--img::after { display: none; }
.cat-card--img .cat-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-soft); }
.cat-card--img .cat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.2, 0.65, 0.3, 1); }
.cat-card--img:hover .cat-media img { transform: scale(1.05); }
.cat-card--img .cat-body { padding: 20px 22px 24px; }

/* ---------- Home: category tiles (full-bleed image + veil) ---------- */
.cat-tile {
  position: relative; display: block; aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-soft);
  box-shadow: var(--shadow-sm); transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cat-tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.65, 0.3, 1);
}
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 22, 25, 0) 42%, rgba(20, 22, 25, 0.18) 62%, rgba(20, 22, 25, 0.78) 100%);
}
.cat-tile-info { position: absolute; left: 20px; right: 20px; bottom: 18px; color: #fff; }
.cat-tile-info h3 { color: #fff; font-size: 1.18rem; margin: 0 0 6px; letter-spacing: 0.01em; }
.cat-tile-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88); transition: color 0.2s ease, gap 0.2s ease;
}
.cat-tile:hover .cat-tile-link { color: var(--accent); gap: 10px; }
@media (max-width: 1024px) { .cat-tile { aspect-ratio: 1 / 1; } }
@media (max-width: 560px) { .cat-tile { aspect-ratio: 4 / 3; } .cat-tile-info h3 { font-size: 1.05rem; } }

/* ---------- Home: dark capability band ---------- */
.why-band { background: var(--ink); color: #f0efe8; }
.why-band .eyebrow { color: var(--accent); }
.why-band .section-head h2 { color: #fff; }
.why-band .feature-card { background: rgba(255, 255, 255, 0.055); border-color: rgba(255, 255, 255, 0.14); box-shadow: none; }
.why-band .feature-card b { color: #fff; }
.why-band .feature-card p { color: rgba(240, 239, 232, 0.72); }
.why-band .feature-card .f-num { color: var(--accent); }

/* ---------- Home: OEM process steps ---------- */
.process-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.process-steps li {
  position: relative; background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 24px 20px 22px; box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.process-steps li:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.process-steps li::before {
  content: ""; position: absolute; top: 0; left: 20px; right: 20px; height: 3px;
  border-radius: 0 0 4px 4px; background: var(--accent-soft);
}
.process-steps li:first-child::before { background: var(--accent); }
.process-steps b { font-family: var(--font-display); color: var(--accent); font-size: 0.98rem; display: block; margin-bottom: 10px; }
.process-steps strong { display: block; font-size: 1rem; margin-bottom: 6px; }
.process-steps p { color: var(--ink-soft); font-size: 0.88rem; margin: 0; }
@media (max-width: 1024px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-steps { grid-template-columns: 1fr; } }

/* ---------- Home: factory floor strip (mosaic) ---------- */
.factory-strip { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 150px; gap: 12px; }
.factory-strip figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); box-shadow: var(--shadow-sm); }
.factory-strip .fs-a { grid-column: span 4; grid-row: span 2; }
.factory-strip .fs-b { grid-column: span 2; grid-row: span 2; }
.factory-strip .fs-c { grid-column: span 3; grid-row: span 1; }
.factory-strip .fs-d { grid-column: span 3; grid-row: span 1; }
.factory-strip img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s cubic-bezier(0.2, 0.65, 0.3, 1); }
.factory-strip figure:hover img { transform: scale(1.05); }
.factory-strip figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 22, 25, 0) 52%, rgba(20, 22, 25, 0.62) 100%);
}
.factory-strip figcaption {
  position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1;
  color: #fff;
}
.factory-strip figcaption span {
  display: block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase;
}
.factory-strip figcaption em {
  display: block; font-style: normal; font-size: 0.74rem; opacity: 0.78; margin-top: 2px;
}
@media (max-width: 860px) {
  .factory-strip { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
  .factory-strip .fs-a { grid-column: span 2; grid-row: span 1; }
  .factory-strip .fs-b, .factory-strip .fs-c { grid-column: span 1; grid-row: span 1; }
  .factory-strip .fs-d { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 480px) { .factory-strip { grid-auto-rows: 104px; gap: 8px; } }

/* ---------- News list (news.html) ---------- */
.news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1024px) { .news-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .news-list { grid-template-columns: 1fr; } }
.news-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-top { padding: 16px 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line-soft); background: var(--bg-soft); }
.news-date { font-size: 0.8rem; color: var(--ink-soft); font-weight: 600; letter-spacing: 0.02em; }
.news-tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent-deep); background: var(--accent-soft); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.news-body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.news-body h3 { font-size: 1.18rem; line-height: 1.35; margin: 0 0 10px; }
.news-body p { color: var(--ink-soft); font-size: 0.94rem; margin: 0 0 18px; flex: 1; }
.news-more { font-weight: 600; font-size: 0.88rem; color: var(--accent); align-self: flex-start; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 960px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-card-btn { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; color: inherit; }
.product-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-soft); }
.product-media img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.6s cubic-bezier(0.2, 0.65, 0.3, 1); }
.product-card:hover .product-media img { transform: scale(1.045); }
.product-body { padding: 22px 24px 26px; }
.product-name { font-size: 1.28rem; margin: 8px 0 6px; }
.product-tagline { color: var(--ink-soft); font-size: 0.93rem; margin: 0 0 14px; }
.product-more { font-size: 0.85rem; font-weight: 600; color: var(--accent); }

/* ---------- Chips / filters ---------- */
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 40px; }
.chip {
  padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface);
  font-size: 0.88rem; font-weight: 600; color: var(--ink-soft); cursor: pointer; transition: all 0.18s ease;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip-count { opacity: 0.55; font-size: 0.78em; margin-left: 2px; }

/* ---------- Split band (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; height: auto; max-height: 440px; object-fit: cover; display: block; }
.factory-badge {
  position: absolute; left: 20px; bottom: 20px;
  background: rgba(255, 255, 255, 0.94); border: 1px solid var(--line-soft);
  border-radius: 14px; padding: 12px 18px; box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.factory-badge b { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--accent-deep); line-height: 1.15; }
.factory-badge span { display: block; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); margin-top: 2px; }
.split-copy .eyebrow-sm { color: var(--accent); }
.check-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; color: var(--ink-soft); font-size: 0.97rem; }
.check-list svg { flex: none; color: var(--accent); margin-top: 3px; }

.stat-band { background: var(--accent-deep); color: #f0efe8; border-radius: var(--radius-lg); padding: 54px 48px; display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.stat-band .stat b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 2.5rem; line-height: 1.1; }
.stat-band .stat span { font-size: 0.85rem; opacity: 0.75; letter-spacing: 0.05em; }

/* ---------- Timeline ---------- */
.timeline { position: relative; margin-top: 8px; padding-left: 30px; display: grid; gap: 36px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1.5px; background: var(--line); }
.tl-item { position: relative; }
.tl-item::before { content: ""; position: absolute; left: -30px; top: 7px; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.tl-item b { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; }
.tl-item p { margin: 4px 0 0; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Values / certifications ---------- */
.value-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); }
.value-card h4 { margin: 0 0 8px; font-size: 1rem; }
.value-card p { margin: 0; color: var(--ink-soft); font-size: 0.9rem; }
.cert-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.cert-badge {
  display: inline-flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 13px 20px; font-weight: 700; font-size: 0.92rem; letter-spacing: 0.02em;
}
.cert-badge small { font-weight: 500; color: var(--muted); font-size: 0.76rem; letter-spacing: 0; }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-md); }
@media (max-width: 640px) { .form-card { padding: 26px 20px; } }
.field { display: block; margin-bottom: 18px; }
.field > span { display: block; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.03em; margin-bottom: 7px; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 11px; background: var(--bg);
  font-family: inherit; font-size: 0.95rem; color: var(--ink); transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(224, 124, 16, 0.16); background: #fff;
}
.field textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-note { font-size: 0.83rem; color: var(--muted); margin: 14px 0 0; }
.form-error { color: var(--danger); font-size: 0.9rem; font-weight: 600; }
.form-success {
  background: var(--accent-soft); border: 1px solid rgba(31, 95, 78, 0.25); color: var(--accent-deep);
  padding: 18px 20px; border-radius: 12px; font-weight: 600; margin-bottom: 20px;
}
/* Catalog requests — the catalog is never downloadable, only sent by inquiry */
.catalog-intent-note {
  background: var(--surface, #f6f4f0); border: 1px solid var(--line-soft, #e6e1d8);
  border-left: 3px solid var(--accent, #e07c10);
  padding: 16px 18px; border-radius: 12px; margin-bottom: 20px;
}
.catalog-intent-note b { display: block; margin-bottom: 6px; }
.catalog-intent-note p { margin: 0; font-size: 0.9rem; color: var(--muted, #6b6459); font-weight: 400; }
.attach-wrap { border: 1.5px dashed var(--line); border-radius: 12px; padding: 18px; margin-bottom: 18px; transition: opacity 0.2s ease; }
.attach-wrap.is-locked { opacity: 0.65; }
.attach-wrap input[type=file] { font-size: 0.88rem; }
.attach-note { font-size: 0.82rem; color: var(--muted); margin: 10px 0 0; }

/* ---------- Contact info ---------- */
.info-block { display: grid; gap: 22px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-deep); display: flex; align-items: center; justify-content: center; flex: none; }
.info-item b { display: block; font-size: 0.95rem; }
.info-item p { margin: 2px 0 0; color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- Auth / portal ---------- */
.auth-card { max-width: 460px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 38px 36px; box-shadow: var(--shadow-md); }
@media (max-width: 560px) { .auth-card { padding: 28px 22px; } }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-soft); border-radius: 12px; padding: 5px; margin-bottom: 26px; }
.auth-tab { border: 0; background: transparent; padding: 10px; border-radius: 9px; font-weight: 700; font-size: 0.9rem; color: var(--muted); cursor: pointer; transition: all 0.18s ease; }
.auth-tab.is-active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.auth-title { font-size: 1.5rem; margin-bottom: 6px; }
.auth-sub { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 22px; }
.auth-back { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 16px; }
.auth-divider { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 0.8rem; margin: 18px 0; text-transform: uppercase; letter-spacing: 0.12em; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line-soft); }
.auth-error { color: var(--danger); font-size: 0.88rem; font-weight: 600; margin: 14px 0 0; }
.form-row-split { display: flex; justify-content: flex-end; margin: -6px 0 16px; }

.jl-spinner {
  display: inline-block; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid currentColor; border-top-color: transparent; animation: jlspin 0.7s linear infinite; vertical-align: -2px; margin-right: 4px;
}
@keyframes jlspin { to { transform: rotate(360deg); } }

.portal-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .portal-grid { grid-template-columns: 1fr; } }
.portal-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.portal-card h3 { margin-bottom: 4px; }
.portal-sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 22px; }

.inq-list { display: grid; gap: 14px; }
.inq-row {
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
  border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 18px 20px; background: var(--bg);
}
@media (max-width: 640px) { .inq-row { flex-direction: column; align-items: stretch; } }
.inq-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.inq-msg { margin: 6px 0 8px; color: var(--ink-soft); font-size: 0.92rem; }
.inq-meta { font-size: 0.8rem; color: var(--muted); }
.inq-actions { display: flex; gap: 8px; flex: none; flex-wrap: wrap; }
.status-chip { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; }
.status-new { background: var(--sand); color: #7a6a4f; }
.status-replied { background: var(--accent-soft); color: var(--accent-deep); }

.pw-msg { font-size: 0.88rem; font-weight: 600; margin-top: 12px; }
.pw-msg.ok { color: var(--accent); }
.pw-msg.err { color: var(--danger); }

/* ---------- Modals ---------- */
.jl-modal { position: fixed; inset: 0; z-index: 90; display: none; }
.jl-modal.is-open { display: block; }
.jl-modal-backdrop { position: absolute; inset: 0; background: rgba(20, 23, 25, 0.5); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: fadegrid 0.2s ease; }
.jl-modal-card {
  position: relative; z-index: 1; max-width: 480px; margin: 7vh auto 0; background: var(--surface);
  border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-lg); max-height: 86vh; overflow: auto;
  animation: risein 0.25s cubic-bezier(0.2, 0.65, 0.3, 1);
}
.jl-modal-card--wide { max-width: 920px; }
@media (max-width: 640px) { .jl-modal-card { margin: 4vh 14px 0; padding: 26px 20px; } }
.jl-modal-close {
  position: absolute; top: 14px; right: 16px; width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: var(--bg-soft); font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--ink-soft);
}
.jl-modal-close:hover { background: var(--line-soft); color: var(--ink); }
@keyframes fadegrid { from { opacity: 0; } }
@keyframes risein { from { opacity: 0; transform: translateY(14px); } }

.product-detail { display: grid; grid-template-columns: 1fr 1.15fr; gap: 34px; align-items: start; }
@media (max-width: 800px) { .product-detail { grid-template-columns: 1fr; } }
.detail-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--bg-soft); }
.detail-name { font-size: 1.7rem; margin: 10px 0 4px; }
.detail-tagline { color: var(--accent); font-weight: 600; font-size: 0.98rem; margin-bottom: 16px; }
.detail-desc { color: var(--ink-soft); font-size: 0.95rem; }
.detail-features { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 9px; }
.detail-features li { display: flex; gap: 10px; font-size: 0.92rem; color: var(--ink-soft); }
.detail-features li::before { content: "—"; color: var(--clay); font-weight: 700; }
.spec-table { border-top: 1px solid var(--line-soft); margin: 0 0 26px; display: grid; }
.spec-table > div { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 0.9rem; }
.spec-table dt { color: var(--muted); font-weight: 600; }
.spec-table dd { margin: 0; }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Skeletons & empty states ---------- */
.skeleton-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; padding-bottom: 24px; }
.sk { background: linear-gradient(100deg, var(--bg-soft) 40%, #f7f3ec 50%, var(--bg-soft) 60%); background-size: 200% 100%; animation: shimmer 1.4s infinite linear; border-radius: 8px; }
.sk-img { aspect-ratio: 1 / 0.92; border-radius: 0; margin-bottom: 18px; }
.sk-line { height: 14px; margin: 0 24px 10px; }
.sk-line.short { width: 55%; }
@keyframes shimmer { to { background-position: -200% 0; } }

.empty-state { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--ink-soft); background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); }
.empty-state.is-error { border-color: rgba(179, 66, 58, 0.35); color: var(--danger); }

/* ---------- Toasts ---------- */
.jl-toasts { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 120; display: grid; gap: 10px; width: min(420px, calc(100vw - 32px)); }
.jl-toast {
  background: var(--ink); color: #f5f2ea; padding: 14px 20px; border-radius: 12px; font-size: 0.92rem; font-weight: 600;
  box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(10px); transition: all 0.3s cubic-bezier(0.2, 0.65, 0.3, 1);
}
.jl-toast.is-in { opacity: 1; transform: none; }
.jl-toast.is-error { background: var(--danger); }

/* ---------- CTA band & footer ---------- */
.cta-band {
  background: var(--accent-deep); color: #eef0e9; border-radius: var(--radius-lg); padding: 72px 60px;
  display: flex; justify-content: space-between; align-items: center; gap: 36px; flex-wrap: wrap;
  background-image: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.09), transparent 45%);
}
.cta-band h2 { max-width: 18ch; }
.cta-band p { opacity: 0.8; max-width: 44ch; }
@media (max-width: 720px) { .cta-band { padding: 48px 30px; } }

.site-footer { background: #3b3833; color: #c8c2ba; margin-top: 110px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding: 72px 0 54px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { color: #fff; font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.footer-brand .brand-mark { background: rgba(255, 255, 255, 0.16); }
.site-footer h5 { color: #fff; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; margin: 0 0 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.site-footer a { font-size: 0.92rem; transition: color 0.15s ease; }
.site-footer a:hover { color: #fff; }

/* contact column: icon + text rows */
.site-footer ul.footer-contact { gap: 13px; font-size: 0.92rem; }
.footer-contact li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; align-items: start; }
.footer-contact .fc-ico { width: 16px; height: 16px; margin-top: 4px; color: #a49d93; flex: none; }
.footer-contact li:hover .fc-ico { color: var(--accent); }

/* bottom bar: social icons on the left, legal on the right */
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 0.82rem; }
.footer-bottom-left { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-certs { color: #a09a91; }
.footer-social { display: flex; gap: 8px; align-items: center; padding: 0; border: 0; flex-wrap: wrap; }
/* social row now sits at the bottom of the brand column, under the blurb */
.footer-grid .footer-social { margin-top: 20px; }
.footer-social .social-link { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: #eee9e2; transition: background 0.15s ease, transform 0.15s ease; }
.footer-social .social-link:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.footer-social .social-link svg { width: 14px; height: 14px; display: block; }
@media (max-width: 700px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-bottom-left { gap: 14px; }
}

/* ================= LANGUAGE SWITCH (EN / ES) ================= */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--line); border-radius: 999px; padding: 2px; background: var(--surface); }
.lang-switch button { border: 0; background: transparent; font: 700 0.68rem/1 var(--font-body); letter-spacing: 0.08em; padding: 7px 11px; border-radius: 999px; color: var(--muted); cursor: pointer; transition: all 0.18s ease; }
.lang-switch button:hover { color: var(--ink); }
.lang-switch button.is-active { background: var(--accent); color: #fff; }
.mobile-lang { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 22px 6px; border-top: 1px solid var(--line-soft); margin-top: 10px; }
.mobile-lang > span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 720px) { .header-inner .lang-switch { display: none; } }

/* ================= CATALOG DOWNLOAD GATE ================= */
.gate-card { max-width: 580px; }
.gate-head { margin-bottom: 4px; }
.gate-title { font-size: 1.55rem; margin: 6px 0 2px; }
.gate-lead { color: var(--ink-soft); font-size: 0.95rem; margin: 0 0 22px; }
.gate-desc { font-size: 0.9rem; color: var(--ink-soft); margin: 0 0 22px; line-height: 1.55; }
.gate-form .field-check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.86rem; color: var(--ink-soft); margin: 2px 0 18px; }
.gate-form .field-check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--accent); flex: none; }
.gate-alt { text-align: center; font-size: 0.8rem; color: var(--muted); margin: 12px 0 0; }
.gate-note { text-align: center; font-size: 0.85rem; color: var(--muted); margin: 8px 0 0; }
.gate-done { text-align: center; }

/* ==========================================================================
   Quote cart — floating button, drawer, add buttons, inquiry list
   ========================================================================== */
body.cart-locked { overflow: hidden; }

.cart-fab {
  position: fixed; right: 22px; bottom: 88px; z-index: 110;
  display: inline-flex; align-items: center; gap: 9px;
  height: 50px; padding: 0 20px 0 16px; border: 0; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 0.92rem;
  box-shadow: 0 10px 30px rgba(224, 124, 16, 0.35); cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.cart-fab:hover { transform: translateY(-2px); background: var(--accent-deep); }
.cart-fab-count {
  background: #fff; color: var(--accent-deep); min-width: 22px; height: 22px; border-radius: 999px;
  font-size: 0.78rem; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px;
}

.cart-drawer {
  position: fixed; right: 22px; bottom: 152px; z-index: 115;
  width: min(400px, calc(100vw - 28px)); max-height: min(72vh, 620px);
  background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-soft); display: none; flex-direction: column; overflow: hidden;
}
.cart-drawer.is-open { display: flex; animation: risein 0.25s cubic-bezier(0.2, 0.65, 0.3, 1); }
.cart-drawer-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 15px 18px; border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-display); font-size: 1.08rem;
}
.cart-drawer-count { color: var(--muted); font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; }
.cart-icon-btn {
  border: 0; background: var(--bg-soft); width: 32px; height: 32px; border-radius: 50%;
  font-size: 1.1rem; cursor: pointer; color: var(--ink-soft); line-height: 1; flex: none;
}
.cart-icon-btn:hover { background: var(--line-soft); color: var(--ink); }
.cart-drawer-items { overflow-y: auto; padding: 6px 18px; flex: 1; }
.cart-drawer-empty { padding: 26px 22px 22px; text-align: center; }
.cart-drawer-empty p { color: var(--ink-soft); }
.cart-drawer-empty .btn { margin-top: 10px; }
.cart-drawer-empty-hint { font-size: 0.88rem; color: var(--muted); }

.cart-item { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); align-items: center; }
.cart-item:last-child { border-bottom: 0; }
.cart-item-img { width: 56px; height: 56px; border-radius: 10px; overflow: hidden; background: var(--bg-soft); flex: none; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-body { flex: 1; min-width: 0; }
.cart-item-name { display: block; font-size: 0.9rem; font-weight: 600; line-height: 1.35; }
.cart-item-meta { display: flex; align-items: center; gap: 10px; margin-top: 7px; flex-wrap: wrap; }
.cart-qty { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--muted); font-weight: 600; }
.cart-qty input {
  width: 58px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; font-size: 0.85rem; color: var(--ink); background: var(--surface);
}
.cart-qty input:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
.cart-item-remove { border: 0; background: none; color: var(--muted); font-size: 0.8rem; cursor: pointer; text-decoration: underline; padding: 0; }
.cart-item-remove:hover { color: var(--danger); }
.cart-drawer-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 13px 18px; border-top: 1px solid var(--line-soft); background: var(--bg);
}

/* product card — add to quote list */
.product-card { position: relative; }
.cart-add {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.92); color: var(--ink); box-shadow: var(--shadow-sm);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.cart-add:hover { transform: scale(1.08); background: var(--accent); color: #fff; }
.cart-add .cart-add-check { display: none; }
.cart-add.is-in { background: var(--accent); color: #fff; }
.cart-add.is-in svg:not(.cart-add-check) { display: none; }
.cart-add.is-in .cart-add-check { display: block; }

/* product detail modal — qty + add row */
.detail-cart-row { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin: 0 0 18px; }
.detail-qty {
  display: inline-flex; flex-direction: column; gap: 5px; font-size: 0.74rem; color: var(--muted);
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
}
.detail-qty input {
  width: 84px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; font-size: 0.95rem; color: var(--ink);
}
.detail-qty input:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }

/* contact page — combined inquiry list */
.inquiry-cart {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  padding: 16px 20px 10px; margin-bottom: 22px;
}
.inquiry-cart-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.inquiry-cart-head strong { font-family: var(--font-display); font-size: 1.05rem; }
.inquiry-cart-count { color: var(--muted); font-size: 0.85rem; }
.inquiry-cart-hint { font-size: 0.8rem; color: var(--muted); }
.inquiry-cart-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.inquiry-cart-item:last-child { border-bottom: 0; }
.inquiry-cart-img { width: 46px; height: 46px; border-radius: 8px; overflow: hidden; background: var(--bg-soft); flex: none; }
.inquiry-cart-img img { width: 100%; height: 100%; object-fit: cover; }
.inquiry-cart-name { flex: 1; min-width: 0; font-size: 0.9rem; font-weight: 600; }
.inquiry-cart-remove {
  border: 0; background: var(--bg-soft); width: 28px; height: 28px; border-radius: 50%;
  cursor: pointer; color: var(--ink-soft); font-size: 1rem; line-height: 1; flex: none;
}
.inquiry-cart-remove:hover { background: rgba(179, 66, 58, 0.12); color: var(--danger); }

@media (max-width: 640px) {
  .cart-fab { right: 14px; bottom: 74px; height: 46px; padding: 0 16px 0 13px; }
  .cart-fab-label { display: none; }
  .cart-drawer { right: 14px; bottom: 128px; width: calc(100vw - 28px); }
  .detail-cart-row .btn { flex: 1; }
}

/* ==========================================================================
   About page — factory photo gallery
   ========================================================================== */
.factory-gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 42px;
}
.factory-shot {
  margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-soft); border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
}
.factory-shot img {
  display: block; width: 100%; height: 200px; object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.2, 0.65, 0.3, 1);
}
.factory-shot:hover img { transform: scale(1.05); }
.factory-shot figcaption {
  padding: 11px 14px; font-size: 0.85rem; font-weight: 700;
  font-family: var(--font-display); color: var(--ink-soft);
  background: var(--surface); border-top: 1px solid var(--line-soft);
}
.factory-shot figcaption b { display: block; color: var(--ink); font-size: 0.9rem; }
.factory-shot figcaption span { display: block; margin-top: 4px; font-family: Manrope, sans-serif; font-weight: 500; font-size: 0.78rem; letter-spacing: 0; line-height: 1.45; }
@media (max-width: 900px) {
  .factory-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .factory-gallery { grid-template-columns: 1fr; }
  .factory-shot img { height: 220px; }
}

/* ==========================================================================
   FAQ section (native details/summary — content stays crawlable)
   ========================================================================== */
.faq-list { max-width: 780px; margin: 42px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 20px; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--bg-soft); color: var(--ink-soft); display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.15rem; font-weight: 700; transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq-item summary:hover { color: var(--accent-deep); }
.faq-item p { padding: 0 20px 17px; color: var(--ink-soft); line-height: 1.65; margin: 0; }

/* ==========================================================================
   WhatsApp click-to-chat floating button
   ========================================================================== */
.wa-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 105;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.42);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-fab:hover { transform: translateY(-2px) scale(1.06); box-shadow: 0 14px 34px rgba(37, 211, 102, 0.5); }
.wa-fab::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.55);
  animation: wa-pulse 2.4s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  70% { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}
.wa-tip {
  position: absolute; right: 66px; top: 50%; transform: translateY(-50%);
  background: var(--ink); color: #fff; font-size: 0.82rem; font-weight: 600;
  padding: 7px 13px; border-radius: 8px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 0.18s ease;
}
.wa-tip::after {
  content: ''; position: absolute; right: -4px; top: 50%; transform: translateY(-50%) rotate(45deg);
  width: 8px; height: 8px; background: var(--ink);
}
.wa-fab:hover .wa-tip { opacity: 1; }

/* inline WhatsApp buttons (contact page etc.) */
.btn-wa {
  display: inline-flex; align-items: center; gap: 9px;
  background: #25d366; color: #fff; border: 0; cursor: pointer;
  font-weight: 700; font-size: 0.95rem; padding: 12px 22px; border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.32);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.btn-wa:hover { transform: translateY(-1px); background: #1ebe5a; box-shadow: 0 11px 26px rgba(37, 211, 102, 0.4); }
.btn-wa svg { flex: none; }

@media (max-width: 640px) {
  .wa-fab { right: 14px; bottom: 14px; width: 50px; height: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-fab::before { animation: none; }
}

/* ==========================================================================
   Factory-direct page — canonical statement, comparison cards
   ========================================================================== */
.fd-quote {
  background: var(--surface); border: 1px solid var(--line-soft); border-left: 4px solid var(--accent);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: 26px 30px; margin-top: 34px;
  font-size: 1.02rem; color: var(--ink-soft); line-height: 1.7;
}
.fd-quote b { color: var(--ink); }
.fd-quote .fd-quote-label {
  display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent-deep); margin-bottom: 10px;
}

.fd-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; margin-top: 12px; }
@media (max-width: 860px) { .fd-compare { grid-template-columns: 1fr; } }
.fd-card {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 32px 30px; box-shadow: var(--shadow-sm);
}
.fd-card--yes { border-color: var(--accent); box-shadow: var(--shadow-md); }
.fd-card--no { background: var(--bg-soft); }
.fd-card .fd-flag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.fd-card--yes .fd-flag { background: var(--accent-soft); color: var(--accent-deep); }
.fd-card--no .fd-flag { background: rgba(25, 28, 31, 0.06); color: var(--muted); }
.fd-card h3 { margin-bottom: 16px; }
.fd-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.fd-card li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.55; }
.fd-card li svg { flex: none; margin-top: 3px; }
.fd-card--yes li svg { color: var(--accent); }
.fd-card--no li svg { color: var(--muted); }
.fd-card li b { color: var(--ink); }

/* ==========================================================================
   Catalog inquiry UX — labelled add buttons, sticky quote bar, quick quote
   ========================================================================== */

/* --- "Add to quote" pill on each product card (replaces the bare + circle) --- */
.cart-add {
  width: auto; height: 34px; padding: 0 12px 0 9px; gap: 5px; border-radius: 999px;
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.01em;
  display: inline-flex; align-items: center; justify-content: center;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.cart-add:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.cart-add .cart-add-plus { display: block; }
.cart-add.is-in .cart-add-plus { display: none; }
.cart-add .cart-add-label { white-space: nowrap; }
@media (max-width: 358px) {
  .cart-add { width: 34px; height: 34px; padding: 0; }
  .cart-add .cart-add-label { display: none; }
}

/* --- per-card action row: "Add to quote" + "Inquire" (single-product quote) --- */
.product-card-actions {
  display: flex; gap: 10px; padding: 0 20px 22px; margin-top: -4px;
}
.product-card-actions .cart-add,
.product-card-actions .pc-inquire {
  position: static; flex: 1 1 0; min-width: 0;
  height: 44px; border-radius: 11px; padding: 0 8px;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font: inherit; font-weight: 700; font-size: 0.86rem; line-height: 1; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease;
}
.product-card-actions .cart-add { background: var(--bg-soft); }
.product-card-actions .cart-add:hover { border-color: var(--ink); transform: translateY(-1px); }
.product-card-actions .cart-add.is-in { background: var(--accent); border-color: var(--accent); color: #fff; }
.product-card-actions .pc-inquire {
  background: var(--accent); border-color: var(--accent); color: #fff;
}
.product-card-actions .pc-inquire:hover { background: var(--accent-deep, #b5450f); border-color: var(--accent-deep, #b5450f); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.product-card-actions .pc-inquire span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-card-actions .cart-add .cart-add-label { display: inline; }
@media (max-width: 358px) {
  .product-card-actions .cart-add .cart-add-label { display: none; }
  .product-card-actions .pc-inquire span { display: inline; }
}

/* --- quiet notice when the live catalog query fails but markup is present --- */
.catalog-live-note {
  margin: 0 0 20px; padding: 11px 16px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent-deep);
  border: 1px solid rgba(224, 124, 16, 0.18); font-size: 0.86rem;
}

/* --- hero: two primary buyer paths + 3-step explainer --- */
.hero-cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-wa {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.9rem; font-weight: 700; color: #17915b; transition: color 0.15s ease;
}
.hero-wa:hover { color: #0f6b42; }
.quote-steps {
  list-style: none; padding: 0; margin: 30px 0 0; max-width: 820px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
}
.quote-steps li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.86rem; line-height: 1.45; color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.65); border: 1px solid var(--line-soft);
  border-radius: 12px; padding: 12px 14px;
}
.quote-steps b {
  flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
@media (max-width: 760px) { .quote-steps { grid-template-columns: 1fr; gap: 8px; } }

/* --- closing CTA band under the FAQ --- */
.quote-band {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  background: linear-gradient(135deg, #fff7ea, #fdf0dc);
  border: 1px solid rgba(224, 124, 16, 0.22); border-radius: var(--radius-lg);
  padding: 34px 38px; box-shadow: var(--shadow-sm);
}
.quote-band h2 { margin: 8px 0; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.quote-band p { margin: 0; color: var(--ink-soft); max-width: 54ch; }
.quote-band-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
@media (max-width: 700px) {
  .quote-band { padding: 26px 22px; gap: 18px; }
  .quote-band-actions { width: 100%; }
  .quote-band-actions .btn { flex: 1; }
}

/* --- sticky quote bar --- */
.quote-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--line-soft); box-shadow: 0 -6px 24px rgba(25, 28, 31, 0.1);
}
@supports ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
  .quote-bar { background: rgba(255, 255, 255, 0.88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
}
.quote-bar-inner {
  width: min(var(--container), calc(100% - 48px)); margin: 0 auto; min-height: 68px; padding: 10px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.quote-bar-info { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.quote-bar-count { font-size: 0.95rem; font-weight: 700; color: var(--ink); }
.quote-bar-count b { color: var(--accent-deep); }
.quote-bar-hint { font-size: 0.78rem; color: var(--muted); }
.quote-bar-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.qb-list {
  display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink);
  font: inherit; font-size: 0.86rem; font-weight: 700; cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.qb-list:hover { border-color: var(--accent); color: var(--accent-deep); }
/* nothing to view until the buyer has picked something */
#qb-list { display: none; }
.quote-bar.has-items #qb-list { display: inline-flex; }
.qb-cta { height: 42px; padding: 0 22px; }
.qb-short { display: none; }
.qb-wa {
  width: 42px; height: 42px; border-radius: 50%; background: #25d366; color: #fff; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.18s ease, transform 0.18s ease;
}
.qb-wa:hover { background: #1ebe5a; transform: translateY(-1px); }
body.has-quote-bar .cart-fab { display: none; }
body.has-quote-bar .wa-fab { bottom: 96px; }
body.has-quote-bar .site-footer { padding-bottom: 68px; }
body.has-quote-bar .jl-toasts { bottom: 84px; }

/* --- side "Send inquiry" floating button (products page) --- */
.qq-fab {
  position: fixed; right: 22px; bottom: 174px; z-index: 104;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  width: 62px; padding: 11px 6px 10px; border: 0; cursor: pointer;
  border-radius: 16px;
  background: var(--accent, #e8783a); color: #fff;
  box-shadow: 0 10px 26px rgba(232, 120, 58, 0.42);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.qq-fab:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 14px 32px rgba(232, 120, 58, 0.5); }
.qq-fab.is-hidden { opacity: 0; pointer-events: none; transform: translateY(10px); }
.qq-fab-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.03em; line-height: 1.15; }
@media (max-width: 720px) {
  .qq-fab { right: 14px; bottom: 150px; width: 58px; border-radius: 14px; }
}
body.qq-locked .qq-fab { display: none; }
@media (max-width: 720px) {
  .quote-bar-inner { width: calc(100% - 24px); gap: 10px; min-height: 62px; }
  .quote-bar-hint { display: none; }
  .quote-bar-count { font-size: 0.86rem; line-height: 1.3; }
  .qb-long { display: none; }
  .qb-short { display: inline; }
  .qb-list { width: 42px; padding: 0; justify-content: center; }
  .qb-cta { padding: 0 16px; font-size: 0.86rem; }
  body.has-quote-bar .wa-fab { bottom: 82px; }
  body.has-quote-bar .cart-drawer { bottom: 74px; }
  body.has-quote-bar .site-footer { padding-bottom: 62px; }
  body.has-quote-bar .jl-toasts { bottom: 76px; }
}

/* --- product detail dialog: one primary action --- */
.detail-buy { margin-top: 2px; }
.detail-buy .detail-cart-row { margin: 12px 0 0; align-items: center; }
.detail-buy .detail-qty { flex-direction: row; align-items: center; gap: 8px; }
.detail-note { font-size: 0.8rem; color: var(--muted); margin: 12px 0 6px; }
.detail-wa {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.85rem; font-weight: 700; color: #17915b;
}
.detail-wa:hover { color: #0f6b42; }

/* --- quick quote dialog (compact: 2 fields, extras collapsed) --- */
body.qq-locked { overflow: hidden; }
body.qq-locked .wa-fab, body.qq-locked .cart-fab { display: none; }
body.qq-locked .jl-toasts { display: none; } /* toasts must never cover the form */
.qq-card {
  max-width: 520px; margin: 6vh auto 0; padding-bottom: 18px;
  max-height: calc(94vh - 24px); scroll-padding-bottom: 104px;
}
.qq-title { font-size: clamp(1.35rem, 2vw, 1.6rem); margin: 6px 0; }
.qq-sub { color: var(--ink-soft); font-size: 0.88rem; margin: 0 0 16px; }
.qq-items {
  border: 1px solid var(--line-soft); background: var(--bg); border-radius: 14px;
  padding: 4px 14px 8px; margin-bottom: 16px; max-height: 172px; overflow: auto;
}
.qq-items-head {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); padding: 8px 0 4px;
}
/* a faded last row tells the buyer the list scrolls */
.qq-items.is-scroll {
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 18px), rgba(0, 0, 0, 0.25));
  mask-image: linear-gradient(to bottom, #000 calc(100% - 18px), rgba(0, 0, 0, 0.25));
  padding-bottom: 14px;
}
.qq-items-count { color: var(--accent-deep); }
.qq-items-empty { margin: 8px 0; font-size: 0.86rem; color: var(--muted); }
.qq-item { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line-soft); }
.qq-item-img { width: 34px; height: 34px; border-radius: 8px; overflow: hidden; background: #fff; flex: none; }
.qq-item-img img { width: 100%; height: 100%; object-fit: cover; }
.qq-item-name { flex: 1; min-width: 0; font-size: 0.86rem; font-weight: 600; line-height: 1.3; }
.qq-item-remove {
  border: 0; background: var(--bg-soft); width: 26px; height: 26px; border-radius: 50%;
  cursor: pointer; color: var(--ink-soft); font-size: 0.95rem; line-height: 1; flex: none;
}
.qq-item-remove:hover { background: rgba(179, 66, 58, 0.12); color: var(--danger); }
.qq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.qq-form .field { margin-bottom: 14px; }
.qq-form .field > span { font-size: 0.78rem; margin-bottom: 6px; }
.qq-form .field input { padding: 12px 13px; }
.qq-form textarea { min-height: 66px; }

/* optional extras — collapsed so the form reads as “2 fields” */
.qq-more {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 7px;
  height: 42px; margin: 0 0 6px; padding: 0 12px; border: 1.5px dashed var(--line);
  border-radius: 11px; background: #fff; color: var(--ink-soft);
  font-family: inherit; font-size: 0.84rem; font-weight: 600; cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.qq-more em {
  font-style: normal; font-weight: 600; font-size: 0.7rem; color: var(--muted);
  margin-left: 2px; padding: 2px 7px; border-radius: 999px; background: var(--bg-soft);
}
.qq-more:hover { border-color: var(--accent); color: var(--accent-deep); }
.qq-more svg { flex: none; transition: transform 0.2s ease; }
.qq-more.is-open { border-style: solid; border-color: var(--line-soft); background: var(--bg); margin-bottom: 12px; }
.qq-more.is-open svg { transform: rotate(45deg); }
.qq-more-fields { padding-top: 2px; }

/* the send button stays on screen even when the extras are open */
.qq-actions {
  position: sticky; bottom: 0; z-index: 2; background: var(--surface);
  padding: 8px 0 2px; margin-top: 2px;
  box-shadow: 0 -12px 16px -14px rgba(25, 28, 31, 0.28);
}
.qq-submit { margin-top: 0; height: 48px; font-size: 0.95rem; }
.qq-privacy { font-size: 0.74rem; color: var(--muted); text-align: center; margin: 8px 0 0; }
.qq-alt { font-size: 0.78rem; color: var(--muted); text-align: center; margin: 8px 0 0; }
.qq-alt a { color: var(--accent-deep); font-weight: 600; }
.qq-error {
  background: #fdf1f0; color: var(--danger); border: 1px solid rgba(179, 66, 58, 0.2);
  border-radius: 10px; padding: 10px 14px; font-size: 0.85rem; margin: 0 0 14px;
}
.qq-error .qq-fallback { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.qq-success { text-align: center; padding: 8px 0 6px; }
.qq-success-icon {
  width: 56px; height: 56px; border-radius: 50%; background: #e8f7ee; color: #17915b;
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.qq-success h4 { margin: 0 0 8px; font-size: 1.25rem; }
.qq-success p { color: var(--ink-soft); font-size: 0.92rem; margin: 0 0 18px; }
.qq-success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.qq-success-actions .btn-wa { padding: 11px 20px; font-size: 0.9rem; }
@media (max-width: 560px) {
  .qq-grid { grid-template-columns: 1fr; }
  .qq-card {
    margin: 8px auto 0; max-height: calc(100vh - 16px);
    padding: 22px 18px 12px; border-radius: 18px;
  }
  .qq-title { font-size: 1.3rem; }
  .qq-sub { margin-bottom: 12px; }
  .qq-items { margin-bottom: 12px; max-height: 208px; padding: 2px 12px 6px; }
  .qq-item { padding: 6px 0; }
  .qq-form .field { margin-bottom: 12px; }
  .qq-form .field input { padding: 12px; }
  .qq-actions { padding-bottom: 0; }
  .qq-privacy { margin-top: 7px; }
  .qq-success-actions { flex-direction: column; gap: 8px; }
  .qq-success-actions > * { width: 100%; justify-content: center; }
  .qq-success-actions .btn-wa { box-shadow: 0 5px 14px rgba(37, 211, 102, 0.22); }
}
@media (max-width: 560px) {
  .hero-cta-row { gap: 10px; }
  .hero-cta-row .btn { width: 100%; }
}
