/* CSS Reset and Design System */
:root {
  --bg-dark: #0a0f0d;
  --bg-card: rgba(18, 26, 22, 0.75);
  --bg-card-hover: rgba(28, 40, 34, 0.85);
  --accent-green: #10b981;
  --accent-green-light: #34d399;
  --accent-green-glow: rgba(16, 185, 129, 0.25);
  --accent-orange: #f97316;
  --accent-red: #ef4444;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dark: #1f2937;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(16, 185, 129, 0.3);
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --font-heading: 'Unbounded', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --glass-bg: rgba(15, 23, 19, 0.65);
  --glass-backdrop: blur(16px) saturate(180%);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  padding-bottom: 110px; /* Space for sticky footer */
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(249, 115, 22, 0.05) 0%, transparent 40%);
  background-attachment: fixed;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Navigation */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 15, 13, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.logo .highlight {
  color: var(--accent-green);
}

.badge-mvp {
  font-size: 0.65rem;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green-light);
  padding: 3px 8px;
  border-radius: 20px;
  border: 1px solid var(--border-highlight);
  font-family: var(--font-body);
}

.search-bar {
  flex: 1;
  max-width: 480px;
  position: relative;
  display: flex;
  align-items: center;
}

.search-bar input {
  width: 100%;
  padding: 10px 16px 10px 42px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: #fff;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.search-bar input:focus {
  outline: none;
  border-color: var(--accent-green);
  box-shadow: 0 0 15px var(--accent-green-glow);
}

.search-icon {
  position: absolute;
  left: 14px;
  font-size: 0.9rem;
  opacity: 0.6;
}

.daily-tracker-mini {
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.daily-tracker-mini strong {
  color: var(--accent-green-light);
}

/* Breadcrumbs */
.breadcrumbs {
  margin: 24px 0 16px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  color: var(--accent-green-light);
}

.breadcrumbs span {
  color: var(--text-main);
}

/* Section Header Shared */
.section-header {
  margin-bottom: 24px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-green-light);
  font-weight: 700;
  margin-bottom: 6px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: #fff;
}

.section-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Hero Section */
.hero-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-backdrop);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.hero-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 36px;
  align-items: start;
}

/* Gallery Slider */
.gallery-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.main-image-wrapper {
  position: relative;
  width: 100%;
  height: 340px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: #000;
}

.main-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.main-image-wrapper:hover img {
  transform: scale(1.04);
}

.image-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.thumb-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 6px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
}

.thumb-btn img {
  width: 100%;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

.thumb-btn span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.thumb-btn.active, .thumb-btn:hover {
  border-color: var(--accent-green);
  background: rgba(16, 185, 129, 0.1);
}

.thumb-btn.active span {
  color: var(--accent-green-light);
  font-weight: 600;
}

/* Hero Content */
.category-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  line-height: 1.3;
  margin-bottom: 12px;
  color: #fff;
}

.product-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

/* Quick Metrics Grid */
.quick-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.metric-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.3s ease;
}

.metric-card:hover {
  border-color: var(--border-highlight);
}

.metric-card.highlight-green {
  background: radial-gradient(circle at top left, rgba(16, 185, 129, 0.15) 0%, rgba(255,255,255,0.02) 100%);
  border-color: var(--border-highlight);
}

.metric-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.big-val {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
}

.metric-card.highlight-green .big-val {
  color: var(--accent-green-light);
}

.unit {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}

.metric-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.gi-badge {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 6px;
  vertical-align: middle;
}

.gi-low {
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-green-light);
  border: 1px solid var(--accent-green);
}

/* Circle Progress Card */
.circle-progress-card {
  flex-direction: row;
  align-items: center;
  gap: 14px;
}

.circle-box {
  width: 56px;
  height: 56px;
}

.circular-chart {
  display: block;
  max-width: 100%;
  max-height: 100%;
}

.circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 3.8;
}

.circle {
  fill: none;
  stroke-width: 3.8;
  stroke-linecap: round;
  stroke: var(--accent-green-light);
  transition: stroke-dasharray 0.6s ease;
}

