/* ============================================
   LecithinPro — Soy Lecithin Trade Website
   ============================================ */

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:        #C8963E;
  --gold-light:  #E8D5A3;
  --gold-dark:   #9B6F28;
  --olive:       #2D5016;
  --olive-light: #4A7C2B;
  --cream:       #FDFBF7;
  --cream-dark:  #F5F0E6;
  --charcoal:    #1A1A1A;
  --text:        #2D2D2D;
  --text-muted:  #6B7280;
  --border:      #E8E0D5;
  --white:       #FFFFFF;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.04);
  --shadow-md:   0 4px 24px rgba(0,0,0,.06);
  --shadow-lg:   0 12px 48px rgba(0,0,0,.08);
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width:   1200px;
  --transition:  .25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
em { font-style: italic; color: var(--gold); }

/* --- NAVIGATION --- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(253,251,247,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-sm); }

.nav-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-serif); font-size: 24px; font-weight: 700;
  color: var(--charcoal); letter-spacing: -.3px;
}
.logo-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold);
}

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-link { font-size: 15px; font-weight: 500; color: var(--text-muted); transition: var(--transition); }
.nav-link:hover { color: var(--charcoal); }

.nav-cta {
  background: var(--gold); color: var(--white) !important;
  padding: 10px 24px; border-radius: 24px; font-weight: 600;
  transition: var(--transition);
}
.nav-cta:hover { background: var(--gold-dark); }

.nav-toggle { display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--charcoal); border-radius: 2px; transition: var(--transition);
}

/* --- HERO --- */
.hero {
  padding-top: 120px;
  display: flex; align-items: center;
  min-height: 100vh;
  max-width: var(--max-width); margin: 0 auto;
  position: relative; overflow: hidden;
}

.hero-bg {
  position: absolute; top: -200px; right: -300px;
  width: 900px; height: 900px;
  background: radial-gradient(circle at center, var(--gold-light) 0%, transparent 70%);
  border-radius: 50%; opacity: .35; pointer-events: none;
}

.hero-content { flex: 1; padding: 60px 32px 80px; position: relative; z-index: 1; }
.hero-visual { flex: 0 0 520px; position: relative; display: flex; align-items: center; justify-content: center; }

/* Hero photo collage */
.hero-collage {
  position: relative;
  width: 460px; height: 440px;
}

.hero-collage-main {
  position: absolute;
  top: 0; left: 0;
  width: 300px; height: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.hero-collage-main img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}

.hero-collage-accent {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  z-index: 1;
}
.hero-collage-accent img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}

.hero-collage-top {
  top: 20px; right: 0;
  width: 185px; height: 200px;
}
.hero-collage-bottom {
  bottom: 20px; right: 0;
  width: 185px; height: 200px;
}

/* Badge overlay */
.hero-collage-badge {
  position: absolute;
  bottom: 40px; left: 240px;
  z-index: 3;
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: 32px;
  padding: 10px 22px;
  font-family: var(--font-serif);
  font-size: 15px; font-weight: 700;
  color: var(--gold-dark);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}

.hero-badge {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold-dark);
  background: rgba(200,150,62,.1); padding: 8px 20px; border-radius: 24px;
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-serif); font-size: clamp(42px, 6vw, 72px);
  font-weight: 800; line-height: 1.1; color: var(--charcoal); letter-spacing: -1px;
}
.hero-title-accent { color: var(--gold); }

.hero-desc {
  font-size: 18px; color: var(--text-muted); max-width: 540px;
  margin-top: 24px; line-height: 1.7;
}

.hero-actions { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px; font-size: 16px; font-weight: 600;
  border-radius: 32px; cursor: pointer; border: none;
  font-family: var(--font-sans); transition: all .25s ease;
}
.btn-primary { background: var(--gold); color: var(--white); }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(200,150,62,.3); }
.btn-outline { background: transparent; color: var(--charcoal); border: 2px solid var(--border); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.hero-stats { display: flex; gap: 48px; margin-top: 56px; }
.hero-stat-num { display: block; font-family: var(--font-serif); font-size: 36px; font-weight: 700; color: var(--charcoal); }
.hero-stat-label { display: block; font-size: 14px; color: var(--text-muted); margin-top: 4px; }


/* --- SECTIONS --- */
.section { padding: 100px 0; }
.section-dark { background: var(--charcoal); color: var(--white); }
.section-gold { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%); color: var(--white); }
.section-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }

