/* =========================================================
   Sparely OEM — site stylesheet
   Design tokens extracted from the live site (oklch → hex)
   ========================================================= */

:root {
  --background: #f9fafd;
  --foreground: #151822;
  --surface: #ffffff;
  --card: #ffffff;
  --primary: #5952d2;
  --primary-foreground: #ffffff;
  --secondary: #eceef5;
  --muted: #eef0f6;
  --muted-foreground: #515561;
  --accent: #eee7fd;
  --accent-foreground: #211f2f;
  --border: #d5d7de;
  --ring: #6660d8;

  --brand-blue: #1f5ed9;
  --brand-violet: #6d2ae0;
  --brand-pink: #c61583;
  --brand-ink: #242641;
  --whatsapp: #008b45;
  --whatsapp-foreground: #ffffff;

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gradient-brand: linear-gradient(135deg, #1f5ed9 0%, #6d2ae0 50%, #c61583 100%);
  --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.55));
  --glass-border: rgba(107, 95, 150, 0.16);
  --glass-shadow: 0 18px 50px -28px rgba(36, 30, 70, 0.45);
  --shadow-elevated: 0 30px 70px -32px rgba(36, 30, 70, 0.4);
  --page-wash:
    radial-gradient(1100px 560px at 8% -12%, rgba(31, 94, 217, 0.14), transparent 60%),
    radial-gradient(900px 480px at 100% 4%, rgba(198, 21, 131, 0.12), transparent 60%);

  --radius: 0.75rem;
  --container: 80rem;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.02em; font-weight: 600; }

.page-wash {
  min-height: 100vh;
  background-image: var(--page-wash);
  background-attachment: fixed;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 640px) { .container { padding-inline: 1.5rem; } }

/* ---------- glass surfaces ---------- */
.glass, .glass-soft, .glass-strong {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}
.glass-strong { -webkit-backdrop-filter: blur(28px); backdrop-filter: blur(28px); }

.text-gradient-brand {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  border: 0;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: scale(1.02); }
.btn:active { transform: scale(1); }
.btn svg { flex-shrink: 0; }

.btn-wa {
  background: var(--whatsapp);
  color: var(--whatsapp-foreground);
  box-shadow: 0 10px 15px -3px rgba(0, 139, 69, 0.25), 0 4px 6px -4px rgba(0, 139, 69, 0.25);
}
.btn-wa:hover { background: #007a3d; }

.btn-lg { min-height: 3.25rem; padding-inline: 1.75rem; font-size: 1rem; }
.btn-sm { min-height: 2.75rem; padding-inline: 0.875rem; font-size: 0.875rem; }

.btn-outline {
  position: relative;
  color: var(--foreground);
  background: transparent;
  font-weight: 500;
  font-size: 0.875rem;
  min-height: 2.75rem;
  padding-inline: 1.75rem;
  border-radius: 999px;
}
.btn-outline::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-brand);
  opacity: 0.65;
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.6); }

.btn-glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  color: var(--foreground);
  font-weight: 500;
  font-size: 0.875rem;
  min-height: 2.75rem;
  padding-inline: 1.5rem;
}
.btn-glass:hover { background: #fff; }


/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid transparent;
  background: rgba(249, 250, 253, 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.header.is-scrolled { border-bottom-color: var(--border); background: rgba(249, 250, 253, 0.85); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 4rem;
}

.brand { display: flex; align-items: center; gap: 0.625rem; flex-shrink: 0; }
.brand img { width: 2.25rem; height: 2.25rem; border-radius: 0.5rem; object-fit: contain; }
.brand span { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; }

.nav { display: none; margin-inline-start: 1rem; flex: 1; align-items: center; gap: 0.25rem; }
@media (min-width: 1024px) { .nav { display: flex; } }

.nav a {
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.nav a:hover { background: var(--accent); color: var(--foreground); }
.nav a.active { background: var(--accent); color: var(--foreground); }

.header-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 0.5rem; }


.header-actions .wa-pill { display: none; }
@media (min-width: 640px) { .header-actions .wa-pill { display: inline-flex; } }

.hamburger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
}
@media (min-width: 1024px) { .hamburger { display: none; } }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  padding: 0.75rem 1rem 1.25rem;
}
.mobile-menu.open { display: block; }
@media (min-width: 1024px) { .mobile-menu.open { display: none; } }
.mobile-menu a {
  display: block;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--foreground);
}
.mobile-menu a:hover, .mobile-menu a.active { background: var(--accent); }
.mobile-menu .btn { width: 100%; margin-top: 0.75rem; }

