/*
Theme Name: Chrome SCI Lab
Theme URI: https://chromesci.com
Author: Chrome SCI Lab
Author URI: https://chromesci.com
Description: Modern, antigravity-inspired theme for ChromeSci / Chrome SCI Lab — cold chain consumables, 25+ years expertise, Taiwan HQ, branches in France and China. WooCommerce-ready, SSL-friendly, with product and certificate management.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: chromesci
Tags: custom-logo, custom-menu, featured-images, full-width-template, theme-options, translation-ready, woocommerce, woocommerce-ready, block-styles, wide-blocks

Chrome SCI Lab - Your Trusted Source for Cleanroom Consumables.
*/

/* ==========================================================================
   CSS Custom Properties (Antigravity palette)
   ========================================================================== */
:root {
  --color-bg: #0a0e17;
  --color-bg-elevated: #111827;
  --color-surface: #1a2234;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-text: #e5e7eb;
  --color-text-muted: #9ca3af;
  --color-accent: #3b82f6;
  --color-accent-glow: rgba(59, 130, 246, 0.4);
  --color-chrome: #60a5fa;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', var(--font-sans);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-float: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}
a { color: var(--color-chrome); text-decoration: none; transition: color var(--transition); }
a:hover { color: #93c5fd; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; }

/* ==========================================================================
   Logo entrance animation (splash on load)
   ========================================================================== */
.chromesci-logo-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  pointer-events: none;
  transition: opacity 0.5s ease-out;
}
.chromesci-logo-splash.is-done {
  opacity: 0;
  visibility: hidden;
}
.chromesci-logo-splash-inner {
  animation: chromesci-logo-pop 2s ease-in-out forwards;
}
.chromesci-logo-splash-img {
  width: 180px;
  height: auto;
  max-height: 80px;
  object-fit: contain;
}
@keyframes chromesci-logo-pop {
  0%   { opacity: 0; transform: scale(0.85); }
  15%  { opacity: 1; transform: scale(1.02); }
  25%  { transform: scale(1); }
  80%  { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1); }
}

/* ==========================================================================
   Antigravity floating orbs (background)
   ========================================================================== */
.antigravity-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.antigravity-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float-orb 20s ease-in-out infinite;
}
.antigravity-orb:nth-child(1) { width: 400px; height: 400px; background: var(--color-accent-glow); top: 10%; left: 10%; animation-delay: 0s; }
.antigravity-orb:nth-child(2) { width: 300px; height: 300px; background: rgba(96, 165, 250, 0.25); bottom: 20%; right: 15%; animation-delay: -5s; }
.antigravity-orb:nth-child(3) { width: 250px; height: 250px; background: rgba(59, 130, 246, 0.2); top: 50%; left: 50%; animation-delay: -10s; }
@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ==========================================================================
   Layout
   ========================================================================== */
.site-wrapper { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.site-logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: #fff; display: inline-flex; align-items: center; }
.site-logo-text, .site-logo span { color: var(--color-chrome); }
.site-logo-img { height: 48px; width: auto; max-width: 200px; object-fit: contain; display: block; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  color: var(--color-text-muted);
  font-weight: 500;
}
.nav-menu a:hover, .nav-menu .current-menu-item a { color: #fff; }
.header-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.2rem;
  background: var(--color-accent);
  color: #fff !important;
  border-radius: var(--radius);
  font-weight: 600;
}
.header-cta:hover { background: #2563eb; color: #fff !important; }

/* Mobile menu */
.menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--color-bg-elevated); padding: 1rem; border-bottom: 1px solid var(--color-border); }
  .nav-menu.is-open { display: flex; }
}

/* ==========================================================================
   Hero – ultra-modern with background image (antigravity)
   ========================================================================== */
