/* ==========================================================================
   Adong Sourcing (provisional brand) — v2 stylesheet
   Plain CSS, no build step. Mobile-first. Tokens from the agreed spec.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink: #0E1B2C;
  --navy: #16283F;
  --teal: #087F8C;
  --teal-dark: #066A75;
  --teal-tint: #E3F3F3;
  --coral: #C2462B;
  --coral-hover: #A83A22;
  --coral-tint: #FBECE8;
  --sand: #F7F4EF;
  --well: #F1F3F5;
  --text: #1C2735;
  --muted: #5A6778;
  --border: #E2E6EA;
  --surface: #FFFFFF;
  --light: #FAFBFC;
  --error: #B42318;
  --success-bg: #E7F5EE;
  --success-text: #13603A;
  --warn-bg: #FFF6E5;
  --warn-text: #7A4B00;

  --font: ui-sans-serif, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
  --radius-sm: 10px;
  --pill: 999px;
  --shadow: 0 1px 2px rgba(14,27,44,.06), 0 8px 24px rgba(14,27,44,.08);
  --shadow-lg: 0 2px 4px rgba(14,27,44,.06), 0 24px 64px rgba(14,27,44,.18);
  --header-h: 64px;
  --container: 1200px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --t: .2s;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.2; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
table { border-collapse: collapse; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
  border-radius: 6px;
}
main:focus-visible { outline: none; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: 8px; left: 8px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform var(--t) var(--ease);
}
.skip-link:focus, .skip-link:focus-visible { transform: translateY(0); color: #fff; }

.ico {
  width: 24px; height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.container-narrow { max-width: 860px; }

.section { padding: 56px 0; background: var(--light); }
.section-white { background: var(--surface); }
.section-sand { background: var(--sand); }

.section-head { max-width: 720px; margin-bottom: 32px; }
.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 750;
  letter-spacing: -0.015em;
}
.lead { margin-top: 12px; font-size: 1.125rem; color: var(--muted); }

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}

@media (min-width: 860px) {
  .container { padding: 0 32px; }
  .section { padding: 96px 0; }
  .section-head { margin-bottom: 48px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.975rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  background: transparent;
  transition: background-color var(--t), border-color var(--t), color var(--t), box-shadow var(--t), transform var(--t);
}
.btn-lg { min-height: 50px; padding: 12px 22px; font-size: 1rem; }
.btn-sm { min-height: 44px; padding: 8px 14px; font-size: 0.9rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--coral); color: #fff; border-color: var(--coral); }
.btn-primary:hover { background: var(--coral-hover); border-color: var(--coral-hover); color: #fff; }
.btn-primary:active { transform: translateY(1px); }

.btn-outline { background: var(--surface); color: var(--ink); border-color: #C9D1D9; }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); background: var(--surface); }

.btn-link {
  min-height: 44px;
  padding: 10px 6px;
  color: var(--teal);
  text-decoration: underline;
  border: 0;
}
.btn-link:hover { color: var(--teal-dark); }

/* Add-to-inquiry toggle (cards + modal) */
.btn-add {
  background: var(--surface);
  color: var(--coral);
  border-color: var(--coral);
}
.btn-add:hover { background: var(--coral-tint); color: var(--coral-hover); border-color: var(--coral-hover); }
.btn-add[aria-pressed="true"] { background: var(--coral); color: #fff; border-color: var(--coral); }
.btn-add[aria-pressed="true"]:hover { background: var(--coral-hover); border-color: var(--coral-hover); }

.btn-wa { background: #0F7A3D; color: #fff; border-color: #0F7A3D; }
.btn-wa:hover { background: #0B6231; border-color: #0B6231; color: #fff; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink);
  transition: background-color var(--t);
}
.icon-btn:hover { background: var(--well); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t);
}
.site-header.scrolled { box-shadow: 0 4px 16px rgba(14,27,44,.08); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}
.logo:hover { color: var(--ink); }
.logo-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.logo-dot {
  position: absolute;
  top: -3px; right: -3px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--coral);
  border: 2px solid var(--surface);
}
.logo-text {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.logo-light, .logo-light:hover { color: #fff; }
.logo-light .logo-dot { border-color: var(--ink); }

.main-nav { display: none; }
.main-nav ul { display: flex; gap: 4px; list-style: none; }
.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}
.main-nav a:hover { background: var(--well); color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-lang { display: none; }

/* Language toggle */
.lang-toggle {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: var(--pill);
  background: var(--well);
}
.lang-btn {
  min-width: 44px;
  min-height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: var(--pill);
  background: transparent;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background-color var(--t), color var(--t);
}
.lang-btn:hover { color: var(--ink); }
.lang-btn[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(14,27,44,.15); }
.lang-toggle-dark { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
.lang-toggle-dark .lang-btn { color: #C5CFDB; }
.lang-toggle-dark .lang-btn:hover { color: #fff; }
.lang-toggle-dark .lang-btn[aria-pressed="true"] { background: #fff; color: var(--ink); }

/* Inquiry button */
.inq-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
  transition: border-color var(--t);
}
.inq-btn:hover { border-color: var(--ink); }
.inq-label { display: none; }
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px; height: 22px;
  padding: 0 6px;
  border-radius: var(--pill);
  background: var(--coral);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}
.badge.bump { animation: bump .35s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.3); } 100% { transform: scale(1); } }

/* Hamburger */
.hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 16px 32px rgba(14,27,44,.12);
  padding: 8px 0 20px;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.mobile-nav ul { list-style: none; margin-bottom: 16px; }
.mobile-nav li + li { border-top: 1px solid var(--border); }
.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
}

@media (min-width: 480px) {
  .inq-label { display: inline; }
}
@media (min-width: 860px) {
  .main-nav { display: block; }
  .header-lang { display: inline-flex; }
  .hamburger { display: none; }
  .mobile-nav { display: none !important; }
}
@media (min-width: 860px) and (max-width: 1040px) {
  .main-nav a { padding: 0 8px; font-size: 0.9rem; }
  .logo-text { font-size: 1rem; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--sand);
  padding: 40px 0 56px;
  overflow: hidden;
}
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  max-width: 16ch;
}
html[lang="fr"] .hero h1 { max-width: 18ch; }
.hero-sub {
  margin-top: 20px;
  max-width: 58ch;
  font-size: 1.125rem;
  color: var(--muted);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-ctas .btn { flex: 1 1 auto; }

.value-strip {
  display: grid;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #E5DED3;
  list-style: none;
}
.value-strip li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 650;
  font-size: 0.975rem;
  color: var(--ink);
  line-height: 1.35;
}
.vs-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--teal-tint);
  color: var(--teal);
  flex: none;
}
.vs-icon .ico { width: 22px; height: 22px; }