/* ---------- typography helpers ---------- */
.eyebrow {
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
}
.h1 { font-size: 2.25rem; line-height: 1.25; }
.h2 { font-size: 1.875rem; line-height: 1.2; }
.h3 { font-size: 1.125rem; line-height: 1.3; }
.lead { color: var(--muted-foreground); }
@media (min-width: 640px) { .h1 { font-size: 3rem; } }
@media (min-width: 768px) {
  .h1 { font-size: 3.75rem; }
  .h2 { font-size: 2.25rem; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}
.hero-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(249, 250, 253, 0.7) 0%,
    rgba(249, 250, 253, 0.85) 50%,
    var(--background) 100%);
}
.hero-inner { position: relative; padding-block: 5rem; }
@media (min-width: 768px) { .hero-inner { padding-block: 7rem; } }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
}
.hero h1 { margin-top: 1.5rem; max-width: 48rem; }
.hero-lead { margin-top: 1.5rem; max-width: 42rem; line-height: 1.625; }
@media (min-width: 768px) { .hero-lead { font-size: 1.125rem; } }

.hero-cta { margin-top: 2.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }

.stats {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
@media (min-width: 640px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { border-radius: 1rem; padding: 1rem; }
.stat dt { font-size: 0.75rem; color: var(--muted-foreground); }
.stat dd { margin-top: 0.25rem; font-size: 1.25rem; font-weight: 600; }

/* ---------- sections ---------- */
.section { padding-block: 4rem; }
@media (min-width: 768px) { .section { padding-block: 6rem; } }
.section-head { margin-bottom: 2.5rem; max-width: 48rem; }
.section-head p:not(.eyebrow) { margin-top: 1rem; line-height: 1.625; color: var(--muted-foreground); }

.grid { display: grid; gap: 1.25rem; }
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) {
  .grid-2-lg { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
  .grid-3-lg { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.card { border-radius: 1.5rem; padding: 1.5rem; }
.card h3 { margin-top: 1rem; font-size: 1.125rem; }
.card p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }
.card .ico { color: var(--primary); }

/* ---------- category cards ---------- */
.cat-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.cat-card {
  display: block;
  overflow: hidden;
  border-radius: 1.5rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.cat-card:hover { transform: translateY(-0.25rem); border-color: rgba(89, 82, 210, 0.4); }
.cat-card img.thumb {
  height: 11rem;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.cat-card:hover img.thumb { transform: scale(1.05); }
.cat-card .cat-body { padding: 1.25rem; }
.cat-card h3 { font-size: 1.125rem; }
.cat-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.more-link { margin-top: 2rem; }

/* ---------- makes ---------- */
.make-groups { display: flex; flex-direction: column; gap: 2rem; }
.make-title {
  margin-bottom: 1rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.make-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
@media (min-width: 640px) { .make-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .make-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.make-chip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 4rem;
  border-radius: 1rem;
  padding: 0.75rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.make-chip:hover { border-color: rgba(89, 82, 210, 0.4); }
.make-chip img {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border-radius: 0.5rem;
  object-fit: contain;
  padding: 0.25rem;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--border);
}
.make-chip span { font-size: 0.875rem; font-weight: 500; }

/* ---------- steps ---------- */
.step { border-radius: 1.5rem; padding: 1.5rem; }
.step-num { font-size: 1.875rem; font-weight: 600; font-family: var(--font-display); }
.step h3 { margin-top: 0.75rem; font-size: 1rem; font-family: var(--font-display); }
.step p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }

/* ---------- testimonials ---------- */
.quote {
  display: flex;
  flex-direction: column;
  border-radius: 1.5rem;
  padding: 1.5rem;
  height: 100%;
}
.quote .q-ico { color: var(--primary); }
.quote blockquote {
  margin-top: 0.75rem;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.625;
  color: rgba(21, 24, 34, 0.9);
}
.quote figcaption { margin-top: 1.25rem; border-top: 1px solid rgba(213, 215, 222, 0.6); padding-top: 1rem; font-size: 0.875rem; }
.quote .who { font-weight: 600; }
.quote .meta { display: block; font-size: 0.75rem; color: var(--muted-foreground); }
.stars { margin-top: 0.5rem; display: flex; gap: 0.125rem; color: var(--primary); }
.stars svg { width: 1rem; height: 1rem; }
.stars .empty { color: var(--border); }
.quote .date { display: block; font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-foreground); margin-bottom: 0.5rem; }

/* ---------- about ---------- */
.about-p { font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }
.bullets { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; color: var(--muted-foreground); }
.bullets li { display: flex; align-items: flex-start; gap: 0.75rem; }
.bullets svg { flex-shrink: 0; color: var(--primary); margin-top: 0.125rem; }
.contact-card { display: flex; flex-direction: column; justify-content: space-between; border-radius: 1.5rem; padding: 1.75rem; }
.contact-card h3 { font-size: 1.25rem; font-family: var(--font-display); }
.contact-card .phone { margin-top: 1rem; font-size: 1.5rem; font-weight: 600; }
.contact-actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- page header (inner pages) ---------- */
.page-head { padding-top: 6rem; padding-bottom: 2.25rem; }
.page-head .h1 { margin-top: 0; font-size: 2.25rem; line-height: 1.2; }
.page-head p.desc { margin-top: 0.75rem; max-width: 43rem; font-size: 0.875rem; line-height: 1.65; color: var(--muted-foreground); }

/* ---------- catalog ---------- */
.search-card { border-radius: 1.5rem; padding: 1.5rem; }
.field-label { display: block; font-size: 0.8125rem; font-weight: 500; color: var(--muted-foreground); margin-bottom: 0.5rem; }
.input-wrap { position: relative; }
.input-wrap svg { position: absolute; left: 0.875rem; top: 50%; transform: translateY(-50%); color: var(--muted-foreground); }
.input, .textarea {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.85);
  padding: 0.6875rem 0.875rem;
  font-size: 0.875rem;
  color: var(--foreground);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input::placeholder, .textarea::placeholder { color: #9aa0ad; }
.input:focus, .textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(89, 82, 210, 0.15); }
.input-wrap .input { padding-left: 2.5rem; }
.textarea { min-height: 6.5rem; resize: vertical; }

.selector-grid { display: grid; gap: 1.25rem; margin-top: 1.25rem; }
@media (min-width: 640px) { .selector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .selector-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.panel { border-radius: 1.25rem; padding: 1.25rem; }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.panel-title { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary); }
.panel-clear { font-size: 0.6875rem; color: var(--muted-foreground); background: none; border: 0; cursor: pointer; }
.panel-clear:hover { color: var(--foreground); }
.panel-body { max-height: 17.5rem; overflow-y: auto; padding-right: 0.25rem; }
.panel-body::-webkit-scrollbar { width: 6px; }
.panel-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 999px; }

.opt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-radius: 0.5rem;
  padding: 0.4375rem 0.375rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  cursor: pointer;
}
.opt:hover { background: rgba(238, 231, 253, 0.6); color: var(--foreground); }
.opt[aria-pressed="true"] { background: var(--accent); color: var(--foreground); font-weight: 500; }
.opt img { width: 1.125rem; height: 1.125rem; object-fit: contain; flex-shrink: 0; }
.panel-empty { font-size: 0.8125rem; color: var(--muted-foreground); padding: 0.5rem 0.25rem; }

.selection { margin-top: 1.25rem; border-radius: 1.5rem; padding: 1.5rem; }
.selection-row { display: grid; gap: 1rem; margin-top: 0.75rem; }
@media (min-width: 768px) { .selection-row { grid-template-columns: 1fr 1fr; align-items: end; } }
.selection-actions { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.chip-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-foreground);
  font-size: 0.75rem;
  padding: 0.25rem 0.625rem;
  margin: 0 0.375rem 0.375rem 0;
}

/* ---------- rfq ---------- */
.rfq-grid { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 992px) { .rfq-grid { grid-template-columns: 1.45fr 1fr; } }
.form-card { border-radius: 1.5rem; padding: 1.75rem; }
.form-grid { display: grid; gap: 1.125rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: block; }
.field.full { grid-column: 1 / -1; }
.field .label { display: block; font-size: 0.75rem; font-weight: 500; color: var(--muted-foreground); margin-bottom: 0.375rem; }
.field .label .req { color: var(--muted-foreground); }
.hint { margin-top: 0.75rem; font-size: 0.75rem; color: var(--muted-foreground); }
.preview-card { border-radius: 1.5rem; padding: 1.5rem; }
.preview-title { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-foreground); }
.preview-text {
  margin-top: 0.75rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--glass-border);
  padding: 0.875rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--muted-foreground);
}
.side-card { border-radius: 1.5rem; padding: 1.5rem; margin-top: 1.25rem; }
.side-card h3 { font-size: 1.125rem; }
.side-card p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }
.side-card .phone { margin-top: 0.75rem; font-size: 1.375rem; font-weight: 600; }

