/* ==========================================================================
   创科新材 (Tiger Chem) Official B2B Website Stylesheet
   Zero External CDN Dependency — Fast Loading Globally (China + Overseas)
   ========================================================================== */
:root {
  --navy-900: #0b1c36;
  --navy-800: #132c52;
  --navy-700: #1d437a;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-50:  #eff6ff;
  --teal-600: #0d9488;
  --teal-50:  #f0fdfa;
  --amber-600:#d97706;
  --amber-50: #fffbeb;
  --slate-900:#0f172a;
  --slate-700:#334155;
  --slate-600:#475569;
  --slate-500:#64748b;
  --slate-200:#e2e8f0;
  --slate-100:#f1f5f9;
  --slate-50: #f8fafc;
  --white:    #ffffff;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 35px -10px rgba(11, 28, 54, 0.16);
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--slate-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}
.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.brand-text-main {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.brand-text-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--amber-600);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--slate-700);
  transition: color 0.18s;
}
.nav-links a:hover { color: var(--blue-600); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--slate-200);
  background: var(--slate-50);
  color: var(--navy-900);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s;
}
.lang-toggle:hover {
  border-color: var(--blue-600);
  color: var(--blue-600);
  background: var(--blue-50);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue-600);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}
.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}
.btn-amber {
  background: var(--amber-600);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.28);
}
.btn-amber:hover {
  background: #b45309;
  transform: translateY(-1px);
}
.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.16);
}
.btn-outline {
  background: var(--white);
  color: var(--navy-900);
  border: 1px solid var(--slate-200);
}
.btn-outline:hover {
  border-color: var(--blue-600);
  color: var(--blue-600);
  background: var(--blue-50);
}
.btn-sm { padding: 7px 13px; font-size: 0.83rem; }
.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  color: var(--navy-900);
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 82% 20%, rgba(37, 99, 235, 0.28), transparent 45%),
              radial-gradient(circle at 12% 85%, rgba(13, 148, 136, 0.2), transparent 40%),
              linear-gradient(135deg, #09172e 0%, #10284c 52%, #183a6d 100%);
  color: var(--white);
  padding: 84px 0 76px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 44px;
  align-items: center;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.82rem;
  font-weight: 600;
  color: #e0f2fe;
  margin-bottom: 18px;
}
.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
}
.hero h1 {
  font-size: clamp(2rem, 3.6vw, 3.05rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.hero h1 .accent { color: #fbbf24; }
.hero-desc {
  font-size: 1.03rem;
  color: #cbd5e1;
  max-width: 600px;
  margin-bottom: 28px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.stat-num {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}
.stat-lbl {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 4px;
}
.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.hero-card-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fbbf24;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.hero-feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-feature-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 14px;
}
.hero-feature-code {
  font-size: 0.76rem;
  font-weight: 800;
  background: rgba(37, 99, 235, 0.35);
  color: #bfdbfe;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
  margin-top: 2px;
}
.hero-feature-item h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}
.hero-feature-item p {
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.45;
}

/* Sections */
.section { padding: 76px 0; }
.section-alt { background: var(--slate-50); border-top: 1px solid var(--slate-200); border-bottom: 1px solid var(--slate-200); }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 42px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 8px;
}
.section-title {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.section-sub {
  font-size: 0.98rem;
  color: var(--slate-600);
}

/* Product Filter & Search Bar */
.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 28px;
}
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-btn {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-700);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
}
.filter-btn:hover {
  border-color: var(--blue-500);
  color: var(--blue-600);
}
.filter-btn.active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}
.search-box {
  position: relative;
  min-width: 260px;
  flex: 0 1 310px;
}
.search-box input {
  width: 100%;
  padding: 9px 14px 9px 36px;
  border-radius: 999px;
  border: 1px solid var(--slate-200);
  background: var(--white);
  font-size: 0.88rem;
  color: var(--slate-900);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-box input:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--slate-500);
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #93c5fd;
}
.product-card.featured {
  border-top: 3px solid var(--blue-600);
}
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.model-tag {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--navy-900);
  background: var(--slate-100);
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.01em;
}
.status-badge {
  font-size: 0.73rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-600);
}
.status-badge.proven {
  background: var(--teal-50);
  color: var(--teal-600);
}
.product-title {
  font-size: 1.03rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 8px;
  line-height: 1.35;
}
.product-summary {
  font-size: 0.85rem;
  color: var(--slate-600);
  margin-bottom: 14px;
  line-height: 1.55;
  flex-grow: 1;
}
.spec-mini {
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 14px;
  font-size: 0.8rem;
}
.spec-mini-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 2px 0;
}
.spec-mini-row .k { color: var(--slate-500); flex-shrink: 0; }
.spec-mini-row .v { color: var(--slate-900); font-weight: 600; text-align: right; }
.comp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
}
.comp-chip {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}
.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  color: var(--slate-500);
  background: var(--slate-50);
  border-radius: var(--radius-md);
  border: 1px dashed var(--slate-200);
}