/* Collage */
.hero-visual { position: relative; }
.hero-collage {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
  max-width: 520px;
  margin: 0 auto;
}
.tile {
  position: relative;
  margin: 0;
  padding: 10px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .4s var(--ease);
}
.tile-well {
  position: relative;
  width: 100%;
  border-radius: 10px;
  background: var(--well);
  overflow: hidden;
}
.tile-well img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 8%;
}
.tile-1 { grid-row: 1 / span 2; align-self: center; transform: rotate(-2deg); }
.tile-1 .tile-well { aspect-ratio: 4 / 5; }
.tile-2 { transform: rotate(2deg) translateY(-6px); }
.tile-2 .tile-well { aspect-ratio: 1 / 1; }
.tile-3 { transform: rotate(-1deg) translateY(6px); }
.tile-3 .tile-well { aspect-ratio: 4 / 3; }
.tile-pill {
  position: absolute;
  left: 18px; bottom: 18px;
  padding: 5px 12px;
  border-radius: var(--pill);
  background: var(--ink);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(14,27,44,.2);
}
.tile-2 .tile-pill { background: var(--teal); }
.tile-3 .tile-pill { background: var(--coral); }
.tile.is-empty .tile-well::after {
  content: "";
  position: absolute;
  inset: 30%;
  border: 2px dashed #CBD2DA;
  border-radius: 12px;
}