/* ---------- trust page ---------- */
.doc-card { border-radius: 1.5rem; padding: 1.75rem; max-width: 56rem; margin-inline: auto; }
.doc-card h3 { margin-top: 1.75rem; font-size: 1.375rem; }
.doc-card h3:first-child { margin-top: 0; }
.doc-card p { margin-top: 0.625rem; font-size: 0.9375rem; line-height: 1.7; color: var(--muted-foreground); }
.doc-card ul { margin-top: 0.625rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.9375rem; color: var(--muted-foreground); }
.doc-card ul li { padding-left: 1.125rem; position: relative; }
.doc-card ul li::before { content: ""; position: absolute; left: 0.125rem; top: 0.6rem; width: 5px; height: 5px; border-radius: 999px; background: var(--primary); }

/* ---------- footer ---------- */
.footer { margin-top: 6rem; border-top: 1px solid var(--border); background: rgba(255, 255, 255, 0.6); }
.footer-grid { display: grid; gap: 2.5rem; padding-block: 3.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.footer h2 { font-family: var(--font-sans); margin-bottom: 0.75rem; font-size: 0.875rem; font-weight: 600; letter-spacing: 0; }
.footer ul { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; }
.footer a { color: var(--muted-foreground); transition: color 0.15s ease; }
.footer a:hover { color: var(--foreground); }
.footer a.active { color: var(--foreground); }
.footer-brand { display: flex; align-items: center; gap: 0.625rem; }
.footer-brand img { width: 2.25rem; height: 2.25rem; border-radius: 0.5rem; object-fit: contain; }
.footer-brand span { font-size: 1.125rem; font-weight: 600; }
.footer-desc { margin-top: 1rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }
.footer-legal { margin-top: 0.5rem; font-size: 0.75rem; color: var(--muted-foreground); }
.footer-contact { display: flex; align-items: flex-start; gap: 0.5rem; color: var(--muted-foreground); }
.footer a.btn-wa { color: var(--whatsapp-foreground); }
.footer-contact svg { flex-shrink: 0; margin-top: 0.125rem; }
.footer-bottom { border-top: 1px solid var(--border); padding-block: 1.75rem; }
.footer-bottom p { font-size: 0.75rem; line-height: 1.6; color: var(--muted-foreground); }
.footer-bottom p + p { margin-top: 0.5rem; }

/* ---------- floating whatsapp ---------- */
.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 12px 30px -8px rgba(0, 139, 69, 0.55);
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.06); }