.percentage {
  fill: #fff;
  font-family: var(--font-heading);
  font-size: 0.5rem;
  text-anchor: middle;
  font-weight: bold;
}

.circle-info {
  display: flex;
  flex-direction: column;
}

.circle-info .sub-text {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Action Bar */
.action-bar {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-add-portion {
  background: linear-gradient(135deg, var(--accent-green) 0%, #059669 100%);
  color: #fff;
  border: none;
  padding: 14px 24px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
  transition: all 0.3s ease;
}

.btn-add-portion:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(16, 185, 129, 0.45);
}

.btn-add-portion:active {
  transform: translateY(0);
}

.portion-counter-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Block 2: JTBD Transformer Section */
.jtbd-section {
  margin-bottom: 50px;
}

.jtbd-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.jtbd-tab-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  transition: all 0.3s ease;
  color: var(--text-muted);
}

.jtbd-tab-btn .tab-icon {
  font-size: 1.6rem;
}

.jtbd-tab-btn strong {
  display: block;
  color: var(--text-main);
  font-size: 0.95rem;
}

.jtbd-tab-btn small {
  font-size: 0.8rem;
  opacity: 0.7;
}

.jtbd-tab-btn:hover {
  border-color: var(--border-highlight);
  background: rgba(255, 255, 255, 0.06);
}

.jtbd-tab-btn.active {
  background: radial-gradient(circle at top left, rgba(16, 185, 129, 0.2) 0%, rgba(18, 26, 22, 0.8) 100%);
  border-color: var(--accent-green);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.jtbd-tab-btn.active strong {
  color: var(--accent-green-light);
}

.jtbd-content-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-backdrop);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.jtbd-tab-pane {
  display: none;
}

.jtbd-tab-pane.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.pane-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: center;
}

.pane-text h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #fff;
}

.pane-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.key-takeaway {
  background: rgba(16, 185, 129, 0.1);
  border-left: 4px solid var(--accent-green);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.88rem;
  color: var(--text-main);
}

.pane-indicators {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.indicator-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 16px 20px;
  border-radius: var(--radius-md);
}

.ind-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.rating-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 1.3rem;
  color: #f59e0b;
}

.score-num {
  font-size: 0.95rem;
  color: #fff;
  font-weight: 700;
  margin-left: 8px;
}

.ind-sub {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.bar-container {
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.bar-fill.green {
  height: 100%;
  background: var(--accent-green);
  color: #fff;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  padding-left: 8px;
  font-weight: bold;
}

.progress-meter {
  position: relative;
  height: 8px;
  background: linear-gradient(90deg, #ef4444, #f59e0b, #10b981);
  border-radius: 4px;
  margin: 12px 0 8px 0;
}

.meter-pointer {
  position: absolute;
  top: -4px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
  transform: translateX(-50%);
}

.meter-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.meter-labels .active-val {
  color: var(--accent-green-light);
  font-weight: 700;
}

.big-indicator-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.big-indicator-text.green-txt {
  color: var(--accent-green-light);
}

.pill-group {
  display: flex;
  gap: 8px;
  margin-bottom: 4px;
}

.pill-tag {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green-light);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Block 3: Culinary Physics Section */
.physics-section {
  margin-bottom: 50px;
}

.physics-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-backdrop);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.physics-comparison-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
}

.phys-column {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
}

.phys-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.phys-badge.highlight-orange {
  background: rgba(249, 115, 22, 0.2);
  color: #fb923c;
  border: 1px solid rgba(249, 115, 22, 0.4);
}

.phys-column h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 14px;
  color: #fff;
}

.phys-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.phys-list strong {
  color: #fff;
}

.phys-vs-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.vs-badge {
  background: var(--accent-green);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 50%;
  box-shadow: 0 0 15px var(--accent-green-glow);
}

.lycopene-boost-banner {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(239, 68, 68, 0.1) 100%);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.banner-icon {
  font-size: 1.8rem;
}

.banner-text {
  font-size: 0.9rem;
  color: var(--text-main);
}