/* Interactive Dosage Calculator */
.calc-wrapper {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.calc-form-group { margin-bottom: 18px; }
.calc-form-group label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 6px;
}
.calc-form-group select,
.calc-form-group input {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
  font-size: 0.95rem;
  color: var(--slate-900);
  background: var(--slate-50);
  outline: none;
}
.calc-form-group select:focus,
.calc-form-group input:focus {
  border-color: var(--blue-600);
  background: var(--white);
}
.calc-result-box {
  background: linear-gradient(145deg, var(--navy-900), var(--navy-800));
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.calc-res-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #93c5fd;
  font-weight: 700;
  margin-bottom: 8px;
}
.calc-res-main {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fbbf24;
  margin-bottom: 10px;
  line-height: 1.25;
}
.calc-res-sub {
  font-size: 0.88rem;
  color: #e2e8f0;
  margin-bottom: 18px;
}
.calc-res-tip {
  background: rgba(255, 255, 255, 0.08);
  border-left: 3px solid #34d399;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 0.84rem;
  color: #e2e8f0;
  line-height: 1.5;
}

/* Capabilities & Compliance Grid */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.info-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--blue-50);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.info-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 8px;
}
.info-card p {
  font-size: 0.87rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* Compliance Badges Bar */
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.comp-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
}
.comp-card .code {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 6px;
}
.comp-card .desc {
  font-size: 0.78rem;
  color: var(--slate-600);
  line-height: 1.45;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
  align-items: start;
}
.contact-panel {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-panel h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.contact-panel .lead {
  font-size: 0.9rem;
  color: #cbd5e1;
  margin-bottom: 24px;
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}
.contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9rem;
}
.contact-item .lbl {
  color: #93c5fd;
  font-weight: 700;
  min-width: 72px;
  font-size: 0.82rem;
}
.contact-item .val { color: var(--white); word-break: break-all; }
.contact-item a { color: #fbbf24; text-decoration: underline; }
.export-docs-note {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.82rem;
  color: #e2e8f0;
}
.form-panel {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-group { margin-bottom: 15px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 5px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
  background: var(--slate-50);
  font-size: 0.92rem;
  color: var(--slate-900);
  outline: none;
  transition: border-color 0.18s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-600);
  background: var(--white);
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.form-feedback {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.86rem;
  display: none;
}
.form-feedback.ok {
  display: block;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

/* Modal (TDS Detail Sheet) */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(11, 28, 54, 0.65);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-backdrop.open { display: flex; }
.modal-dialog {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  background: var(--navy-900);
  color: var(--white);
}
.modal-close {
  background: rgba(255, 255, 255, 0.14);
  border: none;
  color: var(--white);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  font-size: 1.2rem;
  cursor: pointer;
}
.modal-body { padding: 24px 26px; }
.tds-table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 18px;
  font-size: 0.88rem;
}
.tds-table th, .tds-table td {
  border: 1px solid var(--slate-200);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.tds-table th {
  width: 32%;
  background: var(--slate-50);
  color: var(--navy-900);
  font-weight: 700;
}
.tds-list {
  padding-left: 18px;
  margin-bottom: 18px;
  font-size: 0.9rem;
  color: var(--slate-700);
}
.tds-list li { margin-bottom: 6px; }
.modal-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 26px;
  border-top: 1px solid var(--slate-200);
  background: var(--slate-50);
}

/* Footer */
.site-footer {
  background: #071224;
  color: #94a3b8;
  padding: 44px 0 28px;
  font-size: 0.85rem;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}
.footer-brand {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid, .calc-wrapper, .contact-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .compliance-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 20px;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .mobile-menu-btn { display: inline-flex; }
  .hero { padding: 54px 0 48px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .grid-4, .grid-3, .compliance-grid, .form-row-2 { grid-template-columns: 1fr; }
  .calc-wrapper, .contact-panel, .form-panel { padding: 22px; }
}


/* ==========================================================================
   V5 Rich Industrial Specialty-Chemical Theme (Balanced Color + Clean SKU)
   ========================================================================== */

/* Richer visual rhythm on Homepage so sections don't feel washed-out white */
body {
  background: #f3f6fb;
}
.section {
  background: #f3f6fb;
}
.section-alt {
  background: #e9eff7;
  border-top: 1px solid #dbe4f0;
  border-bottom: 1px solid #dbe4f0;
}
#strength.section {
  background: #ffffff;
}
#contact.section {
  background: #ffffff;
}
.info-card {
  background: #f8fafd;
  border-top: 3px solid var(--blue-600);
}
.comp-card {
  background: #ffffff;
  border-top: 3px solid var(--navy-800);
  box-shadow: var(--shadow-sm);
}
.comp-card .code {
  color: var(--navy-900);
}

/* Homepage Product Cards: Rich 1:1 Image + Crisp Contrast Card */
.product-card {
  padding: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dbe4f0;
  box-shadow: 0 4px 14px rgba(11, 28, 54, 0.05);
}
.product-card.featured {
  border-top: none;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.10);
}
.card-img-link {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #0b1c36;
  overflow: hidden;
}
.card-img-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.product-card:hover .card-img-link img {
  transform: scale(1.04);
}
.card-img-model {
  position: absolute;
  left: 12px;
  top: 12px;
  font-size: 0.74rem;
  font-weight: 800;
  background: rgba(11, 28, 54, 0.88);
  color: #fbbf24;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.03em;
  border: 1px solid rgba(251, 191, 36, 0.3);
}
.card-img-status {
  position: absolute;
  right: 12px;
  top: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy-900);
  box-shadow: 0 2px 8px rgba(11, 28, 54, 0.16);
}
.card-img-status.proven {
  background: #0d9488;
  color: #ffffff;
}
.card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-title a {
  color: var(--navy-900);
  transition: color 0.18s;
}
.product-title a:hover {
  color: var(--blue-600);
}