/* ---------- utilities ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: #fff; padding: 0.75rem 1rem; border-radius: 0.5rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }
.mono-small { font-variant-numeric: tabular-nums; }

/* ---------- catalog shell ---------- */
.catalog-shell { border-radius: 1.5rem; padding: 1.5rem; }
.catalog-shell .panel {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border);
  box-shadow: none;
}
.catalog-shell .selection {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.78);
  padding: 1.25rem;
}
.selection h3 { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-foreground); }
.selection .summary { margin-top: 0.5rem; font-size: 0.875rem; }
.selection .part-field { margin-top: 1rem; max-width: 26rem; }
@media (min-width: 640px) { .catalog-shell { padding: 1.75rem; } }

/* ---------- review filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.filter-pill {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.filter-pill:hover { color: var(--foreground); }
.filter-pill.active { background: var(--accent); color: var(--foreground); border-color: transparent; }

.make-mono {
  width: 2.25rem; height: 2.25rem; flex-shrink: 0;
  border-radius: 0.5rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--border);
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--muted-foreground);
}

.thumb-icon {
  height: 11rem;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(109,42,224,.35), transparent 62%),
    linear-gradient(135deg, #0a0b11, #16121f 55%, #1d0f1c);
  position: relative;
  overflow: hidden;
  transition: transform .5s ease;
}
.thumb-icon::before {
  content: ""; position: absolute; inset: 0; opacity: .18;
  background-image:
    repeating-linear-gradient(0deg, rgba(142,160,200,.55) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgba(142,160,200,.55) 0 1px, transparent 1px 40px);
}
.thumb-icon svg { position: relative; color: #c8a8ff; }
.cat-card:hover .thumb-icon { transform: scale(1.05); }

/* ---------- stock list 订阅 ---------- */
.btn-primary {
  background: linear-gradient(135deg, var(--brand-violet), var(--brand-blue));
  color: #fff;
  box-shadow: 0 10px 15px -3px rgba(89, 82, 210, 0.28), 0 4px 6px -4px rgba(89, 82, 210, 0.28);
  min-height: 2.875rem;
  padding-inline: 1.5rem;
  font-size: 0.9375rem;
}
.btn-primary:hover { filter: brightness(1.06); }
.btn-primary[disabled] { opacity: 0.7; cursor: default; transform: none; }