@media (min-width: 640px) {
  .value-strip { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .value-strip li { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-ctas .btn { flex: 0 0 auto; }
}
@media (min-width: 960px) {
  .hero { padding: 72px 0 96px; }
  .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 56px; }
  .hero-collage { max-width: none; }
}

/* ---------- Products toolbar ---------- */
.toolbar {
  display: grid;
  gap: 16px;
  margin-bottom: 12px;
}
.search-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}
.search-box { position: relative; max-width: 480px; }
.search-ico {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  width: 20px; height: 20px;
  pointer-events: none;
}
.search-box input {
  width: 100%;
  min-height: 48px;
  padding: 10px 48px 10px 44px;
  border: 1.5px solid #C9D1D9;
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 1rem;
  transition: border-color var(--t), box-shadow var(--t);
}
.search-box input::placeholder { color: #7A8696; }
.search-box input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(8,127,140,.18); }
.search-box input:focus-visible { outline: none; }
.search-box input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.search-clear {
  position: absolute;
  right: 2px; top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
}
.search-clear:hover { color: var(--ink); }
.search-clear .ico { width: 18px; height: 18px; }

.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  margin: 0 -20px;
  padding-left: 20px;
  padding-right: 20px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  min-height: 44px;
  padding: 0 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--pill);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 650;
  white-space: nowrap;
  transition: background-color var(--t), border-color var(--t), color var(--t);
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px; height: 22px;
  padding: 0 6px;
  border-radius: var(--pill);
  background: var(--well);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}
.chip[aria-pressed="true"] .chip-count { background: rgba(255,255,255,.18); color: #fff; }
.chip.is-zero { opacity: .55; }

.results-count {
  margin: 4px 0 20px;
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 600;
}

@media (min-width: 860px) {
  .chips { flex-wrap: wrap; overflow: visible; margin: 0; padding: 4px 0 0; }
}

/* ---------- Product grid & cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 400px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 960px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--t), transform var(--t), border-color var(--t);
}
.card:hover { box-shadow: var(--shadow); border-color: #D3D9DF; }
.card.is-selected { border-color: var(--coral); box-shadow: 0 0 0 1px var(--coral); }

.card-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  background: var(--well);
  overflow: hidden;
}
.card-media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 6%;
  transition: transform .35s var(--ease);
}
.card:hover .card-media img { transform: scale(1.03); }
.card-media:focus-visible { outline-offset: -3px; border-radius: var(--radius) var(--radius) 0 0; }
.card-imgcount {
  position: absolute;
  right: 10px; bottom: 10px;
  padding: 3px 8px;
  border-radius: var(--pill);
  background: rgba(14,27,44,.72);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #8A95A3;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  padding: 12px;
}
.img-placeholder .ico { width: 36px; height: 36px; stroke-width: 1.4; }

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px;
}
.card-cat {
  margin-bottom: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}
.card-title {
  font-size: 1.05rem;
  font-weight: 750;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}
.card-points {
  margin-top: 10px;
  list-style: none;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}
.card-points li {
  position: relative;
  padding-left: 16px;
  margin-top: 4px;
}
.card-points li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.6em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
}
.card-note {
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--warn-bg);
  color: var(--warn-text);
  font-size: 0.8rem;
  line-height: 1.4;
}
.card-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
}
.card-actions .btn { width: 100%; font-size: 0.9rem; padding: 8px 10px; }
@media (min-width: 1100px) {
  .card-actions { grid-template-columns: auto 1fr; }
}
@media (min-width: 400px) and (max-width: 559px) {
  .card-body { padding: 12px; }
  .card-title { font-size: 0.97rem; }
  .card-points li:nth-child(3) { display: none; }
}

/* Custom-sourcing card */
.card-custom {
  background: var(--ink);
  border-color: var(--ink);
  color: #DCE3EC;
}
.card-custom:hover { border-color: var(--ink); }
.card-custom .card-body { padding: 24px 20px; justify-content: flex-start; }
.custom-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: rgba(255,255,255,.1);
  color: #fff;
}
.custom-icon .ico { width: 28px; height: 28px; }
.card-custom .card-title {
  color: #fff;
  font-size: 1.2rem;
  -webkit-line-clamp: 3;
  min-height: 0;
}
.card-custom p { margin-top: 10px; font-size: 0.95rem; line-height: 1.55; color: #C5CFDB; }
.card-custom .card-actions { grid-template-columns: 1fr; padding-top: 20px; }

/* Empty state */
.empty-state {
  padding: 32px 24px;
  margin-bottom: 24px;
  border: 1.5px dashed #C9D1D9;
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
}
.empty-state h3 { font-size: 1.25rem; }
.empty-state p { margin-top: 8px; color: var(--muted); }
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 16px; }