/* ==========================================================================
   V5 Product Detail Page: Deep Navy Hero Band + Clean SKU + TDS/MSDS Export
   ========================================================================== */
.pdp-dark-hero {
  background: radial-gradient(circle at 86% 18%, rgba(37, 99, 235, 0.30), transparent 44%),
              radial-gradient(circle at 12% 88%, rgba(13, 148, 136, 0.22), transparent 42%),
              linear-gradient(135deg, #09172e 0%, #112a50 55%, #193c70 100%);
  color: #ffffff;
  padding: 18px 0 54px;
}
.pdp-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  color: #94a3b8;
  margin-bottom: 28px;
}
.pdp-breadcrumb a { color: #cbd5e1; font-weight: 500; }
.pdp-breadcrumb a:hover { color: #fbbf24; }
.pdp-breadcrumb .sep { color: rgba(255, 255, 255, 0.28); }
.pdp-breadcrumb .curr { color: #ffffff; font-weight: 700; }

.pdp-hero-layout {
  display: grid;
  grid-template-columns: 410px 1fr;
  gap: 44px;
  align-items: center;
}
.pdp-photo-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  background: #0b1c36;
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: 0 22px 44px rgba(4, 12, 26, 0.45);
}
.pdp-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.pdp-photo-card:hover img {
  transform: scale(1.03);
}
.pdp-zoom-pill {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(9, 23, 46, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 0.73rem;
  font-weight: 600;
  pointer-events: none;
}

.pdp-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.pdp-model-pill {
  font-size: 0.86rem;
  font-weight: 800;
  background: #f59e0b;
  color: #09172e;
  padding: 4px 12px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}
.pdp-cat-pill {
  font-size: 0.78rem;
  font-weight: 700;
  color: #bfdbfe;
  background: rgba(37, 99, 235, 0.30);
  border: 1px solid rgba(147, 197, 253, 0.30);
  padding: 4px 11px;
  border-radius: 999px;
}
.pdp-badge-pill {
  font-size: 0.76rem;
  font-weight: 700;
  color: #99f6e4;
  background: rgba(13, 148, 136, 0.28);
  border: 1px solid rgba(94, 234, 212, 0.30);
  padding: 4px 11px;
  border-radius: 999px;
}
.pdp-hero-title {
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 12px;
}
.pdp-hero-summary {
  font-size: 0.96rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 20px;
}

/* Frosted Glass Key Specs inside Dark Hero */
.pdp-glass-specs {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 20px;
  display: grid;
  gap: 8px;
}
.pdp-glass-line {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  font-size: 0.88rem;
}
.pdp-glass-line .k { color: #93c5fd; font-weight: 600; }
.pdp-glass-line .v { color: #ffffff; font-weight: 600; }

/* Minimalist SKU Pills on Dark Hero */
.pdp-sku-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.pdp-sku-lbl {
  font-size: 0.85rem;
  font-weight: 700;
  color: #e2e8f0;
}
.pdp-sku-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pdp-sku-pill {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}
.pdp-sku-pill:hover {
  border-color: #fbbf24;
  color: #ffffff;
}
.pdp-sku-pill.active {
  background: #fbbf24;
  border-color: #fbbf24;
  color: #09172e;
  font-weight: 800;
}

/* Action Buttons (Sample + Export TDS + Export MSDS) */
.pdp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.btn-teal {
  background: #0d9488;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.28);
}
.btn-teal:hover {
  background: #0f766e;
  transform: translateY(-1px);
}
.pdp-sub-note {
  font-size: 0.8rem;
  color: #94a3b8;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Lower Content Canvas (Cool Slate-Blue Tint + Elevated Cards with Colored Accents) */
.pdp-content-area {
  background: #eef3f9;
  padding: 44px 0 68px;
}
.pdp-panel {
  background: #ffffff;
  border: 1px solid #dbe4f0;
  border-radius: 14px;
  padding: 28px 30px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(11, 28, 54, 0.05);
}
.pdp-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid #eef3f9;
}
.pdp-panel-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--navy-900);
  padding-left: 12px;
  border-left: 4px solid var(--blue-600);
}
.pdp-panel-title.teal { border-left-color: var(--teal-600); }
.pdp-panel-title.amber { border-left-color: var(--amber-600); }
.pdp-panel-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Striped Crisp TDS Table */
.pdp-tds-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  border: 1px solid #dbe4f0;
}
.pdp-tds-table th,
.pdp-tds-table td {
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 15px;
  text-align: left;
  vertical-align: top;
}
.pdp-tds-table tr:nth-child(even) td {
  background: #f8fafd;
}
.pdp-tds-table th {
  width: 22%;
  background: #eef4fc;
  color: var(--navy-900);
  font-weight: 700;
  border-right: 1px solid #dbe4f0;
}

/* Two-Column Highlights & Process Cards */
.pdp-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.pdp-two-col .pdp-panel { margin-bottom: 0; }
.pdp-panel.accent-blue { border-top: 4px solid var(--blue-600); }
.pdp-panel.accent-teal { border-top: 4px solid var(--teal-600); }

.pdp-bullet-list {
  list-style: none;
  display: grid;
  gap: 11px;
  margin-bottom: 18px;
}
.pdp-bullet-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
  color: var(--slate-700);
  line-height: 1.6;
}
.pdp-bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-600);
}
.pdp-step-list {
  list-style: none;
  display: grid;
  gap: 11px;
  margin-bottom: 16px;
}
.pdp-step-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.89rem;
  color: var(--slate-700);
  line-height: 1.55;
}
.pdp-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fbbf24;
  font-size: 0.78rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.pdp-note-blue {
  background: #eff6ff;
  border-left: 4px solid var(--blue-600);
  padding: 12px 15px;
  border-radius: 0 8px 8px 0;
  font-size: 0.85rem;
  color: #1e3a8a;
}
.pdp-note-amber {
  background: #fffbeb;
  border-left: 4px solid var(--amber-600);
  padding: 12px 15px;
  border-radius: 0 8px 8px 0;
  font-size: 0.85rem;
  color: #78350f;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* Lightbox */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(9, 23, 46, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox-backdrop.open { display: flex; }
.lightbox-img {
  max-width: min(92vw, 760px);
  max-height: 88vh;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 12px;
  background: #0b1c36;
}
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 1.4rem;
  cursor: pointer;
}