.subscribe-section { padding-block: 0 2.5rem; }
@media (min-width: 768px) { .subscribe-section { padding-block: 0 3.5rem; } }

.subscribe {
  border-radius: 1.75rem;
  padding: 1.75rem 1.5rem;
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
.subscribe h2 { margin-top: 0.375rem; }
.subscribe-copy > p:not(.eyebrow) {
  margin-top: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1.65;
  max-width: 34rem;
}
.subscribe-form { display: grid; gap: 0.625rem; }
.subscribe-row { display: flex; gap: 0.625rem; align-items: stretch; }
.subscribe-row .input { flex: 1 1 auto; min-width: 0; min-height: 2.875rem; font-size: 0.9375rem; }
.subscribe-row.is-done { opacity: 0.65; }
.subscribe-row.is-done .input { pointer-events: none; }
.subscribe-hp {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}
.subscribe-msg { font-size: 0.8125rem; line-height: 1.5; color: var(--muted-foreground); }
.subscribe-msg:empty { display: none; }
.subscribe-msg.ok { color: #0a7a44; }
.subscribe-msg.err { color: #b3251b; }
.subscribe-msg a { color: inherit; text-decoration: underline; font-weight: 600; }
.subscribe-note { font-size: 0.75rem; line-height: 1.55; color: var(--muted-foreground); }
.subscribe-note a { color: inherit; text-decoration: underline; }

@media (min-width: 640px) {
  .subscribe { padding: 2rem 2.25rem; }
}
@media (min-width: 900px) {
  .subscribe { grid-template-columns: 1.15fr 1fr; gap: 2.25rem; padding: 2.25rem 2.5rem; }
}
@media (max-width: 520px) {
  .subscribe-row { flex-direction: column; }
  .subscribe-row .btn { width: 100%; }
}