.section-tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.section-tag-light { color: var(--gold-light); }

.section-title {
  font-family: var(--font-serif); font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700; line-height: 1.2; color: var(--charcoal);
}
.section-title.light { color: var(--white); }
.section-sub {
  font-size: 18px; color: var(--text-muted); max-width: 640px; margin-top: 20px;
}

/* --- FEATURES GRID --- */
.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px;
}

.feature-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px 28px; transition: var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.feature-icon { font-size: 40px; margin-bottom: 20px; }
.feature-card h3 { font-family: var(--font-serif); font-size: 20px; font-weight: 600; margin-bottom: 12px; color: var(--charcoal); }
.feature-card p { font-size: 15px; color: var(--text-muted); line-height: 1.65; }

/* --- SPECS TABLE --- */
.specs-tabs { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

.spec-tab {
  padding: 10px 24px; font-size: 15px; font-weight: 500; border-radius: 24px;
  cursor: pointer; border: 1px solid rgba(255,255,255,.2);
  background: transparent; color: rgba(255,255,255,.6);
  font-family: var(--font-sans); transition: var(--transition);
}
.spec-tab.active, .spec-tab:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }

.specs-table-wrap { margin-top: 28px; overflow-x: auto; }

.specs-table {
  width: 100%; border-collapse: collapse;
  background: rgba(255,255,255,.04); border-radius: var(--radius-lg); overflow: hidden;
}
.specs-table th, .specs-table td { padding: 16px 24px; text-align: left; font-size: 15px; }
.specs-table thead th {
  font-weight: 600; font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--gold-light); border-bottom: 1px solid rgba(255,255,255,.1);
}
.specs-table tbody td { border-bottom: 1px solid rgba(255,255,255,.06); color: rgba(255,255,255,.85); }
.specs-table tbody tr:hover { background: rgba(255,255,255,.03); }

.specs-note { margin-top: 24px; font-size: 14px; color: rgba(255,255,255,.5); }

/* --- APPLICATIONS --- */
.apps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }

.app-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition);
}
.app-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.app-card-img {
  height: 160px; position: relative; overflow: hidden;
  background: var(--cream-dark);
}
.app-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; transition: transform .35s ease;
}
.app-card:hover .app-card-img img { transform: scale(1.05); }

.app-card-body { padding: 24px; }
.app-card-body h3 { font-family: var(--font-serif); font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.app-card-body p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* --- SOURCE CARDS --- */
.source-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 44px;
}

.source-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition);
}
.source-card:hover { box-shadow: var(--shadow-md); }