/* Block 4: SEO Linking Engine */
.seo-engine-section {
  margin-bottom: 50px;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.seo-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-backdrop);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.seo-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: #fff;
}

.card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.seo-link {
  color: var(--accent-green-light);
  text-decoration: underline;
  text-decoration-color: rgba(52, 211, 153, 0.4);
  transition: all 0.2s;
  font-weight: 600;
}

.seo-link:hover {
  color: #fff;
  text-decoration-color: var(--accent-green-light);
}

.synergy-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.synergy-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
}

.combo-title {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #fff;
}

.synergy-item p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.norm-combos {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.combo-chip {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}

.combo-chip:hover {
  border-color: var(--accent-green);
  background: rgba(16, 185, 129, 0.08);
}

.btn-chip-add {
  background: var(--accent-green);
  border: none;
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-weight: bold;
  cursor: pointer;
}

.alt-products {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.alt-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  transition: all 0.2s;
}

.alt-item:hover {
  border-color: var(--border-highlight);
  background: rgba(255, 255, 255, 0.06);
}

.alt-name {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
}

.alt-val {
  font-size: 0.78rem;
  color: var(--accent-green-light);
}

/* Block 5: Intent Recipes Section */
.recipes-section {
  margin-bottom: 50px;
}

.recipes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.recipe-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-backdrop);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.3s, border-color 0.3s;
}

.recipe-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
}

.recipe-tag {
  align-self: flex-start;
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 600;
}

.tag-weight { background: rgba(16, 185, 129, 0.2); color: var(--accent-green-light); }
.tag-digestive { background: rgba(249, 115, 22, 0.2); color: #fb923c; }
.tag-microbiome { background: rgba(168, 85, 247, 0.2); color: #c084fc; }

.recipe-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: #fff;
}

.recipe-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.recipe-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.recipe-ingredients {
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 10px;
  border-radius: var(--radius-sm);
  margin-top: auto;
}

/* Block 6: Sticky Footer Bar & Affiliate Trigger */
.sticky-footer-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(10, 15, 13, 0.92);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-highlight);
  padding: 14px 0;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.footer-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-tracker-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 240px;
}

.tracker-progress-text {
  font-size: 0.8rem;
  color: var(--text-muted);

}

.tracker-progress-text strong {
  color: var(--accent-green-light);
}

.footer-progress-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.footer-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-green) 0%, var(--accent-green-light) 100%);
  transition: width 0.4s ease;
}

.affiliate-bridge {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 16px;
  border-radius: 30px;
  border: 1px solid var(--border-color);
  flex: 1;
  justify-content: space-between;
}

.affiliate-text {
  font-size: 0.82rem;
  color: var(--text-main);
}

.affiliate-text strong {
  color: var(--accent-orange);
}

.affiliate-buttons {
  display: flex;
  gap: 8px;
}

.btn-affiliate {
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  transition: transform 0.2s, opacity 0.2s;
}

