

/* ---------- 1. Tokens ---------- */
:root {
  --primary: #1D4B3E;
  --primary-hover: #143A2C;
  --secondary: #3E7C5B;
  --secondary-hover: #2E6B52;
  --accent: #d97706;
  --bg-main: #FAF7F0;
  --bg-card: #ffffff;
  --bg-dark: #17231D;
  --text-main: #17231D;
  --text-muted: #6B6A61;
  --text-light: #999689;
  --text-on-dark: #F2EEE4;
  --border: #E6E1D4;
  --border-focus: #2E6B52;
  --danger-bg: #fef2f2;
  --danger-border: #fecaca;
  --danger-text: #991b1b;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 68px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--secondary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--secondary-hover); text-decoration: underline; }
ul, ol { list-style-position: inside; }
h1, h2, h3, h4 { color: var(--text-main); line-height: 1.25; font-weight: 700; }
h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }
:focus-visible { outline: 2px solid var(--border-focus); outline-offset: 2px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--primary); color: #fff; padding: 0.6rem 1rem; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }
main { min-height: 50vh; }

/* ---------- 3. Layout primitives ---------- */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-dark { background: var(--bg-dark); color: var(--text-on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 2.75rem; text-align: center; }
.section-head p { color: var(--text-muted); margin-top: 0.75rem; font-size: 1.05rem; }
.section-dark .section-head p { color: var(--text-on-dark); opacity: 0.85; }
.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem;
}
.section-title { margin-bottom: 0; }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.7rem 1.4rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.95rem; line-height: 1.2; cursor: pointer;
  border: 1px solid transparent; transition: var(--transition); text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: var(--bg-main); color: var(--primary); }
.btn-lg { padding: 0.95rem 1.9rem; font-size: 1.05rem; }
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------- 5. Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 240, 0.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo:hover { text-decoration: none; }
.logo-img { height: 34px; width: auto; }
.nav-list { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.nav-item {
  display: inline-block; padding: 0.5rem 0.85rem; border-radius: var(--radius-sm);
  color: var(--text-main); font-weight: 600; font-size: 0.95rem;
  white-space: nowrap;
}
.nav-item:hover { color: var(--primary); background: rgba(29, 75, 62, 0.07); text-decoration: none; }
.nav-item.active { color: var(--primary); background: rgba(29, 75, 62, 0.1); }
.nav-cta { margin-left: 0.5rem; }
.nav-dropdown { position: relative; }
.nav-caret { width: 11px; height: 11px; margin-left: 0.4rem; opacity: 0.85; vertical-align: -1px; }
.nav-dropdown > .nav-item:hover .nav-caret { opacity: 1; }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 0; min-width: 240px; z-index: 110;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); padding: 0.5rem; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: var(--transition);
}
.nav-dropdown:hover > .nav-dropdown-menu,
.nav-dropdown:focus-within > .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a {
  display: block; padding: 0.55rem 0.85rem; border-radius: var(--radius-sm);
  color: var(--text-main); font-weight: 500; font-size: 0.92rem;
}
.nav-dropdown-menu a:hover { background: var(--bg-main); color: var(--primary); text-decoration: none; }
.mobile-menu-btn {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: transparent; border: none; cursor: pointer;
}
.mobile-menu-btn span { display: block; height: 2px; width: 100%; background: var(--text-main); border-radius: 2px; transition: var(--transition); }


.nav-lang-btn { cursor: pointer; background: transparent; border: none; font: inherit; display: inline-flex; align-items: center; }
.nav-globe { width: 15px; height: 15px; margin-right: 0.35rem; opacity: 0.8; }
.nav-lang-menu { min-width: 158px; }
.nav-lang-menu a.is-cur { color: var(--primary); font-weight: 700; background: rgba(29, 75, 62, 0.06); }