.source-card-header {
  padding: 28px 28px 20px; display: flex; align-items: center; gap: 14px;
}
.source-card-header.soy { background: linear-gradient(135deg, #F5F0E6, #EDE3CF); }
.source-card-header.sunflower { background: linear-gradient(135deg, #FEF9E7, #FDF0C8); }
.source-icon { font-size: 36px; }
.source-card-header h3 { font-family: var(--font-serif); font-size: 22px; font-weight: 700; color: var(--charcoal); }

.source-card-body { padding: 24px 28px 28px; }
.source-card-body p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }

.source-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.source-tags span {
  font-size: 12px; font-weight: 600; letter-spacing: .5px;
  padding: 6px 14px; border-radius: 16px;
  background: var(--cream-dark); color: var(--gold-dark);
}

/* --- PRODUCT GRID --- */
.product-grid-title {
  font-family: var(--font-serif); font-size: 28px; font-weight: 700;
  color: var(--charcoal); margin-top: 56px; margin-bottom: 28px;
}

.product-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}

.product-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.product-card-visual {
  height: 160px; overflow: hidden; position: relative;
}
.product-card-visual img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; transition: transform .4s ease;
}
.product-card:hover .product-card-visual img { transform: scale(1.06); }

.product-card-body { padding: 24px 28px 28px; }

.product-card-tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 4px 12px; border-radius: 10px;
  background: #F5F0E6; color: var(--gold-dark); margin-bottom: 10px;
}
.product-card-tag.sunflower-tag { background: #FFF8E0; color: #B8860B; }

.product-card-body h4 { font-family: var(--font-serif); font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.product-card-body > p { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin-bottom: 18px; }

.product-card-specs { display: flex; flex-direction: column; gap: 8px; }
.product-card-specs li { display: flex; justify-content: space-between; font-size: 13px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.product-card-specs li:last-child { border-bottom: none; }
.product-card-specs li span:first-child { color: var(--text-muted); font-weight: 500; }
.product-card-specs li span:last-child  { color: var(--charcoal); font-weight: 600; text-align: right; }

/* --- ABOUT --- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.about-text .section-title { margin-bottom: 20px; }
.about-text > p { font-size: 17px; color: var(--text-muted); margin-bottom: 28px; }

.about-list { display: flex; flex-direction: column; gap: 14px; }
.about-list li {
  font-size: 15px; color: var(--text); padding-left: 28px;
  position: relative;
}
.about-list li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 8px; height: 8px; background: var(--gold); border-radius: 50%;
}

.about-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.about-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 24px; text-align: center;
  transition: var(--transition);
}
.about-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.about-card-num { font-family: var(--font-serif); font-size: 40px; font-weight: 700; color: var(--gold); }
.about-card-label { font-size: 14px; color: var(--text-muted); margin-top: 8px; }

/* --- INQUIRY --- */
.inquiry-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }

.inquiry-info > p { color: rgba(255,255,255,.8); margin-top: 16px; font-size: 16px; }

.inquiry-contact { margin-top: 36px; display: flex; flex-direction: column; gap: 20px; }

.inq-item { display: flex; align-items: flex-start; gap: 14px; }
.inq-icon { font-size: 24px; margin-top: 2px; flex-shrink: 0; }
.inq-label { font-size: 13px; color: rgba(255,255,255,.6); letter-spacing: .5px; }
.inq-val { font-size: 16px; color: var(--white); font-weight: 500; }

.inquiry-form {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow-lg);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-full { grid-column: 1 / -1; }

.form-group { display: flex; flex-direction: column; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .5px; }
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 16px; font-size: 15px; font-family: var(--font-sans);
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--cream); color: var(--charcoal); transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,150,62,.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.btn-submit { width: 100%; margin-top: 4px; padding: 16px; font-size: 17px; }

.form-note { text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 16px; }

/* --- APPLICATION GRADES --- */
.section-cream { background: var(--cream-dark); }

.grades-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 44px;
}

.grade-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 24px;
  transition: var(--transition); position: relative;
}
.grade-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.grade-card-icon { font-size: 44px; margin-bottom: 16px; }

.grade-card h3 { font-family: var(--font-serif); font-size: 20px; font-weight: 700; margin-bottom: 6px; }

.grade-standard {
  font-size: 12px; font-weight: 600; letter-spacing: .5px;
  color: var(--gold-dark); text-transform: uppercase; margin-bottom: 14px;
}

.grade-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin-bottom: 18px; }

.grade-products { display: flex; flex-wrap: wrap; gap: 6px; }
.grade-products span {
  font-size: 11px; font-weight: 600; letter-spacing: .3px;
  padding: 4px 10px; border-radius: 8px;
  background: var(--cream-dark); color: var(--gold-dark);
}

/* --- PC CONTENT TABLE --- */
.pc-table-wrap {
  margin-top: 44px; overflow-x: auto;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.pc-table {
  width: 100%; border-collapse: collapse; min-width: 700px;
}

.pc-table thead th {
  padding: 18px 20px; text-align: left; font-size: 13px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted);
  background: var(--cream-dark); border-bottom: 1px solid var(--border);
}

.pc-table tbody td {
  padding: 16px 20px; font-size: 15px; color: var(--text);
  border-bottom: 1px solid var(--border);
}