.hero {
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero-with-bg {
  background: var(--color-bg) var(--hero-bg) center/cover no-repeat;
  padding: 6rem 1.5rem 5rem;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 23, 0.92) 0%, rgba(10, 14, 23, 0.75) 50%, rgba(10, 14, 23, 0.95) 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(26, 34, 52, 0.9);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  animation: fade-in-up 0.8s ease-out;
  backdrop-filter: blur(8px);
}
.hero-title {
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  font-weight: 800;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
  animation: fade-in-up 0.8s ease-out 0.1s both;
}
.hero-title .highlight {
  color: var(--color-chrome);
  background: linear-gradient(135deg, #60a5fa, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  max-width: 580px;
  margin: 0 auto 2rem;
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  animation: fade-in-up 0.8s ease-out 0.2s both;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; animation: fade-in-up 0.8s ease-out 0.3s both; }
.hero-actions .btn {
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 1.9rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.hero-actions .btn-primary { background: var(--color-accent); color: #fff; border: none; }
.hero-actions .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px var(--color-accent-glow); }
.hero-actions .btn-secondary { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.hero-actions .btn-secondary:hover { background: rgba(255,255,255,0.12); border-color: var(--color-chrome); color: #fff; }

/* Hero floating image cards (antigravity) */
.hero-cards {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 3.5rem;
  perspective: 1200px;
  position: relative;
  z-index: 2;
}
.hero-cards-images { gap: 1rem; }
.hero-card {
  width: 160px;
  padding: 1.5rem 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  text-align: center;
  animation: float-card 6s ease-in-out infinite;
  transition: transform var(--transition);
  animation-delay: calc(var(--delay, 0) * 1s);
}
.hero-card-img {
  width: 140px;
  height: 140px;
  padding: 0;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}
.hero-card-img-inner {
  position: absolute;
  inset: 0;
  display: block;
}
.hero-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  color: #fff;
}
.hero-card-badge {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  padding: 0.2rem 0.5rem;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--color-chrome);
  color: var(--color-bg);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(96, 165, 250, 0.4);
}
.hero-card-coming-soon {
  cursor: default;
  pointer-events: none;
}
.hero-card-coming-soon:hover { transform: translateY(-14px); }
.hero-card:nth-child(1) { --delay: 0; }
.hero-card:nth-child(2) { --delay: 0.5; }
.hero-card:nth-child(3) { --delay: 1; }
.hero-card:nth-child(4) { --delay: 1.5; }
.hero-card:hover { transform: translateY(-10px) scale(1.03); }
.hero-card .card-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.hero-card .card-title { font-size: 0.9rem; font-weight: 600; margin: 0; }
@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Bento section – cold chain & cleanroom imagery (antigravity)
   ========================================================================== */
.bento-section { padding: 5rem 1.5rem; }
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 600px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px;
  }
}
@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 1.25rem;
  }
}
.bento-cell {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 180px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  transition: transform var(--transition);
}
.bento-cell:hover { transform: scale(1.02); }
.bento-cell-large { min-height: 200px; }
@media (min-width: 600px) { .bento-cell-large { grid-column: 1; grid-row: 1 / -1; min-height: 100%; } }
.bento-cell-tall { }
@media (min-width: 600px) { .bento-cell-tall { grid-column: 2; } }
.bento-image-wrap {
  position: absolute;
  inset: 0;
  background: var(--color-bg-elevated);
}
.bento-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bento-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  color: #fff;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.section-products { padding: 5rem 1.5rem; }
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 0.5rem;
  text-align: center;
}
.section-title-large {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
}
.section-cta { text-align: center; margin-top: 2.5rem; margin-bottom: 0; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }

.data-logger-hero-image,
.product-page-hero { text-align: center; margin: 2rem 0; max-width: 520px; margin-left: auto; margin-right: auto; }
.data-logger-hero-image img,
.product-page-hero img { width: 100%; height: auto; border-radius: var(--radius-lg); display: block; }
.data-logger-models-title { margin: 2.5rem 0 1rem; font-size: 1.35rem; text-align: center; }
.data-logger-models { margin-bottom: 2rem; }

/* Full-size datalogger image (no crop) */
.data-logger-card-image {
  background: var(--color-bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 1.25rem;
  overflow: hidden;
}
.data-logger-card-image img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  object-position: center;
  display: block;
}
.data-logger-model-card .product-card-body { padding: 1.25rem 1.5rem; }
.data-logger-subtitle {
  margin: -0.25rem 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-chrome);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.data-logger-intro {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}
.data-logger-specs {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}
.data-logger-specs li { margin-bottom: 0.25rem; }

.data-logger-datasheet-link {
  display: inline-flex;
  align-items: center;
  margin-top: 0.75rem;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-chrome);
  background: rgba(96, 165, 250, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.3);
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.data-logger-datasheet-link:hover {
  background: rgba(96, 165, 250, 0.2);
  color: #93c5fd;
  border-color: rgba(96, 165, 250, 0.5);
}
.data-logger-placeholder { font-size: 3rem; color: var(--color-text-muted); }
.product-single-image { max-width: 560px; }
.product-sub-gallery { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1rem 0; justify-content: center; }
.product-sub-gallery img { max-width: 280px; width: 100%; height: auto; border-radius: var(--radius); object-fit: contain; }
.about-us-hero-image { margin: 0 0 1.5rem; text-align: center; }
.about-us-hero-image img { width: 100%; max-width: 720px; height: auto; border-radius: var(--radius-lg); display: block; margin: 0 auto; }