.catalogue-note {
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--muted);
}
.noscript-box {
  margin-top: 24px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  gap: 8px;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  gap: 16px;
  list-style: none;
}
.service {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: box-shadow var(--t), border-color var(--t);
}
.service:hover { box-shadow: var(--shadow); border-color: transparent; }
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--teal-tint);
  color: var(--teal);
}
.service h3 { font-size: 1.1rem; font-weight: 750; }
.service p { margin-top: 8px; font-size: 0.975rem; color: var(--muted); }

@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .services-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* ---------- How it works ---------- */
.steps {
  position: relative;
  display: grid;
  gap: 24px;
  list-style: none;
  counter-reset: none;
}
.step {
  position: relative;
  padding-left: 64px;
  min-height: 48px;
}
.step::before {
  content: "";
  position: absolute;
  left: 23px; top: 48px;
  bottom: -24px;
  width: 2px;
  background: var(--border);
}
.step:last-child::before { display: none; }
.step-num {
  position: absolute;
  left: 0; top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--teal);
  color: var(--teal);
  font-weight: 800;
  font-size: 1.1rem;
  z-index: 1;
}
.step:first-child .step-num { background: var(--teal); color: #fff; }
.step h3 { font-size: 1.05rem; font-weight: 750; padding-top: 10px; }
.step p { margin-top: 6px; font-size: 0.95rem; color: var(--muted); }

.how-note {
  margin-top: 40px;
  padding: 16px 20px;
  border-left: 4px solid var(--coral);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--surface);
  font-weight: 650;
  color: var(--ink);
}

@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .step { padding-left: 0; padding-top: 68px; }
  .step::before {
    left: 48px; right: -24px;
    top: 23px; bottom: auto;
    width: auto; height: 2px;
  }
  .step h3 { padding-top: 0; }
}

/* ---------- Trust ---------- */
.trust-grid {
  display: grid;
  gap: 16px;
  list-style: none;
}
.trust-item {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--coral-tint);
  color: var(--coral);
}
.trust-item h3 { font-size: 1.15rem; font-weight: 750; }
.trust-item p { margin-top: 8px; color: var(--muted); font-size: 0.975rem; }
.trust-closing {
  margin-top: 32px;
  font-size: 1.1rem;
  font-weight: 650;
  color: var(--ink);
  text-align: center;
}
@media (min-width: 860px) { .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item h3 { font-size: inherit; }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 60px;
  padding: 16px 4px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
}
.faq-q:hover { color: var(--teal); }
.faq-ico {
  position: relative;
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--teal-tint);
}
.faq-ico::before, .faq-ico::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 2px;
  margin: -1px 0 0 -6px;
  background: var(--teal);
  border-radius: 2px;
  transition: transform var(--t);
}
.faq-ico::after { transform: rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-ico::after { transform: rotate(0deg); }
.faq-a { padding: 0 4px 20px; }
.faq-a p { color: var(--muted); max-width: 70ch; }

/* ---------- Contact / form ---------- */
.contact-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.6fr 1fr; gap: 32px; } }

.form-card {
  padding: 24px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
@media (min-width: 640px) { .form-card { padding: 32px; } }

.field-row { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
}
.req { color: var(--coral); }
.field input, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1.5px solid #C9D1D9;
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 1rem;
  line-height: 1.45;
  transition: border-color var(--t), box-shadow var(--t);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(8,127,140,.18); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--error); }
.field input[aria-invalid="true"]:focus, .field textarea[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(180,35,24,.18); }
.field-error {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: var(--error);
  font-size: 0.88rem;
  font-weight: 600;
}
.field-error::before {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--error);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  flex: none;
}