.bbar { display: none; }
@media (max-width: 1024px) {
  body { padding-bottom: calc(4.1rem + env(safe-area-inset-bottom)); }
  .bbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.15rem;
    background: var(--bg-card); border-top: 1px solid var(--border);
    box-shadow: 0 -4px 16px rgb(23 35 29 / 0.08);
    padding: 0.3rem 0.3rem calc(0.3rem + env(safe-area-inset-bottom));
  }
  .bbar-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    padding: 0.3rem 0.15rem; border-radius: var(--radius-sm);
    font-size: 0.68rem; font-weight: 600; line-height: 1.15; text-align: center;
    color: var(--text-main); text-decoration: none;
  }
  .bbar-item:hover { color: var(--primary); text-decoration: none; }
  .bbar-item svg { width: 20px; height: 20px; }
  .bbar-cta { color: var(--primary); }
  
  .bbar-lang { position: relative; }
  .bbar-lang summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 0.3rem 0.15rem; border-radius: var(--radius-sm); }
  .bbar-lang summary::-webkit-details-marker { display: none; }
  .bbar-lang[open] summary { color: var(--primary); background: rgba(29, 75, 62, 0.07); }
  .bbar-lang-list {
    position: absolute; bottom: calc(100% + 0.55rem); left: 50%; transform: translateX(-50%);
    min-width: 150px; margin: 0; padding: 0.45rem; list-style: none;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg); text-align: left;
  }
  .bbar-lang-list a { display: block; padding: 0.5rem 0.7rem; border-radius: var(--radius-sm); font-size: 0.88rem; font-weight: 500; color: var(--text-main); text-decoration: none; }
  .bbar-lang-list a:hover { background: var(--bg-main); color: var(--primary); text-decoration: none; }
  .bbar-lang-list a.is-cur { color: var(--primary); font-weight: 700; background: rgba(29, 75, 62, 0.06); }
  
  .wa-float { bottom: calc(4.6rem + env(safe-area-inset-bottom)); }
}

@media (min-width: 1025px) and (max-width: 1360px) {
  .nav-item { padding: 0.5rem 0.6rem; font-size: 0.9rem; }
  .nav-cta { margin-left: 0.25rem; padding: 0.6rem 1.1rem; font-size: 0.9rem; }
  .nav-lang-name { display: none; }
}

/* ---------- 6. Breadcrumb ---------- */
.breadcrumb { font-size: 0.875rem; color: var(--text-muted); margin: 1.5rem auto 2rem; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { margin: 0 0.4rem; color: var(--text-light); }

/* ---------- 7. Hero ---------- */
.hero { padding: 5rem 0 4.5rem; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: center; }
.hero-title { font-size: 2.6rem; line-height: 1.15; margin-bottom: 1.25rem; }
.hero-lede { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.25rem; }
.hero-note { font-size: 0.9rem; color: var(--text-light); }
.hero-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

/* ---------- 8. Trust bar ---------- */
.trust-bar { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 1.5rem 0; }
.trust-bar-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; }
.trust-item { display: flex; align-items: center; gap: 0.65rem; }
.trust-icon { width: 34px; height: 34px; flex-shrink: 0; color: var(--secondary); }
.trust-icon svg { width: 100%; height: 100%; }
.trust-text strong { display: block; font-size: 0.95rem; line-height: 1.3; }
.trust-text span { font-size: 0.82rem; color: var(--text-muted); }

/* ---------- 9. Cards ---------- */
.card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card-body { padding: 1.4rem; }

.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.products-grid.three { grid-template-columns: repeat(3, 1fr); }
.product-card { display: flex; flex-direction: column; }
.product-card-media { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-main); }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.product-card:hover .product-card-media img { transform: scale(1.04); }
.product-card-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.product-card-title { font-size: 0.95rem; font-weight: 600; line-height: 1.4; }
.product-card-title a { color: var(--text-main); }
.product-card-title a:hover { color: var(--primary); text-decoration: none; }
.product-card-meta { margin-top: auto; font-size: 0.8rem; color: var(--text-light); }
.product-card-meta strong { color: var(--secondary); font-weight: 600; }

.categories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cat-card-media { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-card); }
.cat-card-media img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.cat-card:hover .cat-card-media img { transform: scale(1.04); }
.cat-card-body h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.cat-card-body p { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 0.9rem; }
.cat-card-link { font-weight: 600; font-size: 0.92rem; }

/* ---------- 10. Features / Stats / Steps ---------- */
.feature { text-align: left; }
.feature-icon { width: 44px; height: 44px; color: var(--secondary); margin-bottom: 0.9rem; }
.feature-icon svg { width: 100%; height: 100%; }
.feature h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.feature p { font-size: 0.94rem; color: var(--text-muted); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem; }
.feature-grid.three { grid-template-columns: repeat(3, 1fr); }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1.5rem; text-align: center; }
.stat-value { font-size: 2.2rem; font-weight: 800; color: var(--accent); line-height: 1.1; }
.stat-label { font-size: 0.9rem; color: var(--text-muted); margin-top: 0.3rem; }
.section-dark .stat-label { color: var(--text-on-dark); opacity: 0.8; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem; counter-reset: step; }
.step { position: relative; padding-top: 3.2rem; }
.step-num {
  position: absolute; top: 0; left: 0;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.92rem; color: var(--text-muted); }


.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.9rem; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 0; overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.3rem;
  font-weight: 600; position: relative; transition: var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 400; color: var(--secondary); transition: var(--transition);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { color: var(--primary); }
.faq-a { padding: 0 1.3rem 1.2rem; color: var(--text-muted); }