.btn-affiliate:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.btn-affiliate.ozon { background: #005bff; color: #fff; }
.btn-affiliate.wb { background: #cb11ab; color: #fff; }
.btn-affiliate.apteka { background: #e11d48; color: #fff; }

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .pane-grid {
    grid-template-columns: 1fr;
  }
  .physics-comparison-grid {
    grid-template-columns: 1fr;
  }
  .vs-badge {
    margin: 10px 0;
  }
  .seo-grid, .recipes-grid {
    grid-template-columns: 1fr;
  }
  .jtbd-tabs {
    grid-template-columns: 1fr;
  }
  .footer-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
}


/* --- EMBEDDED PRODUCT & V2 STYLES --- */

    body {
      padding-bottom: 40px !important;
    }

    .block1-header {
      margin-bottom: 24px;
    }

    .block1-breadcrumbs {
      font-size: 0.85rem;
      color: var(--text-muted);
      margin-bottom: 12px;
    }

    .block1-breadcrumbs a {
      color: var(--text-muted);
      text-decoration: none;
    }

    .block1-breadcrumbs a:hover {
      color: var(--accent-green-light);
    }

    .block1-title {
      font-family: var(--font-heading);
      font-size: 2.2rem;
      font-weight: 700;
      color: #ffffff;
      line-height: 1.25;
      margin-bottom: 12px;
      letter-spacing: -0.5px;
    }

    .block1-subtitle {
      font-size: 1.05rem;
      color: var(--text-muted);
      line-height: 1.5;
      max-width: 800px;
    }

    .block1-hero-grid {
      display: grid;
      grid-template-columns: 360px 1fr;
      gap: 24px;
      margin-bottom: 28px;
      align-items: start;
    }

    .v2-gallery-box {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .v2-main-image-wrapper {
      position: relative;
      width: 100%;
      height: 290px;
      border-radius: var(--radius-md);
      overflow: hidden;
      border: 1px solid var(--border-color);
      background: #000;
    }

    .v2-main-image-wrapper img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
    }

    .v2-main-image-wrapper:hover img {
      transform: scale(1.03);
    }

    .v2-image-tag {
      position: absolute;
      bottom: 10px;
      left: 10px;
      background: rgba(0, 0, 0, 0.7);
      backdrop-filter: blur(8px);
      color: #fff;
      padding: 4px 10px;
      border-radius: 20px;
      font-size: 0.75rem;
      border: 1px solid rgba(255, 255, 255, 0.15);
    }

    .v2-gallery-thumbs {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
    }

    .v2-thumb-btn {
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      padding: 4px;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
      transition: all 0.2s;
    }

    .v2-thumb-btn img {
      width: 100%;
      height: 48px;
      object-fit: cover;
      border-radius: 4px;
    }

    .v2-thumb-btn span {
      font-size: 0.7rem;
      color: var(--text-muted);
    }

    .v2-thumb-btn.active, .v2-thumb-btn:hover {
      border-color: var(--accent-green);
      background: rgba(16, 185, 129, 0.08);
    }

    .v2-thumb-btn.active span {
      color: var(--accent-green-light);
      font-weight: 600;
    }

    .v2-metrics-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }

    .v2-metric-card {
      background: #151c18;
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: 12px;
      padding: 20px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      min-height: 165px;
    }

    .v2-card-header {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 12px;
    }

    .v2-card-icon {
      font-size: 1.1rem;
    }

    .v2-card-title {
      font-family: var(--font-heading);
      font-size: 0.9rem;
      color: #ffffff;
      font-weight: 700;
    }

    .v2-primary-box {
      background: rgba(0, 0, 0, 0.25);
      padding: 10px 12px;
      border-radius: 6px;
      border-left: 3px solid var(--accent-green);
      margin-bottom: 8px;
    }

    .v2-primary-label {
      font-size: 0.7rem;
      color: var(--accent-green-light);
      text-transform: uppercase;
      font-weight: 700;
      letter-spacing: 0.3px;
      display: block;
      margin-bottom: 2px;
    }

    .v2-primary-text {
      font-family: var(--font-heading);
      font-size: 1.35rem;
      font-weight: 700;
      color: #ffffff;
    }

    .v2-fractions-box {
      background: rgba(0, 0, 0, 0.25);
      padding: 8px 10px;
      border-radius: 6px;
      margin-bottom: 10px;
      border: 1px solid rgba(255, 255, 255, 0.04);
    }

    .v2-fractions-labels {
      display: flex;
      justify-content: space-between;
      font-size: 0.72rem;
      color: var(--text-muted);
      margin-bottom: 5px;
    }

    .v2-fractions-labels strong {
      color: #ffffff;
    }

    .v2-fractions-bar {
      display: flex;
      height: 5px;
      border-radius: 3px;
      overflow: hidden;
      background: rgba(255, 255, 255, 0.08);
    }

    .v2-secondary-box {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 0.8rem;
      color: var(--text-muted);
    }

    .v2-secondary-val {
      font-weight: 700;
      color: var(--text-main);
    }

    .v2-card-hint {
      font-size: 0.8rem;
      color: var(--text-muted);
      line-height: 1.4;
      background: rgba(255, 255, 255, 0.02);
      padding: 10px;
      border-radius: 6px;
      border: 1px solid rgba(255, 255, 255, 0.03);
    }

    .v2-progress-wrapper {
      display: flex;
      align-items: center;
      gap: 14px;
      flex: 1;
    }

    .v2-circle-info {
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .v2-circle-label {
      font-family: var(--font-heading);
      font-size: 0.95rem;
      font-weight: 700;
      color: #ffffff;
      line-height: 1.2;
    }

    .v2-circle-sub {
      font-size: 0.75rem;
      color: var(--text-muted);
      margin-top: 3px;
      line-height: 1.2;
    }

    .v2-varieties-box {
      background: #111815;
      border: 1px solid rgba(255, 255, 255, 0.05);
      border-radius: 12px;
      padding: 20px 24px;
      margin-bottom: 24px;
    }

    .v2-varieties-title {
      font-family: var(--font-heading);
      font-size: 1.05rem;
      color: #ffffff;
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 8px;
    }

    .v2-varieties-note {
      font-size: 0.88rem;
      color: var(--text-muted);
      line-height: 1.5;
      margin-bottom: 16px;
    }

    .v2-varieties-list {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-bottom: 16px;
    }

    .v2-variety-row {
      background: rgba(0, 0, 0, 0.2);
      border: 1px solid rgba(255, 255, 255, 0.03);
      border-radius: 8px;
      padding: 10px 14px;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .v2-variety-emoji {
      font-size: 1.2rem;
    }

    .v2-variety-txt {
      font-size: 0.82rem;
      color: var(--text-muted);
      line-height: 1.4;
    }

    .v2-variety-txt strong {
      color: #ffffff;
    }

    .v2-varieties-conclusion {
      font-size: 0.82rem;
      color: var(--accent-green-light);
      font-weight: 600;
      background: rgba(16, 185, 129, 0.08);
      padding: 10px 14px;
      border-radius: 6px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .v2-calc-box {
      background: #0d1210;
      border: 1px solid var(--border-highlight);
      border-radius: 12px;
      padding: 20px;
    }

    .v2-calc-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 12px;
      margin-bottom: 16px;
    }

    .v2-calc-title h4 {
      font-family: var(--font-heading);
      font-size: 0.95rem;
      color: #ffffff;
      margin-bottom: 2px;
    }

    .v2-calc-title p {
      font-size: 0.8rem;
      color: var(--text-muted);
    }

    .v2-unit-switcher {
      display: flex;
      background: rgba(255, 255, 255, 0.05);
      padding: 3px;
      border-radius: 30px;
      border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .v2-unit-btn {
      background: transparent;
      border: none;
      color: var(--text-muted);
      padding: 5px 12px;
      border-radius: 20px;
      font-size: 0.78rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s;
    }

    .v2-unit-btn.active {
      background: var(--accent-green);
      color: #ffffff;
    }

    .v2-calc-controls {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 16px;
    }

    .v2-counter-control {
      display: flex;
      align-items: center;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 30px;
      padding: 3px;
    }

    .v2-btn-counter {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      border: none;
      background: rgba(255, 255, 255, 0.08);
      color: #ffffff;
      font-size: 1.1rem;
      font-weight: bold;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .v2-btn-counter:hover {
      background: var(--accent-green);
    }

    .v2-counter-display {
      min-width: 70px;
      text-align: center;
      font-family: var(--font-heading);
      font-size: 0.95rem;
      font-weight: 700;
      color: #ffffff;
    }

    .v2-calc-result {
      flex: 1;
      min-width: 250px;
      background: rgba(16, 185, 129, 0.06);
      border: 1px solid var(--accent-green);
      padding: 10px 14px;
      border-radius: 8px;
      font-size: 0.85rem;
      color: #ffffff;
      line-height: 1.4;
    }

    .v2-calc-result strong {
      color: var(--accent-green-light);
    }

    .seo-dom-shortcuts {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    .quick-products-nav {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 12px 0;
      overflow-x: auto;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      margin-bottom: 15px;
    }

    .quick-nav-label {
      font-size: 0.8rem;
      color: var(--text-muted);
      white-space: nowrap;
    }

    .quick-nav-pill {
      padding: 6px 14px;
      border-radius: 20px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
      color: var(--text-muted);
      text-decoration: none;
      font-size: 0.82rem;
      font-weight: 600;
      white-space: nowrap;
      transition: all 0.2s;
    }

    .quick-nav-pill:hover {
      background: rgba(16, 185, 129, 0.1);
      color: var(--accent-green-light);
      border-color: var(--accent-green);
    }

    .quick-nav-pill.active {
      background: var(--accent-green);
      color: #ffffff;
      border-color: var(--accent-green);
    }

    .search-bar {
      position: relative;
    }

    .search-suggestions {
      display: none;
      position: absolute;
      top: 110%;
      left: 0;
      right: 0;
      background: #111815;
      border: 1px solid var(--accent-green);
      border-radius: 12px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.8);
      z-index: 999;
      overflow: hidden;
    }

    .search-suggestions a {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 16px;
      color: #fff;
      text-decoration: none;
      font-size: 0.85rem;
      border-bottom: 1px solid rgba(255,255,255,0.05);
      transition: background 0.2s;
    }

    .search-suggestions a:hover {
      background: rgba(16, 185, 129, 0.15);
      color: var(--accent-green-light);
    }
  


/* FIBERCORE Public Catalog Index Styles */
.catalog-hero {
  padding: 40px 0 28px 0;
  text-align: center;
}
.catalog-hero-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.2;
}
.catalog-hero-title .highlight {
  color: var(--accent-green-light);
}

/* Hero Deep Research Expandable Box */
.hero-research-box {
  max-width: 880px;
  margin: 0 auto 28px auto;
  background: rgba(15, 23, 19, 0.7);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  backdrop-filter: blur(14px);
  text-align: left;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}
.hero-research-headline {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-research-teaser {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 16px;
}
.hero-research-teaser strong {
  color: var(--accent-green-light);
}
.hero-expand-btn {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-green-light);
  padding: 9px 20px;
  border-radius: 24px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}
.hero-expand-btn:hover {
  background: var(--accent-green);
  color: #ffffff;
  border-color: var(--accent-green);
  box-shadow: 0 0 16px var(--accent-green-glow);
}
.hero-research-details {
  display: none;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-research-details.open {
  display: block;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.research-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}
.research-card-mini {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px;
  border-left: 3px solid var(--accent-green);
}
.research-card-mini h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 8px;
}
.research-card-mini p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}
.research-conclusion-banner {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.88rem;
  color: #e2e8f0;
  line-height: 1.5;
}
.research-conclusion-banner strong {
  color: var(--accent-green-light);
}

.catalog-stats-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.catalog-stat-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}
.catalog-stat-pill strong {
  color: var(--accent-green-light);
}

/* Category Filter Tabs */
.category-filter-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  padding: 16px;
  background: rgba(15, 23, 19, 0.65);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
}
.cat-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 9px 18px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
}
.cat-tab-btn:hover {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-green-light);
  border-color: var(--accent-green);
}
.cat-tab-btn.active {
  background: var(--accent-green);
  color: #ffffff;
  border-color: var(--accent-green);
  box-shadow: 0 0 16px var(--accent-green-glow);
}
.cat-count {
  background: rgba(0, 0, 0, 0.3);
  padding: 2px 7px;
  border-radius: 12px;
  font-size: 0.72rem;
}