/* Selected products inside form */
.form-products {
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--light);
}
.form-products legend {
  float: left;
  width: 100%;
  margin-bottom: 10px;
  padding: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
}
.form-products legend + * { clear: both; }
.fp-list { list-style: none; display: grid; gap: 8px; }
.fp-item {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "name remove" "qty qty";
  align-items: center;
  gap: 6px 8px;
  padding: 8px 8px 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
}
.fp-name { grid-area: name; font-size: 0.92rem; font-weight: 650; line-height: 1.3; }
.fp-qty {
  grid-area: qty;
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1.5px solid #C9D1D9;
  border-radius: 8px;
  font-size: 0.95rem;
}
.fp-qty:focus { border-color: var(--teal); }
.fp-remove { grid-area: remove; color: var(--muted); }
.fp-remove:hover { color: var(--error); }
.fp-remove .ico { width: 18px; height: 18px; }
@media (min-width: 640px) {
  .fp-item { grid-template-columns: 1fr 200px auto; grid-template-areas: "name qty remove"; padding: 6px 6px 6px 12px; }
}
.fp-empty { font-size: 0.92rem; color: var(--muted); }
.fp-empty a { margin-left: 4px; font-weight: 700; white-space: nowrap; }

.form-required-note { font-size: 0.85rem; color: var(--muted); }
.form-required-note > span:first-child { color: var(--coral); }
.disclosure {
  margin: 12px 0 16px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--teal-tint);
  color: #0B4E56;
  font-size: 0.9rem;
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.form-actions .btn { flex: 1 1 220px; }
.form-email {
  flex: 1 1 100%;
  font-size: 0.92rem;
  color: var(--muted);
}
.form-email a {
  font-weight: 700;
  user-select: all;
  -webkit-user-select: all;
  word-break: break-all;
}

