/* ── PRODUCT PAGES SHARED STYLES ── */

/* Force white navbar on all product pages */
.navbar {
  background: rgba(255,255,255,0.98) !important;
  box-shadow: 0 2px 16px rgba(46,107,40,0.08) !important;
  padding: 14px 0 !important;
}
.navbar .brand-main  { color: var(--green-dark) !important; }
.navbar .brand-sub   { color: var(--text-light)  !important; }
.navbar .nav-links a { color: var(--text-mid)    !important; }
.navbar .nav-links a:hover { color: var(--green) !important; }
.navbar .lang-toggle {
  background: var(--green-light) !important;
  border-color: var(--green)     !important;
  color: var(--green-dark)       !important;
}
.navbar .lang-toggle:hover { background: var(--green) !important; color: #fff !important; }
.navbar .login-btn   { border-color: var(--green) !important; color: var(--green-dark) !important; }
.navbar .login-btn:hover { background: var(--green) !important; color: #fff !important; }
.navbar .hamburger span { background: var(--text-dark) !important; }

/* ── PRODUCT SIDEBAR NAV ── */
.product-sidebar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  background: #fff;
  border-radius: 16px 0 0 16px;
  box-shadow: -4px 0 24px rgba(0,0,0,0.10);
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  margin: 2px 4px;
  border-radius: 10px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: all 0.25s ease;
  min-width: 68px;
}
.pnav-item:hover   { background: var(--green-light); border-color: rgba(46,107,40,0.2); }
.pnav-item.active  { background: var(--green-light); border-color: var(--green); }
.pnav-icon         { font-size: 1.3rem; line-height: 1; }
.pnav-label {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--text-light);
  text-align: center;
  line-height: 1.2;
  max-width: 56px;
}
.pnav-item.active .pnav-label { color: var(--green-dark); }

/* ── MOBILE PRODUCT NAV ── */
.product-mobile-nav {
  display: none;
  position: sticky;
  top: 68px;
  z-index: 48;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.product-mobile-nav::-webkit-scrollbar { display: none; }
.pmob-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-mid);
  background: var(--cream);
  border: 1.5px solid var(--border);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.25s ease;
}
.pmob-item.active { background: var(--green); color: #fff; border-color: var(--green); }
.pmob-item:hover:not(.active) { border-color: var(--green); color: var(--green); }

/* ── PRODUCT HERO ── */
.product-hero {
  padding: 130px 0 80px;
  position: relative;
  overflow: hidden;
}
.product-hero .container { position: relative; z-index: 2; }
.hero-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
  border: 1.5px solid currentColor;
  opacity: 0.85;
}
.product-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}
.product-hero p.lead {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 580px;
  margin-bottom: 36px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-illustration svg { width: 100%; height: auto; max-height: 340px; }

/* ── QUICK STATS BAR ── */
.quick-stats {
  background: #fff;
  padding: 36px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.quick-stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.qs-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid var(--border);
}
.qs-item:last-child { border-right: none; }
.qs-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}
.qs-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-light);
  line-height: 1.3;
}

/* ── CONTENT SECTIONS ── */
.prod-section {
  padding: 88px 0;
}
.prod-section.alt-bg { background: var(--cream); }

.prod-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.prod-section-grid.reverse { direction: rtl; }
.prod-section-grid.reverse > * { direction: ltr; }

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}
.prod-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 16px;
}
.prod-section p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 16px;
}
.prod-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.prod-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.5;
}
.prod-bullets li::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-light);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 10l3.5 3.5L15 7' stroke='%232E6B28' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: cover;
  margin-top: 2px;
}

/* Section illustration container */
.sec-illustration {
  border-radius: 20px;
  overflow: hidden;
  line-height: 0;
  box-shadow: var(--shadow-lg);
}
.sec-illustration svg { width: 100%; height: auto; }

/* ── BENEFIT CARDS ── */
.benefit-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.benefit-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 22px;
  transition: all 0.3s ease;
}
.benefit-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.benefit-icon { font-size: 2rem; margin-bottom: 14px; }
.benefit-card h4 { font-size: 1rem; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; }
.benefit-card p  { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; margin: 0; }

/* ── COMPARISON TABLE ── */
.comparison-wrap { margin-top: 48px; overflow-x: auto; }
.comparison-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.comparison-table th {
  padding: 14px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 2px solid var(--border);
}
.comparison-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-mid);
  vertical-align: middle;
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table .col-us  { color: var(--green-dark); font-weight: 600; }
.comparison-table .col-hdr { background: var(--green); color: #fff; border-radius: 8px 8px 0 0; }
.tick { color: var(--green); font-weight: 700; }
.cross { color: #e74c3c; }

/* ── FORMULA CARDS (Feeds page) ── */
.formula-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.formula-card {
  border-radius: 16px;
  padding: 24px 18px;
  text-align: center;
  border: 1.5px solid var(--border);
}
.formula-card .f-icon { font-size: 2rem; margin-bottom: 12px; }
.formula-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.formula-card .f-age { font-size: 0.75rem; color: var(--text-light); margin-bottom: 14px; font-weight: 500; }
.formula-card ul { list-style: none; text-align: left; }
.formula-card ul li { font-size: 0.8rem; color: var(--text-mid); padding: 3px 0; border-bottom: 1px solid var(--border); }
.formula-card ul li:last-child { border-bottom: none; }

/* ── PRODUCT PAGINATION ── */
.product-pagination {
  padding: 56px 0;
  background: #fff;
  border-top: 1px solid var(--border);
}
.pag-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.pag-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  background: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 200px;
}
.pag-btn.next { flex-direction: row-reverse; }
.pag-btn:hover { border-color: var(--green); box-shadow: var(--shadow-md); }
.pag-btn.prev:hover { transform: translateX(-4px); }
.pag-btn.next:hover { transform: translateX(4px); }
.pag-icon-wrap {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.pag-text { display: flex; flex-direction: column; gap: 2px; }
.pag-dir { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-light); }
.pag-name { font-size: 0.95rem; font-weight: 600; color: var(--text-dark); }
.pag-arrow { font-size: 1.2rem; color: var(--text-light); }
.pag-all-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--text-light);
  font-size: 0.8rem;
  font-weight: 500;
  transition: color 0.25s;
}
.pag-all-link:hover { color: var(--green); }
.pag-all-link .pag-grid-icon { font-size: 1.4rem; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .product-sidebar { display: none; }
  .product-mobile-nav { display: flex; }
  .benefit-cards { grid-template-columns: 1fr 1fr; }
  .formula-grid  { grid-template-columns: 1fr 1fr; }
  .quick-stats .container { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .qs-item { border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 20px; }
  .qs-item:nth-child(3), .qs-item:nth-child(4) { border-bottom: none; }
}
@media (max-width: 768px) {
  .product-hero { padding: 100px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-illustration { display: none; }
  .prod-section { padding: 56px 0; }
  .prod-section-grid { grid-template-columns: 1fr; gap: 36px; }
  .prod-section-grid.reverse { direction: ltr; }
  .benefit-cards { grid-template-columns: 1fr; }
  .formula-grid  { grid-template-columns: 1fr 1fr; }
  .pag-btn { min-width: unset; }
  .pag-name { display: none; }
}
@media (max-width: 480px) {
  .formula-grid { grid-template-columns: 1fr; }
  .pag-btn { padding: 14px 16px; }
}