.pc-table tbody tr:last-child td { border-bottom: none; }

.pc-table tbody tr:hover { background: var(--cream); }

.pc-table td strong { color: var(--charcoal); font-family: var(--font-serif); font-size: 18px; }

.pc-highlight {
  background: linear-gradient(90deg, rgba(200,150,62,.06) 0%, rgba(200,150,62,.02) 100%);
}
.pc-highlight td strong { color: var(--gold-dark); }

.pc-note {
  text-align: center; margin-top: 28px; font-size: 15px; color: var(--text-muted);
}

/* --- FOOTER --- */
.footer { background: var(--charcoal); color: rgba(255,255,255,.6); padding: 64px 0 32px; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }
.footer-brand { max-width: 400px; margin-bottom: 40px; }
.footer-brand .nav-logo { color: var(--white); margin-bottom: 12px; }
.footer-brand p { font-size: 14px; line-height: 1.6; }

.footer-links { display: flex; gap: 80px; margin-bottom: 40px; }
.footer-col h4 { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,.5); margin-bottom: 10px; transition: var(--transition); }
.footer-col a:hover { color: var(--gold); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; font-size: 14px; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .hero { flex-direction: column; min-height: auto; padding-top: 100px; }
  .hero-content { padding: 40px 24px 20px; }
  .hero-visual { flex: 0 0 auto; width: 100%; padding: 0 24px 40px; }
  .hero-collage { width: 380px; height: 360px; margin: 0 auto; }
  .hero-collage-main { width: 250px; height: 360px; }
  .hero-collage-top { width: 150px; height: 165px; top: 8px; }
  .hero-collage-bottom { width: 150px; height: 165px; bottom: 8px; }
  .hero-collage-badge { left: 200px; bottom: 28px; font-size: 12px; padding: 7px 14px; }
  .hero-stats { gap: 32px; }
  .hero-bg { top: -100px; right: -400px; width: 600px; height: 600px; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .source-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .grades-grid { grid-template-columns: repeat(2, 1fr); }
  .apps-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .inquiry-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: 73px; left: 0; right: 0;
    flex-direction: column; background: var(--cream); padding: 24px 32px;
    border-bottom: 1px solid var(--border); gap: 20px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .hero-stats { flex-direction: column; gap: 20px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .hero-collage { width: 300px; height: 280px; }
  .hero-collage-main { width: 195px; height: 280px; }
  .hero-collage-top { width: 120px; height: 130px; top: 5px; }
  .hero-collage-bottom { width: 120px; height: 130px; bottom: 5px; }
  .hero-collage-badge { left: 155px; bottom: 20px; font-size: 11px; padding: 6px 12px; }

  .features-grid { grid-template-columns: 1fr; }
  .grades-grid { grid-template-columns: 1fr; }
  .apps-grid { grid-template-columns: 1fr; }
  .about-visual { grid-template-columns: 1fr 1fr; }

  .form-row { grid-template-columns: 1fr; }
  .inquiry-form { padding: 24px; }
  .footer-links { flex-direction: column; gap: 32px; }
}

/* ====== NEW: Nav tagline ====== */
.nav-tagline {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gold);
  margin-left: 0.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  vertical-align: middle;
  opacity: 0.85;
}

/* ====== NEW: Language switcher ====== */
.lang-switch {
  font-weight: 500 !important;
  color: var(--gold) !important;
  border: 1px solid var(--gold);
  padding: 4px 12px !important;
  border-radius: 16px;
  transition: all 0.2s;
}
.lang-switch:hover {
  background: var(--gold) !important;
  color: var(--white) !important;
}

/* ====== NEW: Product category tabs ====== */
.product-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.product-cat-tab {
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 24px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.2s;
}

.product-cat-tab:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

.product-cat-tab.active {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

/* ====== NEW: Product comparison ====== */
.products-comparison { margin-top: 1rem; }

.products-table {
  display: block;
  overflow-x: auto;
  margin-top: 1rem;
}

.products-table table {
  min-width: 800px;
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.products-table th {
  background: var(--charcoal);
  color: var(--white);
  padding: 0.75rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}

.products-table td {
  padding: 0.6rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  white-space: nowrap;
}

.products-table tr:hover { background: var(--cream); }

.prod-desc-cell {
  max-width: 220px;
  white-space: normal !important;
  font-size: 0.8rem !important;
}

/* Product cards (mobile) */
.products-cards { display: none; }

.product-compare-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}

.pcc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.pcc-code {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--charcoal);
}

.pcc-form {
  font-size: 0.8rem;
  color: var(--gold-dark);
  background: var(--gold-light);
  padding: 2px 10px;
  border-radius: 12px;
}

.pcc-desc {
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 0.8rem;
}

.pcc-specs {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.pcc-specs td {
  padding: 0.35rem 0.5rem;
  border-bottom: 1px solid #f0ede6;
}

.pcc-key {
  color: var(--text-muted);
  font-weight: 500;
  width: 50%;
}

.pcc-val {
  color: var(--text);
  font-weight: 600;
}

/* ====== Product category cards ====== */
.products-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.product-cat-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.25s, box-shadow 0.25s; }
.product-cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-cat-img { height: 200px; overflow: hidden; }
.product-cat-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 4rem; }
.cat-soy-liquid { background: linear-gradient(135deg, #f5e6c8 0%, #e8d5a3 50%, #d4b96a 100%); }
.cat-soy-powder { background: linear-gradient(135deg, #faf5e8 0%, #f0e4c8 50%, #e8d5a3 100%); }
.cat-sunflower-liquid { background: linear-gradient(135deg, #ffe8a0 0%, #ffd700 50%, #f0c040 100%); }
.cat-sunflower-powder { background: linear-gradient(135deg, #fff8e0 0%, #ffe8a0 50%, #f5d878 100%); }
.cat-high-pc { background: linear-gradient(135deg, #e8d5a3 0%, #c8963e 50%, #9b6f28 100%); }
.product-cat-icon { filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1)); }
.product-cat-info { padding: 1.5rem; }
.product-cat-info h3 { font-family: var(--font-serif); font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--charcoal); }
.product-cat-info p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
@media (max-width: 768px) { .products-cat-grid { grid-template-columns: 1fr; } .product-cat-img { height: 150px; } }

/* ====== NEW: Simple product list ====== */
.products-simple-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.product-simple-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-simple-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.psc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.psc-code {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0;
}

.psc-form {
  font-size: 0.75rem;
  color: var(--gold-dark);
  background: var(--gold-light);
  padding: 2px 10px;
  border-radius: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.psc-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 768px) {
  .products-simple-grid {
    grid-template-columns: 1fr;
  }
}

/* ====== NEW: Specs tab dark section ====== */
.light-sub {
  color: rgba(255,255,255,0.7) !important;
}

/* ====== NEW: News Section ====== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.news-card-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.news-card-body {
  padding: 1.2rem;
}

.news-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}

.news-card-summary {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  line-height: 1.5;
}

.news-card-link {
  color: var(--gold-dark);
  font-weight: 600;
  font-size: 0.85rem;
}

/* News detail */
.news-detail {
  max-width: 800px;
}

.news-date {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.news-content {
  line-height: 1.8;
  font-size: 1rem;
}

.news-content img { max-width: 100%; border-radius: var(--radius); }

/* ====== NEW: Empty state ====== */
.empty-state {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
  font-size: 1rem;
}

/* ====== NEW: Toast ====== */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  color: var(--white);
  font-weight: 500;
  z-index: 9999;
  animation: slideUp 0.3s ease;
}

.toast-success { background: var(--green, #27ae60); }
.toast-error { background: var(--red, #e74c3c); }

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ====== Responsive additions ====== */
@media (max-width: 768px) {
  .products-table { display: none; }
  .products-cards { display: block; }
  .product-category-tabs { flex-direction: column; align-items: stretch; }
  .product-cat-tab { text-align: center; }
  .news-grid { grid-template-columns: 1fr; }
  .nav-tagline { display: none; }
}

@media (min-width: 769px) {
  .products-cards { display: none; }
  .products-table { display: block; }
}