/* ---------- 12. Forms ---------- */
.form { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.92rem; }
.req { color: var(--accent); }
.field-hint { font-size: 0.8rem; color: var(--text-light); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.7rem 0.9rem; font: inherit; font-size: 0.95rem;
  color: var(--text-main); background: var(--bg-main);
  border: 1px solid var(--border); border-radius: var(--radius-sm); transition: var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--border-focus); background: #fff;
  box-shadow: 0 0 0 3px rgba(46, 107, 82, 0.12);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 1rem; margin-top: 0.5rem; }
.form-note { font-size: 0.82rem; color: var(--text-light); }
.form-status { grid-column: 1 / -1; border-radius: var(--radius-sm); padding: 0.8rem 1rem; font-size: 0.9rem; display: none; }
.form-status.error { display: block; background: var(--danger-bg); border: 1px solid var(--danger-border); color: var(--danger-text); }
.rfq-submit-error {
  margin-top: 12px; padding: 12px 16px; border-radius: 8px;
  background: var(--danger-bg); border: 1px solid var(--danger-border);
  color: var(--danger-text); font-size: 14px; line-height: 1.6;
}

/* ---------- 13. Spec table ---------- */
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.spec-table th, .spec-table td { text-align: left; padding: 0.8rem 1rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.spec-table th { width: 180px; color: var(--text-muted); font-weight: 600; background: var(--bg-main); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.spec-table-wrap { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }

/* ---------- 14. Prose / Blog ---------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; }
.prose h3 { font-size: 1.2rem; margin: 1.8rem 0 0.8rem; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.1rem; color: var(--text-main); }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.4rem; }
.prose blockquote {
  border-left: 3px solid var(--secondary); background: var(--bg-card);
  padding: 1rem 1.4rem; border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.5rem 0; color: var(--text-muted); font-style: italic;
}
.prose strong { color: var(--text-main); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.92rem; }
.prose table th, .prose table td { border: 1px solid var(--border); padding: 0.6rem 0.9rem; text-align: left; }
.prose table th { background: var(--bg-main); }
.article-meta { font-size: 0.88rem; color: var(--text-light); margin-bottom: 2.5rem; }
.article-meta a { color: var(--text-muted); }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.post-card-body { padding: 1.3rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.post-card-tag { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.post-card-title { font-size: 1.08rem; line-height: 1.4; }
.post-card-title a { color: var(--text-main); }
.post-card-title a:hover { color: var(--primary); text-decoration: none; }
.post-card-excerpt { font-size: 0.9rem; color: var(--text-muted); }
.post-card-more { margin-top: auto; font-size: 0.9rem; font-weight: 600; }

/* ---------- 15. CTA band ---------- */
.cta-band { background: var(--primary); color: #fff; padding: 4rem 0; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-band p { opacity: 0.85; max-width: 40rem; margin: 0 auto 1.75rem; }

/* ---------- 16. Footer ---------- */
.site-footer { background: var(--bg-dark); color: var(--text-on-dark); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.9fr 0.9fr 1.2fr; gap: 2.25rem; padding-bottom: 3rem; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 1.1rem; }
.footer-logo { height: 32px; width: auto; margin-bottom: 1rem; }
.footer-text { font-size: 0.9rem; opacity: 0.75; margin-bottom: 1.2rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: var(--text-on-dark); opacity: 0.8; font-size: 0.92rem; }
.footer-links a:hover { opacity: 1; color: #fff; }
.contact-list { list-style: none; font-size: 0.9rem; }
.contact-list li { margin-bottom: 0.7rem; opacity: 0.85; line-height: 1.5; }
.contact-list a { color: var(--text-on-dark); text-decoration: underline; }
.contact-list a:hover { color: #fff; }
.footer-cert { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom { border-top: 1px solid rgba(242, 238, 228, 0.15); padding: 1.4rem 0; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.8rem; }
.footer-bottom p { font-size: 0.84rem; opacity: 0.65; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-legal a { color: var(--text-on-dark); opacity: 0.75; font-size: 0.85rem; }
.footer-legal a:hover { opacity: 1; color: #fff; }

/* ---------- 17. Pills / Badges / Alert ---------- */
.cert-pill {
  display: inline-block; padding: 0.3rem 0.75rem; border-radius: 999px;
  border: 1px solid rgba(242, 238, 228, 0.3); font-size: 0.78rem; font-weight: 600; opacity: 0.9;
}
.pill {
  display: inline-block; padding: 0.25rem 0.7rem; border-radius: 999px;
  background: rgba(62, 124, 91, 0.12); color: var(--secondary);
  font-size: 0.8rem; font-weight: 600;
}
.badge {
  display: inline-block; padding: 0.25rem 0.7rem; border-radius: 999px;
  font-size: 0.8rem; font-weight: 600;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.alert { border-radius: var(--radius-md); padding: 1.2rem 1.4rem; border: 1px solid var(--border); background: var(--bg-card); }
.alert-success { border-color: var(--secondary); background: rgba(62, 124, 91, 0.08); }
.alert h2 { margin-bottom: 0.5rem; }


.page-head { padding: 3.5rem 0 1.5rem; }
.page-head h1 { font-size: 2.2rem; margin-bottom: 0.75rem; }
.page-head .lede { font-size: 1.08rem; color: var(--text-muted); max-width: 46rem; }

/* ---------- 19. Utilities ---------- */
.img-fluid { width: 100%; height: auto; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }

/* ---------- 20. Responsive ---------- */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid, .stat-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .mobile-menu-btn { display: flex; }
  .nav-list {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0.25rem;
    background: var(--bg-card); border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem calc(5.5rem + env(safe-area-inset-bottom)); box-shadow: var(--shadow-lg);
    display: none;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .nav-list.active { display: flex; }
  .nav-item { display: block; padding: 0.8rem 0.5rem; }
  .nav-cta { margin-left: 0; margin-top: 0.5rem; }
  .nav-dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; border-left: 2px solid var(--border);
    border-radius: 0; margin: 0 0 0 0.8rem; padding: 0 0.5rem; min-width: 0;
  }
  .hero { padding: 3.5rem 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-title { font-size: 2.1rem; }
  .trust-bar-inner { justify-content: flex-start; }
}
@media (max-width: 720px) {
  h1, .page-head h1 { font-size: 1.8rem; }
  h2 { font-size: 1.45rem; }
  .hero-title { font-size: 1.9rem; }
  .section { padding: 3.25rem 0; }
  .grid-2, .grid-3, .grid-4,
  .categories-grid, .post-grid, .feature-grid, .feature-grid.three { grid-template-columns: 1fr; }
  .products-grid, .products-grid.three { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .form-grid { grid-template-columns: 1fr; }
  .spec-table th { width: 120px; }
  
  .spec-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .products-grid, .products-grid.three { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}


[dir="rtl"] { text-align: right; }
[dir="rtl"] .nav-cta { margin-left: 0; margin-right: 0.5rem; }
[dir="rtl"] .nav-caret { margin-left: 0; margin-right: 0.4rem; }
[dir="rtl"] .nav-globe { margin-left: 0.35rem; margin-right: 0; }
[dir="rtl"] .breadcrumb { text-align: right; }
[dir="rtl"] .footer-bottom-inner { text-align: right; }
@media (max-width: 1024px) {
  .nav-lang-btn { width: 100%; justify-content: flex-start; }
  .nav-lang-menu a { padding: 0.45rem 0.6rem; font-size: 0.9rem; }
  [dir="rtl"] .nav-dropdown-menu { border-left: none; border-right: 2px solid var(--border); margin: 0 0.8rem 0 0; }
}


/* ---------- 20. Paper thickness calculator (/paper-thickness-calculator.html) ---------- */
.calc { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; max-width: 880px; margin: 0 auto; }
.calc-controls { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 1rem 1.25rem; }
.calc-field { display: flex; flex-direction: column; gap: 0.4rem; }
.calc-field label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.calc-field select, .calc-field input { font: inherit; font-size: 1rem; padding: 0.7rem 0.8rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-main); color: var(--text-main); width: 100%; }
.calc-field select:focus, .calc-field input:focus { outline: 2px solid var(--border-focus); outline-offset: 1px; }
.calc-presets { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 1.15rem; }
.calc-presets-label { font-size: 0.82rem; color: var(--text-muted); }
.calc-chip { font: inherit; font-size: 0.84rem; padding: 0.35rem 0.75rem; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-main); color: var(--text-main); cursor: pointer; }
.calc-chip:hover, .calc-chip:focus-visible { border-color: var(--primary); color: var(--primary); }
.calc-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 1.5rem; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.calc-result { background: var(--bg-main); padding: 1.1rem 0.9rem; text-align: center; display: flex; flex-direction: column; gap: 0.15rem; }
.calc-result-label { font-size: 0.72rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-muted); }
.calc-result-value { font-size: 1.65rem; font-weight: 700; color: var(--primary); line-height: 1.15; font-variant-numeric: tabular-nums; }
.calc-result-unit { font-size: 0.8rem; color: var(--text-muted); }
.calc-note { font-size: 0.85rem; color: var(--text-muted); margin-top: 1.1rem; }
.calc-foot { max-width: 880px; margin: 1.25rem auto 0; font-size: 0.88rem; color: var(--text-muted); }
@media (max-width: 720px) { .calc-controls { grid-template-columns: 1fr; } .calc { padding: 1.25rem; } .calc-result-value { font-size: 1.4rem; } }


/* ---------- 21. Tools hub (/tools/) ---------- */
.tools-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.tool-card { display: block; color: inherit; }
.tool-card:hover { color: inherit; text-decoration: none; }
.tool-card h2 { font-size: 1.3rem; margin: 0.35rem 0 0.6rem; }
.tool-card p { color: var(--text-muted); font-size: 0.94rem; }
.tools-go { display: inline-block; margin-top: 1.1rem; color: var(--secondary); font-weight: 600; font-size: 0.92rem; }

/* ---------- 22. Dieline generator (/tools/dieline-generator.html) ---------- */
.dl { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; }
.dl-controls { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem 1.1rem; }

.dl-field--wide { grid-column: 1 / -1; }
.dl-field { display: flex; flex-direction: column; gap: 0.4rem; }
.dl-field label { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); }
.dl-field select, .dl-field input { font: inherit; font-size: 0.95rem; padding: 0.6rem 0.7rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-main); color: var(--text-main); width: 100%; }
.dl-field select:focus, .dl-field input:focus { outline: 2px solid var(--border-focus); outline-offset: 1px; }
.dl-toggles { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1.15rem; }
.dl-check { display: flex; align-items: center; gap: 0.45rem; font-size: 0.9rem; color: var(--text-muted); }
.dl-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.35rem; }
.dl-dims { font-size: 0.88rem; color: var(--text-muted); margin-top: 1.8rem; font-variant-numeric: tabular-nums; }
.dl-preview { margin-top: 0.75rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; overflow: auto; }
.dl-preview svg { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.dl-note, .dl-legend { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.9rem; }
.dl-key { display: inline-block; width: 22px; border-top-width: 3px; border-top-style: solid; vertical-align: middle; margin-right: 0.3rem; }
.dl-key-cut { border-top-color: #111111; }
.dl-key-crease { border-top-color: #1a5fb4; border-top-style: dashed; }
.dl-key-bleed { border-top-color: #b3261e; border-top-style: dashed; }
.dl-empty { padding: 2.5rem 1rem; text-align: center; color: var(--text-muted); font-size: 0.92rem; }
@media (max-width: 1000px) { .dl-controls { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .tools-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .dl-controls { grid-template-columns: repeat(2, 1fr); } .dl { padding: 1.25rem; } }


/* ---------- 23. Contact form: service select + artwork upload ---------- */

.grid-contact { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
@media (max-width: 900px) { .grid-contact { grid-template-columns: minmax(0, 1fr); } }
.field select, .field input[type="file"] { font: inherit; font-size: 0.95rem; padding: 0.7rem 0.75rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-card); color: var(--text-main); width: 100%; }
.field select:focus, .field input[type="file"]:focus { outline: 2px solid var(--border-focus); outline-offset: 1px; }
.field input[type="file"] { padding: 0.5rem 0.6rem; font-size: 0.88rem; }
.field input[type="file"]::file-selector-button { font: inherit; font-size: 0.85rem; margin-right: 0.7rem; padding: 0.4rem 0.8rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-main); color: var(--text-main); cursor: pointer; }


/* ---------- 24. WhatsApp floating button (site-wide, from src/partials/footer.html) ---------- */
.wa-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgb(0 0 0 / 0.18); transition: var(--transition); }
.wa-float:hover { background: #1EBE5A; color: #fff; text-decoration: none; transform: translateY(-2px); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; display: block; }
.wa-float:focus-visible { outline: 2px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 4px rgb(37 211 102 / 0.5); }
@media (max-width: 640px) { .wa-float { right: 1rem; bottom: 1rem; width: 50px; height: 50px; } .wa-float svg { width: 27px; height: 27px; } }



.blog-card { display: flex; flex-direction: column; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; color: inherit; box-shadow: var(--shadow-sm); transition: var(--transition); }
.blog-card:hover { color: inherit; text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-md); }
.blog-card:focus-visible { outline: 2px solid var(--border-focus); outline-offset: 2px; }
.blog-card-media { display: block; aspect-ratio: 3 / 2; background: var(--bg-main); overflow: hidden; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card-body { display: flex; flex-direction: column; gap: 0.55rem; padding: 1.4rem; flex: 1; }
.blog-card-tag { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.blog-card-meta { font-size: 0.8rem; color: var(--text-muted); }
.blog-card-title { font-size: 1.12rem; line-height: 1.35; font-weight: 700; color: var(--text-main); }
.blog-card-excerpt { font-size: 0.9rem; color: var(--text-muted); }
.blog-card-more { margin-top: auto; padding-top: 0.35rem; font-size: 0.9rem; font-weight: 600; color: var(--secondary); }


.reading-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.reading-list li { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.1rem 1.3rem; }
.reading-list a { font-weight: 700; color: var(--text-main); }
.reading-list a:hover { color: var(--primary); text-decoration: none; }
.reading-list p { margin: 0.35rem 0 0; font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; }


.post-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 3.5rem; align-items: start; }
.post-main { min-width: 0; }
.post-toc { position: sticky; top: calc(var(--header-h) + 1.5rem); font-size: 0.9rem; }
.post-toc-title { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.75rem; }
.post-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--border); }
.post-toc li { margin: 0; }
.post-toc a { display: block; padding: 0.4rem 0 0.4rem 0.9rem; margin-left: -1px; border-left: 2px solid transparent; color: var(--text-muted); font-size: 0.875rem; line-height: 1.4; }
.post-toc a:hover { color: var(--primary); text-decoration: none; }
.post-toc a.is-active { color: var(--primary); border-left-color: var(--primary); font-weight: 600; }
.post-toc .toc-sub a { padding-left: 1.7rem; font-size: 0.84rem; }
.post-hero { margin: 0 0 2.25rem; }
.post-hero img { width: 100%; height: auto; border-radius: var(--radius-md); display: block; }

.post-article { font-size: 1.06rem; line-height: 1.85; color: var(--text-main); }
.post-article > * + * { margin-top: 1.4rem; }
.post-article p { margin: 0; }
.post-article h2 { font-size: 1.55rem; line-height: 1.3; margin-top: 3rem; margin-bottom: 0; }
.post-article h3 { font-size: 1.2rem; line-height: 1.35; margin-top: 2.1rem; margin-bottom: 0; }
.post-article h2 + *, .post-article h3 + * { margin-top: 0.85rem; }
.post-article ul, .post-article ol { padding-left: 1.35rem; }
.post-article li + li { margin-top: 0.5rem; }
.post-article blockquote { border-left: 3px solid var(--border); padding-left: 1.15rem; color: var(--text-muted); font-style: italic; }
.post-article img { border-radius: var(--radius-sm); height: auto; }
.post-article table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.post-article th, .post-article td { border: 1px solid var(--border); padding: 0.6rem 0.8rem; text-align: left; }
.post-article > *:first-child { margin-top: 0; }

.post-related { margin-top: 4.5rem; padding-top: 2.5rem; border-top: 1px solid var(--border); }
.post-related h2 { font-size: 1.3rem; margin-bottom: 1.5rem; }
.post-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

@media (max-width: 1000px) {
  .post-layout { grid-template-columns: 1fr; gap: 1.75rem; }
  .post-toc { position: static; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.1rem 1.25rem; background: var(--bg-card); }
  .post-related-grid { grid-template-columns: 1fr; }
}


.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial-card { margin: 0; display: flex; flex-direction: column; gap: 1.1rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.6rem 1.5rem 1.4rem; box-shadow: var(--shadow-sm); }
.testimonial-card blockquote { margin: 0; }
.testimonial-card blockquote p { font-size: 0.98rem; line-height: 1.65; color: var(--text-main); margin: 0; }
.testimonial-stars { display: flex; gap: 0.2rem; color: var(--accent); }
.testimonial-stars svg { width: 18px; height: 18px; fill: currentColor; display: block; }
.testimonial-card figcaption { display: flex; flex-direction: column; gap: 0.15rem; margin-top: auto; padding-top: 0.8rem; border-top: 1px solid var(--border); }
.testimonial-card figcaption strong { font-size: 0.95rem; color: var(--text-main); }
.testimonial-card figcaption span { font-size: 0.85rem; color: var(--text-muted); }
@media (max-width: 720px) { .testimonial-grid { grid-template-columns: 1fr; } }




.quote-add { display: none; }
.js .quote-add { display: inline-flex; margin-top: 0.65rem; align-self: flex-start; }
.quote-add.is-added { background: var(--secondary); border-color: var(--secondary); color: #fff; }


.quote-basket { margin-bottom: 1.5rem; }
.quote-basket-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.9rem; }
.quote-basket-head h2 { font-size: 1.2rem; }
.quote-clear { border: none; background: none; font: inherit; font-size: 0.85rem; color: var(--text-muted); cursor: pointer; text-decoration: underline; padding: 0.2rem 0.3rem; }
.quote-clear:hover { color: var(--danger-text); }
.quote-items { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.9rem; }
.quote-item { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-main); padding: 0.9rem 1rem; display: flex; flex-direction: column; gap: 0.6rem; }
.quote-item-head { display: flex; align-items: baseline; gap: 0.55rem; }
.quote-item-name { font-weight: 600; font-size: 0.95rem; line-height: 1.35; }
.quote-item-model { color: var(--secondary); font-weight: 600; font-size: 0.85rem; white-space: nowrap; }
.quote-item-remove { margin-left: auto; border: none; background: none; cursor: pointer; color: var(--text-light); font-size: 1.25rem; line-height: 1; padding: 0.1rem 0.45rem; border-radius: var(--radius-sm); }
.quote-item-remove:hover { color: var(--danger-text); background: var(--danger-bg); }
.quote-item-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 0.6rem; }
.quote-item-fields input { width: 100%; font: inherit; font-size: 0.9rem; padding: 0.55rem 0.7rem; color: var(--text-main); background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.quote-item-fields input:focus { outline: 2px solid var(--border-focus); outline-offset: 1px; }
.quote-empty-note { font-size: 0.95rem; color: var(--text-muted); background: var(--bg-main); border: 1px dashed var(--border); border-radius: var(--radius-md); padding: 1rem 1.2rem; margin-bottom: 1.25rem; }
@media (max-width: 720px) { .quote-item-fields { grid-template-columns: 1fr; } }


.cta-band.cta-band-slim { padding: 2.75rem 0; }
.cta-form { max-width: 880px; margin: 0 auto; background: #fff; border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-lg); text-align: left; color: var(--text-main); }
.cta-form .form-grid { grid-template-columns: repeat(3, 1fr); }
.cta-form .form-actions { margin-top: 0.25rem; }
.cta-form-alt { margin: 1.5rem auto 0; font-size: 0.9rem; opacity: 0.92; }
.cta-form-alt a { color: #fff; text-decoration: underline; font-weight: 600; }
.cta-form-alt a:hover { color: #fff; }
@media (max-width: 860px) { .cta-form { padding: 1.25rem; } .cta-form .form-grid { grid-template-columns: 1fr; } }


.flow-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; margin-bottom: 0.75rem; }
.flow-step { background: var(--bg-card); padding: 1rem 0.9rem; display: flex; flex-direction: column; gap: 0.15rem; }
.flow-num { width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--primary); color: #fff; font-size: 0.78rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 0.35rem; }
.flow-t { font-weight: 700; font-size: 0.88rem; line-height: 1.3; }
.flow-d { font-size: 0.8rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .flow-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .flow-strip { grid-template-columns: repeat(2, 1fr); } }

.eco-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.app-chip { display: inline-block; }
.app-chip:hover { text-decoration: none; color: var(--primary-hover); background: rgba(62, 124, 91, 0.2); }
.spec-table .app-cell { line-height: 2; }

.sizing-notes { margin-top: 0.75rem; padding-left: 1.2rem; color: var(--text-muted); font-size: 0.95rem; }
.sizing-notes li { margin-bottom: 0.45rem; }

.cat-guide { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.cat-guide-item { display: flex; align-items: baseline; gap: 0.75rem; padding: 0.85rem 1.1rem; background: var(--bg-card); }
.cat-guide-item + .cat-guide-item { border-top: 1px solid var(--border); }
.cat-guide-scene { flex: 1; font-size: 0.94rem; color: var(--text-muted); }
.cat-guide-arrow { color: var(--accent); font-weight: 700; }
.cat-guide-link { font-weight: 600; font-size: 0.94rem; text-align: right; }
@media (max-width: 640px) { .cat-guide-item { flex-direction: column; gap: 0.25rem; } .cat-guide-link { text-align: left; } }


.bs-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 1.75rem; }
.bs-tag { font: inherit; font-size: 0.88rem; font-weight: 600; padding: 0.45rem 1.1rem; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-card); color: var(--text-main); cursor: pointer; transition: var(--transition); }
.bs-tag:hover { border-color: var(--primary); color: var(--primary); }
.bs-tag.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }
.bs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.bs-card { display: flex; flex-direction: column; gap: 0.45rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.15rem 1.2rem; color: inherit; box-shadow: var(--shadow-sm); transition: var(--transition); }
.bs-card:hover { text-decoration: none; color: inherit; transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--secondary); }
.bs-card.is-hidden { display: none; }
.bs-card-head { display: flex; align-items: center; justify-content: space-between; }
.bs-code { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; color: var(--secondary); }
.bs-pop { background: rgba(217, 119, 6, 0.12); color: var(--accent); }
.bs-name { font-weight: 700; font-size: 1rem; line-height: 1.35; color: var(--text-main); }
.bs-tagline { font-size: 0.86rem; color: var(--text-muted); line-height: 1.5; }
.bs-go { margin-top: auto; padding-top: 0.35rem; font-weight: 600; font-size: 0.88rem; color: var(--secondary); }
@media (max-width: 1024px) { .bs-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .bs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .bs-grid { grid-template-columns: 1fr; } }


.sx-pain { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.sx-pain-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.25rem 1.3rem; }
.sx-pain-item h3 { font-size: 1.02rem; margin-bottom: 0.5rem; line-height: 1.35; }
.sx-pain-item p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; margin: 0; }
@media (max-width: 720px) { .sx-pain { grid-template-columns: 1fr; } }
.cat-guide-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 0.9rem; justify-content: flex-end; }
.cat-guide-model { font-size: 0.84rem; color: var(--secondary); font-weight: 600; white-space: nowrap; }
@media (max-width: 640px) { .cat-guide-links { justify-content: flex-start; } }
.sx-note { font-size: 0.96rem; color: var(--text-main); line-height: 1.7; margin-bottom: 0.9rem; padding-left: 1rem; border-left: 3px solid var(--secondary); }
.sx-compliance { margin-top: 1.25rem; font-size: 0.9rem; color: var(--text-muted); background: var(--bg-main); border: 1px dashed var(--border); border-radius: var(--radius-md); padding: 0.85rem 1.1rem; }
.sx-related { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; justify-content: center; font-size: 0.95rem; color: var(--text-muted); }


.mat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 1.5rem; }
.mat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.25rem 1.3rem; display: flex; flex-direction: column; gap: 0.65rem; }
.mat-card h3 { font-size: 1.05rem; line-height: 1.35; }
.mat-pills { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.mat-best, .mat-print { font-size: 0.92rem; line-height: 1.6; color: var(--text-muted); margin: 0; }
.mat-best strong, .mat-print strong { color: var(--text-main); }
.mat-more summary { cursor: pointer; font-size: 0.85rem; font-weight: 600; color: var(--secondary); list-style: none; }
.mat-more summary::-webkit-details-marker { display: none; }
.mat-more summary::after { content: " ▸"; font-size: 0.75rem; }
.mat-more[open] summary::after { content: " ▾"; }
.mat-more p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; margin: 0.5rem 0 0; }
@media (max-width: 720px) { .mat-grid { grid-template-columns: 1fr; } }


.gal-thumbs { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.gal-thumb { width: 64px; height: 64px; padding: 0; border: 2px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; background: #fff; transition: var(--transition); }
.gal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-thumb:hover { border-color: var(--secondary); }
.gal-thumb.is-active { border-color: var(--primary); }
.dl-styles { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.dl-styles .pill { font-size: 0.82rem; }


.dtpl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.dtpl-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.4rem 1.5rem 1.5rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.dtpl-code { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.dtpl-name { font-size: 1.1rem; margin-top: 0.3rem; }
.dtpl-blurb { font-size: 0.9rem; color: var(--text-muted); margin-top: 0.35rem; }
.dtpl-row { display: grid; grid-template-columns: 190px 1fr; gap: 1rem; margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px dashed var(--border); align-items: start; }
.dtpl-media { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); height: 130px; display: grid; place-items: center; overflow: hidden; padding: 0.4rem; text-decoration: none; transition: var(--transition); }
.dtpl-media:hover { border-color: var(--secondary); }
.dtpl-media svg { max-width: 100%; max-height: 100%; width: auto; height: auto; display: block; }
.dtpl-row-body { display: flex; flex-direction: column; }
.dtpl-size-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem; }
.dtpl-size-name { font-weight: 700; font-size: 0.92rem; }
.dtpl-size-dims { font-size: 0.92rem; color: var(--text-main); font-variant-numeric: tabular-nums; }
.dtpl-size-flat { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.2rem; font-variant-numeric: tabular-nums; }
.dtpl-links { display: flex; gap: 0.5rem; margin-top: 0.6rem; }
.dtpl-links .btn { padding: 0.4rem 0.9rem; font-size: 0.85rem; }
.dtpl-all { margin-top: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem; font-size: 0.9rem; }
@media (max-width: 760px) { .dtpl-grid { grid-template-columns: 1fr; } .dtpl-row { grid-template-columns: 132px 1fr; } .dtpl-media { height: 108px; } }
.insp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.insp-card { display: block; color: inherit; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); }
.insp-card:hover { text-decoration: none; color: inherit; transform: translateY(-3px); box-shadow: var(--shadow-md); }
.insp-card-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-main); }
.insp-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: var(--transition); }
.insp-card:hover .insp-card-media img { transform: scale(1.04); }
.insp-card-body { padding: 1.1rem 1.2rem 1.25rem; display: flex; flex-direction: column; gap: 0.35rem; }
.insp-card-body h3 { font-size: 1.02rem; }
.insp-card-body p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }
@media (max-width: 900px) { .insp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .insp-grid { grid-template-columns: 1fr; } }


.sol-scene { margin: 0; }
.sol-scene img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); display: block; }
.sol-scene figcaption { margin-top: 0.5rem; font-size: 0.8rem; color: var(--text-light); text-align: center; }