.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  background: var(--success-bg);
  color: var(--success-text);
  border: 1px solid #BFE3CF;
}
.form-status.warn { background: var(--warn-bg); color: var(--warn-text); border-color: #F2D9A6; }
.form-status.error { background: #FDECEA; color: var(--error); border-color: #F5C2BD; }
.form-status a { color: inherit; font-weight: 800; }
.form-status p + p { margin-top: 6px; }

.fallback-wrap { margin-top: 16px; }
.fallback-wrap label { display: block; margin-bottom: 6px; font-size: 0.9rem; font-weight: 700; }
.fallback-wrap textarea {
  width: 100%;
  padding: 12px;
  border: 1.5px solid #C9D1D9;
  border-radius: var(--radius-sm);
  background: var(--light);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  line-height: 1.5;
  resize: vertical;
}

/* Aside */
.contact-aside { display: grid; gap: 16px; }
.aside-box {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.aside-box h3 { font-size: 1.1rem; font-weight: 750; margin-bottom: 14px; }
.contact-list { list-style: none; display: grid; gap: 16px; }
.cl-label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-list a[data-email] { font-weight: 700; font-size: 1.05rem; word-break: break-all; }
.wechat-id { font-weight: 700; user-select: all; -webkit-user-select: all; }
.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li {
  position: relative;
  padding-left: 30px;
  font-size: 0.975rem;
  line-height: 1.45;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 1px;
  width: 20px; height: 20px;
  border-radius: 6px;
  background: var(--teal-tint);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 7px; top: 5px;
  width: 5px; height: 9px;
  border: solid var(--teal);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #C5CFDB;
  padding: 56px 0 24px;
}
.footer-grid { display: grid; gap: 32px; }
.footer-tagline { margin-top: 12px; max-width: 34ch; font-size: 0.95rem; }
.footer-nav ul { list-style: none; display: grid; gap: 2px; }
.footer-nav a, .footer-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: #E6ECF3;
  text-decoration: none;
  font-weight: 600;
}
.footer-nav a:hover, .footer-contact a:hover { color: #fff; text-decoration: underline; }
.footer-contact { display: grid; gap: 12px; align-content: start; justify-items: start; }
.footer-contact a { word-break: break-all; }
.site-footer :focus-visible { outline-color: #5FD0DB; }
.footer-bottom {
  display: grid;
  gap: 8px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 0.85rem;
  color: #9FAEC0;
}
@media (min-width: 860px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-bottom { grid-template-columns: auto 1fr; gap: 24px; }
  .footer-bottom p:last-child { text-align: right; }
}

/* ---------- Mobile sticky bar ---------- */
.sticky-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  display: flex;
  gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 20px rgba(14,27,44,.08);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform .25s var(--ease), visibility 0s linear .25s;
}
.sticky-bar.visible {
  transform: translateY(0);
  visibility: visible;
  transition: transform .25s var(--ease), visibility 0s;
}
.sticky-inq { flex: 1; min-height: 48px; }
.sticky-wa { flex: none; width: 52px; min-height: 48px; padding: 0; }
@supports (backdrop-filter: blur(8px)) {
  .sticky-bar { background: rgba(255,255,255,.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
}
@media (max-width: 859px) {
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (min-width: 860px) {
  .sticky-bar { display: none; }
}

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14,27,44,.6);
  opacity: 0;
  transition: opacity .2s;
}
.modal.open .modal-backdrop { opacity: 1; }
.modal-dialog {
  position: relative;
  width: 100%;
  max-height: calc(100vh - 16px);
  max-height: calc(100dvh - 16px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--surface);
  border-radius: 18px 18px 0 0;
  box-shadow: var(--shadow-lg);
  transform: translateY(24px);
  opacity: 0;
  transition: transform .25s var(--ease), opacity .2s;
}
.modal.open .modal-dialog { transform: none; opacity: 1; }
.modal-dialog:focus-visible { outline: none; }
.modal-close {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 3;
  background: rgba(255,255,255,.92);
  box-shadow: 0 1px 4px rgba(14,27,44,.15);
  border-radius: 50%;
}
.modal-grid { display: grid; }

.gallery { padding: 12px 12px 0; }
.gallery-main {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: var(--well);
  overflow: hidden;
  touch-action: pan-y;
}
.gallery-main img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 5%;
  user-select: none;
  -webkit-user-drag: none;
}
.gallery-main .img-placeholder { font-size: 0.95rem; }
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  color: var(--ink);
  box-shadow: 0 1px 6px rgba(14,27,44,.18);
  z-index: 2;
}
.gallery-nav:hover { background: #fff; color: var(--teal); }
.gallery-nav.prev { left: 10px; }
.gallery-nav.next { right: 10px; }
.gallery-counter {
  position: absolute;
  left: 12px; bottom: 12px;
  padding: 3px 10px;
  border-radius: var(--pill);
  background: rgba(14,27,44,.75);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}
.gallery-thumbs {
  display: flex;
  gap: 8px;
  padding: 10px 0 4px;
  overflow-x: auto;
}
.thumb {
  flex: none;
  position: relative;
  width: 64px; height: 64px;
  padding: 0;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: var(--well);
  overflow: hidden;
  transition: border-color var(--t);
}
.thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.thumb:hover { border-color: #9AA6B4; }
.thumb[aria-current="true"] { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); }

.modal-content { padding: 16px 20px 24px; }
.modal-title {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  padding-right: 40px;
}
.points {
  margin-top: 14px;
  list-style: none;
  display: grid;
  gap: 6px;
}
.points li {
  position: relative;
  padding-left: 22px;
  font-size: 0.975rem;
  line-height: 1.45;
}
.points li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.35em;
  width: 7px; height: 11px;
  border: solid var(--teal);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.battery-note {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--warn-bg);
  color: var(--warn-text);
  font-size: 0.9rem;
}
.specs-h {
  margin-top: 22px;
  margin-bottom: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.spec-table { width: 100%; font-size: 0.92rem; }
.spec-table th, .spec-table td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th {
  width: 40%;
  font-weight: 650;
  color: var(--muted);
  background: var(--light);
}
.spec-table td { color: var(--text); word-break: break-word; }
.modal-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 20px;
}
.modal-note { margin-top: 12px; font-size: 0.85rem; color: var(--muted); }

@media (min-width: 560px) {
  .modal-actions { grid-template-columns: 1.4fr 1fr; }
}
@media (min-width: 860px) {
  .modal { align-items: center; padding: 24px; }
  .modal-dialog {
    max-width: 960px;
    max-height: calc(100vh - 48px);
    border-radius: 18px;
    transform: translateY(12px) scale(.98);
  }
  .modal-grid { grid-template-columns: 1.05fr 1fr; }
  .gallery { padding: 20px 0 20px 20px; position: sticky; top: 0; align-self: start; }
  .modal-content { padding: 32px 28px 28px; }
}

/* ---------- Drawer ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
}
.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14,27,44,.5);
  opacity: 0;
  transition: opacity .2s;
}
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer-panel {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  max-height: 85vh;
  max-height: 85dvh;
  background: var(--surface);
  border-radius: 18px 18px 0 0;
  box-shadow: var(--shadow-lg);
  transform: translateY(100%);
  transition: transform .28s var(--ease);
}
.drawer.open .drawer-panel { transform: none; }
.drawer-panel:focus-visible { outline: none; }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 12px 14px 20px;
  border-bottom: 1px solid var(--border);
}
.drawer-head h2 { font-size: 1.25rem; font-weight: 800; }
.drawer-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px 20px;
}
.drawer-hint { font-size: 0.88rem; color: var(--muted); margin-bottom: 14px; }
.drawer-list { list-style: none; display: grid; gap: 12px; }
.drawer-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.di-thumb {
  position: relative;
  width: 64px; height: 64px;
  border-radius: 10px;
  background: var(--well);
  overflow: hidden;
}
.di-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.di-thumb .img-placeholder { font-size: 0; padding: 0; }
.di-thumb .img-placeholder .ico { width: 24px; height: 24px; }
.di-main { min-width: 0; }
.di-cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}
.di-name { font-size: 0.95rem; font-weight: 700; line-height: 1.3; color: var(--ink); }
.di-qty-label { display: block; margin-top: 8px; font-size: 0.78rem; font-weight: 600; color: var(--muted); }
.di-qty {
  width: 100%;
  min-height: 44px;
  margin-top: 4px;
  padding: 8px 12px;
  border: 1.5px solid #C9D1D9;
  border-radius: 8px;
  font-size: 0.95rem;
}
.di-qty:focus { border-color: var(--teal); }
.di-remove { color: var(--muted); margin: -6px -6px 0 0; }
.di-remove:hover { color: var(--error); background: #FDECEA; }
.di-remove .ico { width: 20px; height: 20px; }
.drawer-empty { padding: 32px 0; text-align: center; color: var(--muted); }
.drawer-empty .btn { margin-top: 16px; }
.drawer-foot {
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  background: var(--surface);
}

@media (min-width: 860px) {
  .drawer-panel {
    top: 0; bottom: 0; left: auto; right: 0;
    width: 400px;
    max-width: 100%;
    max-height: none;
    border-radius: 0;
    transform: translateX(100%);
  }
  .drawer-head { min-height: var(--header-h); }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(84px + env(safe-area-inset-bottom));
  z-index: 200;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  transform: translate(-50%, 16px);
  opacity: 0;
  pointer-events: none;
  transition: transform .2s var(--ease), opacity .2s;
}
.toast:empty { padding: 0; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
@media (min-width: 860px) { .toast { bottom: 24px; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .tile-1, .tile-2, .tile-3 { transform: none !important; }
  .card:hover .card-media img { transform: none; }
}

/* ---------- Forced colors ---------- */
@media (forced-colors: active) {
  .btn, .chip, .lang-btn, .inq-btn { border: 1px solid ButtonText; }
  .chip[aria-pressed="true"], .lang-btn[aria-pressed="true"], .btn-add[aria-pressed="true"] { outline: 2px solid Highlight; }
  .badge { border: 1px solid CanvasText; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .sticky-bar, .modal, .drawer, .toast, .hero-visual, .toolbar, .card-actions, .form-actions { display: none !important; }
  .section, .hero { padding: 24px 0; background: #fff; }
  .site-footer { background: #fff; color: #000; }
}

/* v2 fixes */
html.is-locked, html.is-locked body { overflow: hidden; }
.toast.visible { transform: translate(-50%, 0); opacity: 1; }
html, body { overflow-x: clip; }
@media (max-width: 480px) {
  .header-actions { gap: 4px; }
  .header-actions .lang-btn { min-width: 36px; padding-left: 6px; padding-right: 6px; }
  .logo-text { font-size: 1rem; }
}
@media (max-width: 380px) { .logo-text { display: none; } }
@media (max-width: 859.98px) { .lang-toggle.header-lang { display: none; } }

.hp-field{position:absolute!important;left:-10000px;width:1px;height:1px;overflow:hidden}
.form-retry{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.75rem}
.form-retry[hidden]{display:none}