/* ChromeMat page – brand UI */
.chromemat-page .chromemat-header { text-align: center; margin-bottom: 2rem; }
.chromemat-page .chromemat-header .section-title { margin-bottom: 0.5rem; }
.chromemat-hero-block {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: start;
}
@media (min-width: 768px) {
  .chromemat-hero-block { grid-template-columns: 1fr 1.2fr; }
  .chromemat-hero-block .chromemat-hero-image { order: 0; position: sticky; top: 2rem; }
}
.chromemat-hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-float);
}
.chromemat-hero-image img { width: 100%; height: auto; display: block; }
.chromemat-hero-block .chromemat-intro { margin-bottom: 0; }
.chromemat-how-to-title {
  margin-top: 0;
  margin-bottom: 1.25rem;
  font-size: 1.35rem;
  color: var(--color-chrome);
}
.chromemat-steps-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 0.5rem;
  margin-bottom: 1.5rem;
  padding: 1rem 0;
}
.chromemat-step-pill {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(96, 165, 250, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.25);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-chrome);
}
.chromemat-step-arrow {
  color: var(--color-text-muted);
  font-size: 1.1rem;
}
.chromemat-steps-list {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
  line-height: 1.7;
}
.chromemat-steps-list li { margin-bottom: 0.5rem; }
.chromemat-steps-tagline {
  margin: 1rem 0 0;
  padding: 1rem;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius);
  border-left: 3px solid var(--color-chrome);
  font-style: italic;
  color: var(--color-text-muted);
}
.chromemat-cta {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.chromemat-cta .btn { min-width: 200px; }

/* Product grid – glass cards with images */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.products-grid-modern { gap: 1.75rem; }
.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  animation: fade-in-up 0.6s ease-out both;
}
.product-card-glass {
  background: rgba(26, 34, 52, 0.6);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.4);
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-float), 0 0 0 1px rgba(96, 165, 250, 0.2);
}
.product-card-glass:hover {
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5), 0 0 0 1px rgba(96, 165, 250, 0.25);
}
.product-card-image {
  aspect-ratio: 4/3;
  background: var(--color-bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--color-text-muted);
  overflow: hidden;
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.06); }
.product-card-body { padding: 1.5rem; }
.product-card-title { margin: 0 0 0.5rem; font-size: 1.2rem; font-weight: 700; }
.product-card-desc { margin: 0; font-size: 0.95rem; color: var(--color-text-muted); line-height: 1.55; }
.product-card-link {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  font-weight: 600;
  gap: 0.35rem;
  color: var(--color-chrome);
}
.product-card:hover .product-card-link { color: #93c5fd; }

/* Coming soon product card (ChromeBox) */
.product-card-coming-soon {
  cursor: default;
  position: relative;
  border-color: rgba(96, 165, 250, 0.2);
}
.product-card-coming-soon:hover { transform: none; }
.product-card-coming-soon .product-card-image { position: relative; }
.product-card-coming-soon-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--color-chrome);
  color: var(--color-bg);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(96, 165, 250, 0.35);
}
.product-card-coming-soon-date {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-chrome);
}
.product-card-coming-soon .product-card-desc { color: var(--color-text); }

/* About / Content blocks */
.content-block {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.content-block h3 { margin-top: 0; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.contact-card h4 { margin: 0 0 0.5rem; }
.contact-card p { margin: 0; color: var(--color-text-muted); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
  padding: 2rem 1.5rem;
  margin-top: 4rem;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-nav { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.footer-nav a { color: var(--color-text-muted); }
.footer-copy { color: var(--color-text-muted); font-size: 0.9rem; margin: 0; }

/* ==========================================================================
   Scroll-driven reveal (antigravity feel)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   WooCommerce overrides (when plugin active)
   ========================================================================== */
.woocommerce .product-card-image img { width: 100%; height: 100%; object-fit: cover; }
.woocommerce ul.products { list-style: none; padding: 0; margin: 0; }
.woocommerce .price { color: var(--color-chrome); font-weight: 600; }

/* Tables (product specs) */
.entry-content table,
.content-block table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.entry-content th,
.entry-content td,
.content-block th,
.content-block td { border: 1px solid var(--color-border); padding: 0.75rem 1rem; text-align: left; }
.entry-content th,
.content-block th { background: var(--color-bg-elevated); font-weight: 600; }
.entry-content ul,
.content-block ul { padding-left: 1.5rem; }

/* Certificate download form */
.chromesci-cert-download { max-width: 480px; margin: 0 auto; }
.chromesci-cert-form label { font-weight: 600; display: block; margin-bottom: 0.25rem; }
.chromesci-cert-form input[type="text"] { padding: 0.6rem; border-radius: var(--radius); border: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-text); width: 100%; }
.chromesci-cert-form p { margin-bottom: 1rem; }
.chromesci-cert-form p:last-of-type { margin-bottom: 0; }
.chromesci-cert-error { border-color: rgba(239, 68, 68, 0.5); background: rgba(239, 68, 68, 0.08); color: #fca5a5; margin-bottom: 1.5rem; }
.chromesci-cert-success { border-color: rgba(34, 197, 94, 0.5); background: rgba(34, 197, 94, 0.08); color: #86efac; margin-bottom: 1.5rem; }
.chromesci-cert-otp-intro { margin-bottom: 1rem; color: var(--color-text-muted); }
.chromesci-cert-form .required { color: var(--color-chrome); }

/* ==========================================================================
   Utility
   ========================================================================== */
.screen-reader-text { clip: rect(1px,1px,1px,1px); position: absolute; height: 1px; width: 1px; overflow: hidden; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