/* Sorter Bar */
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding: 0 4px;
}
.catalog-count-label {
  font-size: 0.95rem;
  color: var(--text-muted);
}
.catalog-count-label strong {
  color: #fff;
}
.sort-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  padding: 4px;
  border-radius: 30px;
  border: 1px solid var(--border-color);
}
.sort-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.sort-btn.active {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}
.product-card {
  background: #111815;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-green);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 15px var(--accent-green-glow);
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}
.card-emoji-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.card-cat-badge {
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}
.card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  line-height: 1.3;
}
.card-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-metrics-box {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 14px;
  border-left: 3px solid var(--accent-green);
}
.card-fiber-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}
.card-fiber-label {
  font-size: 0.72rem;
  color: var(--accent-green-light);
  text-transform: uppercase;
  font-weight: 700;
}
.card-fiber-val {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
}
.card-fractions-bar {
  display: flex;
  height: 4px;
  border-radius: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 8px;
}
.card-meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.card-meta-row strong {
  color: #fff;
}
.card-btn {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid var(--accent-green);
  color: var(--accent-green-light);
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
}
.product-card:hover .card-btn {
  background: var(--accent-green);
  color: #ffffff;
}

/* Fallback visual card for products without images */
.v2-visual-placeholder {
  width: 100%;
  height: 290px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: linear-gradient(135deg, #0d1712 0%, #17241d 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
}
.v2-visual-emoji {
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", "Segoe UI Symbol", sans-serif;
  font-size: 5.5rem;
  line-height: 1;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.6));
  animation: floatEmoji 4s ease-in-out infinite alternate;
}
@keyframes floatEmoji {
  0% { transform: translateY(0px) scale(1); }
  100% { transform: translateY(-8px) scale(1.04); }
}
.v2-visual-badge {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  color: var(--accent-green-light);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Enhanced Fractions Micro-block */
.v2-fractions-box {
  background: rgba(0, 0, 0, 0.3) !important;
  padding: 10px 12px !important;
  border-radius: 8px !important;
  margin-top: 10px !important;
  margin-bottom: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
}
.v2-fractions-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  margin-bottom: 6px;
}
.v2-frac-left {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.v2-frac-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.v2-frac-dot.purple {
  background: #a855f7;
  box-shadow: 0 0 6px rgba(168, 85, 247, 0.4);
}
.v2-frac-dot.green {
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.4);
}
.v2-frac-name {
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.78rem;
  white-space: nowrap;
}
.v2-frac-sub {
  color: var(--text-muted);
  font-size: 0.72rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}