/* ==========================================================================
   A4 TDS / MSDS Preview Modal & Rock-Solid PDF Print Engine (NEVER BLANK)
   ========================================================================== */
.doc-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(9, 23, 46, 0.78);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.doc-modal-backdrop.open { display: flex; }
.doc-modal-shell {
  width: 100%;
  max-width: 920px;
  height: 92vh;
  background: #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}
.doc-modal-bar {
  background: #0b1c36;
  color: #ffffff;
  padding: 12px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.doc-modal-tabs {
  display: flex;
  gap: 8px;
}
.doc-tab-btn {
  padding: 7px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}
.doc-tab-btn.active {
  background: #2563eb;
  border-color: #3b82f6;
  color: #ffffff;
}
.doc-modal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.doc-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 1.25rem;
  cursor: pointer;
}
.doc-modal-hint {
  background: #eff6ff;
  color: #1e40af;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 18px;
  border-bottom: 1px solid #bfdbfe;
}
.doc-modal-canvas {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

/* A4 Document Typography (shared by Screen Preview & Print Root) */
.a4-paper {
  background: #ffffff;
  color: #0f172a;
  max-width: 794px;
  margin: 0 auto;
  padding: 26px 30px;
  border-radius: 6px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.12);
  font-size: 12.5px;
  line-height: 1.55;
}
.a4-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  background: #0b1c36;
  color: #ffffff;
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 16px;
}
.a4-brand {
  font-size: 11px;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.a4-doc-title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}