.v2-frac-val {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
  margin-left: 8px;
}
.v2-frac-val strong {
  color: #ffffff;
  font-weight: 700;
}
.v2-fractions-bar {
  display: flex;
  height: 5px;
  border-radius: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  margin-top: 8px;
}

/* Enhanced Indicators / Progress Bars (No Text Overflow) */
.ind-header-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}
.ind-val-highlight {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-green-light);
  white-space: nowrap;
}
.bar-container {
  height: 8px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  margin-bottom: 6px !important;
}
.bar-fill.green {
  height: 100% !important;
  background: linear-gradient(90deg, #059669, #10b981) !important;
  border-radius: 4px !important;
  padding: 0 !important;
}

/* --- Block 4: SEO & Real Fiber Meal Constructor Styles --- */
.seo-engine-section {
  margin-top: 36px;
  margin-bottom: 50px;
}
.seo-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}
@media (max-width: 900px) {
  .seo-grid {
    grid-template-columns: 1fr;
  }
}
.seo-card {
  background: #111815;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.seo-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 6px;
}
.seo-card .card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.4;
}

/* Meal Constructor Styles */
.meal-type-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-orange);
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.3);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.meal-dish-name {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.3;
}
.meal-ingredients-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.meal-ingr-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 10px 14px;
  transition: border-color 0.2s;
}
.meal-ingr-row:hover {
  border-color: rgba(16, 185, 129, 0.3);
}
.meal-ingr-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
}
.meal-ingr-emoji {
  font-size: 1.3rem;
}
.meal-ingr-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}
.meal-ingr-link:hover {
  color: var(--accent-green-light);
  text-decoration: underline;
}
.meal-ingr-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.meal-ingr-fiber {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--accent-green-light);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.meal-summary-bar {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--accent-green);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.meal-summary-label {
  font-size: 0.88rem;
  color: #ffffff;
}
.meal-summary-val {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-green-light);
}
.meal-hint-box {
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid var(--accent-green);
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.meal-hint-box strong {
  color: #ffffff;
}

/* Alternatives styling */
.alt-products {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.alt-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 12px 14px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}
.alt-item:hover {
  background: rgba(16, 185, 129, 0.08);
  border-color: var(--accent-green);
  transform: translateX(4px);
}
.alt-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.alt-val {
  font-size: 0.82rem;
  color: var(--accent-green-light);
  font-weight: 700;
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsive Styles (iPhone 13 mini & up)
   ========================================================================== */

/* Prevent accidental horizontal overflow globally */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
}

*, *:before, *:after {
  box-sizing: border-box !important;
}

.product-showcase-box {
  background: rgba(15, 23, 19, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px 32px 24px 32px;
  margin-top: 12px;
  margin-bottom: 32px;
}

@media (max-width: 860px) {
  .block1-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  .v2-metrics-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .v2-metric-card {
    min-height: auto !important;
    padding: 16px 14px !important;
    width: 100% !important;
  }
  .v2-main-image-wrapper, .v2-visual-placeholder {
    height: 220px !important;
  }
  .v2-visual-emoji {
    font-size: 4rem !important;
  }
  .seo-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 12px !important;
    max-width: 100% !important;
  }
  .product-showcase-box {
    padding: 18px 12px 16px 12px !important;
    border-radius: 14px !important;
    margin-top: 6px !important;
    margin-bottom: 20px !important;
  }
  .block1-breadcrumbs {
    flex-wrap: wrap !important;
    font-size: 0.75rem !important;
  }
  .block1-title {
    font-size: 1.3rem !important;
    line-height: 1.28 !important;
    word-break: break-word !important;
  }
  .block1-subtitle {
    font-size: 0.86rem !important;
    line-height: 1.4 !important;
    margin-bottom: 16px !important;
  }
  .catalog-hero-title {
    font-size: 1.7rem !important;
  }
  .hero-research-box {
    padding: 18px 14px !important;
    margin-bottom: 20px !important;
  }
  .hero-research-headline {
    font-size: 1rem !important;
  }
  .hero-research-teaser {
    font-size: 0.86rem !important;
  }
  .hero-expand-btn {
    font-size: 0.8rem !important;
    padding: 8px 14px !important;
    width: 100% !important;
    justify-content: center !important;
  }
  .research-grid-3 {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .catalog-toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }
  .sort-switcher {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
  .sort-btn {
    flex: 1 1 auto !important;
    font-size: 0.75rem !important;
    padding: 7px 8px !important;
    text-align: center !important;
  }
  .quick-products-nav {
    padding: 8px 0 !important;
  }
  .quick-nav-pill {
    padding: 5px 10px !important;
    font-size: 0.76rem !important;
  }
  .catalog-stats-row {
    gap: 8px !important;
  }
  .catalog-stat-pill {
    padding: 6px 12px !important;
    font-size: 0.78rem !important;
  }
  .category-filter-nav {
    padding: 12px 10px !important;
    gap: 6px !important;
  }
  .cat-tab-btn {
    padding: 7px 12px !important;
    font-size: 0.8rem !important;
  }
  .v2-frac-sub {
    display: none !important;
  }
  .v2-fractions-row {
    font-size: 0.76rem !important;
  }
}

/* Compact mobile screens like iPhone 13 mini (375px) */
@media (max-width: 480px) {
  .nav-wrapper {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    padding: 10px 0 !important;
  }
  .daily-tracker-mini {
    font-size: 0.78rem !important;
    padding: 4px 10px !important;
    align-self: flex-start !important;
  }
  .v2-metric-card {
    padding: 14px 12px !important;
  }
  .v2-metric-big {
    font-size: 1.75rem !important;
  }
  .meal-ingr-row {
    padding: 8px 10px !important;
  }
  .meal-dish-name {
    font-size: 1.02rem !important;
  }
  .meal-hint-box {
    padding: 10px 12px !important;
    font-size: 0.8rem !important;
  }
  .quick-switch-bar {
    flex-direction: column !important;
    gap: 8px !important;
    align-items: stretch !important;
  }
  .quick-prev-btn, .quick-next-btn {
    max-width: 100% !important;
    justify-content: center !important;
  }
  .calc-tab {
    padding: 8px 12px !important;
    font-size: 0.8rem !important;
  }
  .pane-header h2 {
    font-size: 1.2rem !important;
  }
}