.a4-doc-sub {
  font-size: 11px;
  color: #cbd5e1;
  margin-top: 3px;
}
.a4-meta-box {
  text-align: right;
  font-size: 11px;
  color: #e2e8f0;
  line-height: 1.6;
  white-space: nowrap;
}
.a4-prod-banner {
  background: #eff6ff;
  border-left: 4px solid #2563eb;
  padding: 12px 15px;
  border-radius: 0 6px 6px 0;
  margin-bottom: 14px;
}
.a4-prod-model {
  font-size: 12px;
  font-weight: 800;
  color: #2563eb;
}
.a4-prod-name {
  font-size: 15px;
  font-weight: 800;
  color: #0b1c36;
  margin: 2px 0 4px;
}
.a4-prod-desc {
  font-size: 12px;
  color: #334155;
}
.a4-sec-title {
  font-size: 13px;
  font-weight: 800;
  color: #0b1c36;
  background: #f1f5f9;
  border-left: 3.5px solid #0b1c36;
  padding: 5px 10px;
  margin: 14px 0 8px;
}
.a4-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 8px;
  font-size: 12px;
}
.a4-table th, .a4-table td {
  border: 1px solid #cbd5e1;
  padding: 6px 9px;
  text-align: left;
  vertical-align: top;
}
.a4-table th {
  background: #f8fafc;
  color: #0b1c36;
  font-weight: 700;
  width: 19%;
}
.a4-list {
  padding-left: 18px;
  margin: 4px 0 8px;
}
.a4-list li { margin-bottom: 4px; }
.a4-p { margin: 4px 0 6px; color: #1e293b; }
.a4-callout {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #78350f;
  padding: 8px 11px;
  border-radius: 6px;
  font-size: 11.8px;
  margin-top: 6px;
}
.a4-msds-sec {
  break-inside: avoid;
  page-break-inside: avoid;
}
.a4-footer {
  margin-top: 18px;
  padding-top: 10px;
  border-top: 1.5px solid #cbd5e1;
  font-size: 11px;
  color: #475569;
  line-height: 1.55;
}
.a4-disclaimer {
  margin-top: 5px;
  font-size: 10px;
  color: #64748b;
}

/* Dedicated Print Root — hidden on screen, EXCLUSIVE on print (GUARANTEED NEVER BLANK!) */
#tc-print-root {
  display: none;
}
@media print {
  @page { size: A4; margin: 11mm 12mm; }
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  html, body {
    background: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }
  body > *:not(#tc-print-root) {
    display: none !important;
  }
  #tc-print-root {
    display: block !important;
    position: static !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
  }
  #tc-print-root .a4-paper {
    max-width: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}

@media (max-width: 1024px) {
  .pdp-hero-layout { grid-template-columns: 330px 1fr; gap: 28px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .pdp-hero-layout, .pdp-two-col { grid-template-columns: 1fr; gap: 22px; }
  .pdp-panel { padding: 20px 18px; }
  .pdp-tds-table th { width: 32%; }
  .related-grid { grid-template-columns: 1fr; }
  .a4-header { flex-direction: column; }
  .a4-meta-box { text-align: left; }
}


/* Collapsible Editable 16-Section MSDS Panel on Product Page */
.pdp-msds-details summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pdp-msds-details summary::-webkit-details-marker { display: none; }
.msds-summary-hint {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal-600);
  background: var(--teal-50);
  border: 1px solid #99f6e4;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.pdp-msds-details[open] .msds-summary-hint {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #ffffff;
}
.msds-grid-list {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 2px solid #eef3f9;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.msds-item {
  background: #f8fafd;
  border: 1px solid #dbe4f0;
  border-radius: 10px;
  padding: 13px 15px;
}
.msds-item-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 5px;
}
.msds-item-body {
  font-size: 0.83rem;
  color: var(--slate-700);
  line-height: 1.55;
}
@media (max-width: 820px) {
  .msds-grid-list { grid-template-columns: 1fr; }
}
