/* Nut n' Pip Consolidated Styles */

/* Screen reader only class */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Skip link becomes visible for sighted keyboard users when it receives focus */
.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 8px 16px;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  display: inline-block;
  background-color: #2e7d32;
  color: white;
  z-index: 9999;
}

/* Semantic HTML elements */
section, main {
  display: block;
  width: 100%;
  margin: 0;
  border: none;
  box-sizing: border-box;
}

/* Utility classes */
.w3-content {
  max-width: 980px;
  margin: 0 auto;
}

body,h1,h2,h3,h4,h5,h6 {font-family: "Lato", sans-serif;}

body, html {
    height: 100%;
    color: #444;
    line-height: 1.8;
    margin: 0;
    padding: 0;
}

/* Shipping Banner */
.shipping-banner {
  background-color: #2196F3;
  color: white;
  padding: 10px 20px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
}

/* Navbar */
.navbar {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar img {
  max-width: 150px;
  height: auto;
}

.navbar-logo {
  width: 140px;
  height: auto;
}

.hero-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-text-column {
  max-width: 600px;
}

.navbar-right,
.navbar-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #444;
  font-size: 22px;
  padding: 5px 10px;
  cursor: pointer;
}

.mobile-menu-toggle:focus,
.mobile-menu-toggle:focus-visible {
  outline: 2px solid #2e7d32;
  outline-offset: 2px;
}

.navbar-links a {
  color: #444;
  text-decoration: none;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.navbar-links a:hover {
  color: #4CAF50;
}

.navbar-links img {
  display: block;
  vertical-align: middle;
  height: 30px;
  width: auto;
}

.shop-btn {
  background-color: #2e7d32;
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
}

/* Higher-specificity override so the generic .navbar-links a / a:hover color
   rules above can never win and hide the button's white label */
.navbar-links a.shop-btn,
.navbar-links a.shop-btn:hover {
  color: white;
}

.navbar-links a.shop-btn:hover {
  background-color: #1b5e20;
}

/* Dark Mode Toggle Button */
.dark-mode-toggle {
  background-color: rgba(0, 0, 0, 0.08);
  border: 2px solid rgba(0, 0, 0, 0.35);
  cursor: pointer;
  padding: 5px 10px;
  margin-right: 10px;
  color: #333;
  font-size: 18px;
  border-radius: 4px;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.dark-mode-toggle:hover {
  background-color: rgba(0, 0, 0, 0.15);
  border-color: rgba(0, 0, 0, 0.5);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.dark-mode-toggle:focus,
.dark-mode-toggle:focus-visible {
  outline: 2px solid #2e7d32;
  outline-offset: 2px;
}

html[data-theme="light"] .dark-mode-toggle:focus,
html[data-theme="light"] .dark-mode-toggle:focus-visible {
  outline: 2px solid #2e7d32;
  outline-offset: 2px;
}

html[data-theme="dark"] .dark-mode-toggle {
  background-color: rgba(0, 0, 0, 0.45);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .dark-mode-toggle:hover {
  background-color: rgba(0, 0, 0, 0.55);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

html[data-theme="dark"] .dark-mode-toggle:focus,
html[data-theme="dark"] .dark-mode-toggle:focus-visible {
  outline: 2px solid #ffeb3b;
  outline-offset: 2px;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 15px 20px;
  background-color: #f9f9f9;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  color: #444;
}

.breadcrumbs a {
  color: #2e7d32;
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

/* Hero Section (Homepage) */
.hero-section {
  background-color: white;
  padding: 50px 20px;
  text-align: center;
  border-bottom: 3px solid #4CAF50;
}

.hero-headline {
  font-size: 36px;
  color: #333;
  margin-bottom: 10px;
  font-weight: bold;
}

.hero-headline-nowrap {
  white-space: nowrap;
}

.hero-subheadline {
  font-size: 18px;
  color: #444;
  margin-bottom: 20px;
}

.hero-cta-container {
  margin: 30px 0;
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Product Hero Section */
.product-hero {
  background-color: white;
  padding: 40px 20px;
  border-bottom: 3px solid #4CAF50;
}

.product-hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.product-image {
  text-align: center;
}

.product-image img {
  max-width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

.product-details h1 {
  font-size: 32px;
  color: #333;
  margin: 0 0 10px 0;
}

.product-tagline {
  font-size: 16px;
  color: #444;
  margin-bottom: 20px;
  line-height: 1.6;
}

.product-badge {
  display: inline-block;
  background-color: #2e7d32;
  color: white;
  padding: 6px 12px;
  border-radius: 3px;
  font-size: 12px;
  margin-bottom: 15px;
  font-weight: bold;
}

/* Badge color variants */
.product-badge--try-first {
  background-color: #c0392b;
}

.product-badge--savory {
  background-color: #a15c00;
}

.product-badge--price-drop {
  background-color: #e8f5e9;
  color: #2e7d32;
  margin-bottom: 10px;
  display: block;
}

.product-badge--variety {
  background-color: #145a8d;
}

.product-badge--zero-sugar {
  background-color: #7a5f0c;
}

.product-badge--seasonal {
  background-color: #c0392b;
}

.product-badge--limited {
  background-color: #a03216;
  margin-left: 5px;
}

.buy-now-link {
  color: #2e7d32;
  text-decoration: none;
  font-weight: bold;
}

.product-card-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 10px;
}

.quick-add-embed {
  display: inline-block;
}

.sample-box-cta {
  padding: 14px 35px;
  font-size: 16px;
}

.product-card--coming-soon {
  opacity: 0.8;
}

.coming-soon-note {
  color: #444;
  font-size: 13px;
  font-weight: bold;
}

.coming-soon-label {
  color: #444;
  text-decoration: none;
  font-weight: bold;
  margin-top: auto;
  padding-top: 10px;
}

.product-price {
  font-size: 28px;
  color: #2e7d32;
  font-weight: bold;
  margin: 15px 0;
}

.price-note {
  font-size: 14px;
  color: #444;
  margin-bottom: 20px;
}

.shipping-note {
  font-size: 13px;
  color: #666;
  margin: 10px 0;
}

.sample-box-callout {
  font-size: 14px;
  margin-top: 15px;
}

.trust-badges {
  display: flex;
  gap: 15px;
  margin: 20px 0;
  flex-wrap: wrap;
}

/* Homepage trust badges centering */
.hero-section .trust-badges {
  justify-content: center;
}

/* FAQ container centering */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.trust-badge {
  font-size: 13px;
  color: #444;
  display: flex;
  align-items: center;
  gap: 5px;
}

.trust-badge i {
  color: #2e7d32;
  font-size: 16px;
}

.shopify-container {
  margin: 30px 0;
}

/* Product Info Section */
.product-info-section {
  background-color: white;
  padding: 40px 20px;
}

.product-info-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.info-column h2 {
  font-size: 20px;
  color: #333;
  margin-bottom: 15px;
  font-weight: bold;
}

.info-column p {
  font-size: 14px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 10px;
}

.info-column ul {
  font-size: 14px;
  color: #444;
}

.info-column i {
  color: #2e7d32;
  margin-right: 10px;
}

.founder-story-link {
  text-align: center;
  margin-top: 10px;
}

.ingredient-highlight-box {
  background-color: #f9f9f9;
  border-left: 4px solid #2e7d32;
  padding: 12px;
  margin-bottom: 8px;
  border-radius: 3px;
}

.ingredient-highlight-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.ingredient-highlight-content {
  flex: 1;
}

.ingredient-name {
  margin: 0 0 8px 0;
  font-weight: bold;
  color: #2c3e50;
}

.ingredient-summary {
  margin: 0 0 8px 0;
  font-size: 12px;
  color: #444;
  line-height: 1.4;
}

.ingredient-full-list {
  margin: 0;
  font-size: 12px;
  color: #666;
}

.nutrition-panel-link {
  color: #2e7d32;
  text-decoration: none;
  font-size: 12px;
  white-space: nowrap;
  margin-top: 4px;
}

.allergen-warning {
  background-color: #fff3cd;
  border: 2px solid #ffc107;
  border-radius: 4px;
  padding: 12px;
  margin-top: 12px;
  font-size: 13px;
  color: #444;
}

.allergen-warning-label {
  color: #664d03;
}

.ingredients-list {
  font-size: 14px;
  color: #444;
  line-height: 1.8;
}

/* Why Choose Section */
.why-choose-section {
  background-color: #f9f9f9;
  padding: 40px 20px;
  border-top: 3px solid #4CAF50;
  border-bottom: 3px solid #4CAF50;
}

.why-choose-content {
  max-width: 1000px;
  margin: 0 auto;
}

.why-choose-title {
  font-size: 28px;
  color: #333;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.why-choose-cta-container {
  margin-top: 30px;
  text-align: center;
}

.why-choose-item {
  background: white;
  border-left: 4px solid #4CAF50;
  padding: 20px;
  border-radius: 4px;
}

.why-choose-item h3 {
  color: #333;
  margin-top: 0;
  font-size: 16px;
}

.why-choose-item p {
  color: #444;
  font-size: 14px;
  margin: 10px 0;
  line-height: 1.6;
}

/* FAQ Section */
.faq-section {
  background-color: white;
  padding: 40px 20px;
}

.faq-content {
  max-width: 800px;
  margin: 0 auto;
}

.faq-title {
  font-size: 28px;
  color: #333;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.faq-item {
  background: white;
  border-bottom: 1px solid #eee;
  padding: 15px 0;
  margin: 0;
}

.faq-question {
  background: none;
  border: none;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  padding: 5px 0;
  font-size: 16px;
  text-align: left;
  width: 100%;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::marker {
  content: "";
}

.faq-icon::before {
  content: "\f067"; /* fa-plus */
}

.faq-item[open] .faq-icon::before {
  content: "\f068"; /* fa-minus */
}

.faq-answer {
  padding: 10px 0;
  color: #444;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
}

/* Footer */
.footer {
  background-color: #333;
  color: white;
  padding: 40px 20px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-column h4 {
  font-size: 16px;
  margin-bottom: 15px;
  font-weight: bold;
  color: white;
}

.footer-column p {
  font-size: 14px;
  line-height: 1.8;
  margin: 10px 0;
}

.footer-column a {
  color: #4CAF50;
  text-decoration: none;
}

.footer-column a:hover {
  text-decoration: underline;
}

.footer-social {
  margin-top: 15px;
}

.footer-social a {
  display: inline-block;
  margin-right: 15px;
}

.footer-social img {
  width: 30px;
  height: 30px;
}

.footer-bottom {
  border-top: 1px solid #555;
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  color: #444;
}

.footer-trust {
  font-size: 13px;
  color: #ccc;
  margin-bottom: 10px;
}

/* Buttons */
.button {
  border: none;
  color: white;
  padding: 12px 24px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 4px;
}

.button-primary {
  background-color: #2e7d32;
  color: white;
  border: none;
  font-weight: bold;
}

.button-primary:hover {
  background-color: #1b5e20;
}

.button-secondary {
  background-color: #f0fff4;
  color: #2e7d32;
  border: 2px solid #2e7d32;
  font-weight: bold;
}

.button-secondary:hover {
  background-color: #e8f5e9;
}

/* Interactive element focus styles */
.button:focus,
.button:focus-visible,
a:focus,
a:focus-visible {
  outline: 2px solid #2e7d32;
  outline-offset: 2px;
}

/* Primary button focus override for contrast */
.button-primary:focus,
.button-primary:focus-visible {
  outline: 2px solid white;
  outline-offset: 2px;
}

/* FAQ button focus */
.faq-question:focus,
.faq-question:focus-visible {
  outline: 2px solid #2e7d32;
  outline-offset: 2px;
}

/* Dark mode toggle focus - uses class-based focus styles for consistency */

/* Social Proof Section (Homepage) */
.social-proof-section {
  background-color: white;
  padding: 40px 20px;
  text-align: center;
  border-top: 3px solid #4CAF50;
  border-bottom: 3px solid #4CAF50;
}

.social-proof-title {
  font-size: 24px;
  color: #333;
  margin-bottom: 20px;
  font-weight: bold;
}

.review-count {
  font-size: 18px;
  color: #444;
  margin-bottom: 20px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 20px auto;
}

.testimonial {
  background: #f5f5f5;
  border-left: 4px solid #4CAF50;
  padding: 20px;
  text-align: left;
  border-radius: 4px;
}

.testimonial-text {
  font-style: italic;
  color: #444;
  margin-bottom: 10px;
  line-height: 1.6;
}

.testimonial-author {
  color: #444;
  font-size: 14px;
}

/* Products Grid Section (Homepage) */
.products-section {
  background-color: white;
  padding: 40px 20px;
}

.products-title {
  font-size: 28px;
  color: #333;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background: white;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
}

.product-card h3 {
  font-size: 18px;
  color: #333;
  margin: 10px 0;
}

.product-card-price {
  font-size: 22px;
  color: #2e7d32;
  font-weight: bold;
  margin: 10px 0;
}

.price-per-unit {
  font-size: 13px;
  font-weight: normal;
  color: #666;
}

.product-card p {
  font-size: 14px;
  color: #444;
  margin: 10px 0;
}

/* Founder Story Section (Homepage) */
.story-section {
  background-color: #f9f9f9;
  padding: 40px 20px;
}

.story-title {
  font-size: 28px;
  color: #333;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.story-content {
  max-width: 800px;
  margin: 0 auto;
}

.story-content p {
  font-size: 15px;
  color: #444;
  margin: 15px 0;
  line-height: 1.8;
  text-align: justify;
}

.story-cta-container {
  max-width: 800px;
  margin: 30px auto 0;
  text-align: center;
}

/* Final CTA Section (Homepage) */
.final-cta-section {
  background-color: #2e7d32;
  color: white;
  padding: 50px 20px;
  text-align: center;
}

.final-cta-title {
  font-size: 32px;
  margin-bottom: 15px;
  font-weight: bold;
}

.final-cta-text {
  font-size: 18px;
  margin-bottom: 30px;
}

.final-cta-section .cta-button {
  background-color: white;
  color: #2e7d32;
}

.final-cta-section .cta-button:hover {
  background-color: #e8f5e9;
  color: #2e7d32;
}

/* Contact Section (Homepage) */
.contact-section {
  background-color: white;
  padding: 40px 20px;
  text-align: center;
}

.contact-title {
  font-size: 24px;
  color: #333;
  margin-bottom: 20px;
  font-weight: bold;
}

.contact-info {
  font-size: 15px;
  color: #444;
  margin: 10px 0;
}

.contact-info a {
  color: #2e7d32;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.social-links {
  margin-top: 20px;
}

.social-links a {
  margin: 0 10px;
}

.social-links img {
  width: 30px;
  height: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-headline {
    font-size: 28px;
  }

  .hero-subheadline {
    font-size: 16px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .product-hero-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-details h1 {
    font-size: 24px;
  }

  .product-image img {
    max-height: 300px;
  }

  .trust-badges {
    flex-direction: column;
    gap: 10px;
  }

  .hero-cta-container {
    flex-direction: column;
    align-items: stretch;
  }

  .product-info-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .why-choose-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
  }

  .navbar-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 20px;
    min-width: 180px;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 100;
    border-radius: 4px;
  }

  .navbar-links.is-open {
    display: flex;
  }

  .product-price {
    font-size: 24px;
  }

  .final-cta-title {
    font-size: 24px;
  }
}

/* Dark Mode and Light Mode CSS Variables and Rules */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f5f5f5;
  --bg-tertiary: #f0fff4;
  --text-primary: #333;
  --text-secondary: #444;
  --border-color: #555;
  --footer-bg: #2c3e50;
}

html[data-theme="dark"] {
  --bg-primary: #1a1a1a;
  --bg-secondary: #2d2d2d;
  --bg-tertiary: #1e3a2f;
  --text-primary: #e0e0e0;
  --text-secondary: #b0b0b0;
  --border-color: #444;
  --footer-bg: #0f1419;
}

body {
  transition: background-color 0.3s, color 0.3s;
}

/* Dark Mode Styles */
html[data-theme="dark"] {
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

html[data-theme="dark"] body {
  background-color: var(--bg-primary);
}

html[data-theme="dark"] .navbar {
  background-color: var(--footer-bg);
}

html[data-theme="dark"] .navbar-links {
  background-color: var(--footer-bg);
}

html[data-theme="dark"] .mobile-menu-toggle {
  color: var(--text-primary);
}

html[data-theme="dark"] .hero-section {
  background-color: var(--bg-primary);
}

html[data-theme="dark"] .trust-badge {
  color: var(--text-secondary);
}

html[data-theme="dark"] .trust-badge i {
  color: #66bb6a;
}

html[data-theme="dark"] .products-section {
  background-color: var(--bg-secondary);
}

html[data-theme="dark"] .social-proof-section {
  background-color: var(--bg-primary);
}

html[data-theme="dark"] .review-count {
  color: var(--text-secondary);
}

html[data-theme="dark"] .social-proof-title {
  color: var(--text-primary);
}

html[data-theme="dark"] .testimonial {
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
}

html[data-theme="dark"] .testimonial-text {
  color: var(--text-secondary);
}

html[data-theme="dark"] .testimonial-author {
  color: var(--text-primary);
}

html[data-theme="dark"] .product-card {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border-color: var(--border-color);
}

html[data-theme="dark"] .price-per-unit {
  color: var(--text-secondary);
}

html[data-theme="dark"] .product-card-price {
  color: #66bb6a;
}

html[data-theme="dark"] .buy-now-link {
  color: #66bb6a;
}

html[data-theme="dark"] .coming-soon-note,
html[data-theme="dark"] .coming-soon-label {
  color: var(--text-secondary);
}

html[data-theme="dark"] .story-section {
  background-color: var(--bg-secondary);
}

html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] h5,
html[data-theme="dark"] h6 {
  color: var(--text-primary);
}

html[data-theme="dark"] p {
  color: var(--text-secondary);
}

html[data-theme="dark"] .footer {
  background-color: var(--footer-bg);
}

html[data-theme="dark"] .faq-item {
  background-color: var(--bg-secondary);
  border-bottom-color: var(--border-color);
}

html[data-theme="dark"] .faq-question {
  color: var(--text-primary);
}

html[data-theme="dark"] .faq-question:focus,
html[data-theme="dark"] .faq-question:focus-visible {
  outline: 2px solid #ffeb3b;
  outline-offset: 2px;
}

html[data-theme="dark"] .faq-question i {
  color: var(--text-primary);
}

html[data-theme="dark"] .faq-answer {
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
}

html[data-theme="dark"] .faq-section {
  background-color: var(--bg-primary);
}

html[data-theme="dark"] .faq-container {
  background-color: var(--bg-primary);
}

html[data-theme="dark"] .faq-title {
  color: var(--text-primary);
}

html[data-theme="dark"] .final-cta-section {
  background-color: #2e7d32;
}

html[data-theme="dark"] .final-cta-title,
html[data-theme="dark"] .final-cta-text {
  color: white;
}

html[data-theme="dark"] .contact-section {
  background-color: var(--bg-primary);
}

html[data-theme="dark"] .contact-info {
  color: var(--text-secondary);
}

html[data-theme="dark"] .contact-info a {
  color: #66bb6a;
}

/* Dark mode for inline-styled sections */
html[data-theme="dark"] .start-here-section h2,
html[data-theme="dark"] .start-here-section h3 {
  color: var(--text-primary);
}

html[data-theme="dark"] .start-here-section p {
  color: var(--text-secondary);
}

/* New CSS Classes for Inline Style Replacements */
.start-here-section {
  background-color: #f0fff4;
  padding: 60px 20px;
  text-align: center;
  border-top: 3px solid #4CAF50;
}

.start-here-container {
  max-width: 600px;
  margin: 0 auto;
}

.start-here-title {
  font-size: 28px;
  color: #2e7d32;
  margin-bottom: 15px;
  font-weight: bold;
}

.start-here-description {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
}

.sample-box-container {
  background-color: white;
  border: 2px solid #4CAF50;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.sample-box-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 15px;
}

.sample-box-title {
  font-size: 20px;
  color: #333;
  margin-bottom: 10px;
}

.sample-box-description {
  color: #444;
  margin-bottom: 15px;
}

.view-products-button {
  padding: 12px 30px;
  font-size: 14px;
  background-color: #f0fff4;
  color: #2e7d32;
  border: 2px solid #2e7d32;
  cursor: pointer;
  text-decoration: none;
}

.view-products-button:hover {
  background-color: #e8f5e9;
}

.benefits-section {
  background-color: #f5f5f5;
  padding: 60px 20px;
  text-align: center;
}

.benefits-container {
  max-width: 1000px;
  margin: 0 auto;
}

.benefits-cta-container {
  margin-top: 30px;
  text-align: center;
}

.benefits-title {
  font-size: 32px;
  color: #333;
  margin-bottom: 40px;
  font-weight: bold;
}

.section-intro {
  font-size: 16px;
  color: #444;
  max-width: 700px;
  margin: 0 auto 30px;
  text-align: center;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.benefit-image {
  max-width: 100px;
  height: auto;
  margin: 0 auto 15px;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.benefit-item-title {
  font-size: 18px;
  color: #333;
  margin-bottom: 10px;
  font-weight: bold;
}

.benefit-item-description {
  color: #444;
  font-size: 14px;
  line-height: 1.6;
}

/* Dark Mode for New Classes */
html[data-theme="dark"] .start-here-section {
  background-color: var(--bg-tertiary);
  border-top-color: #4CAF50;
}

html[data-theme="dark"] .start-here-title {
  color: #4CAF50;
}

html[data-theme="dark"] .start-here-description {
  color: var(--text-secondary);
}

html[data-theme="dark"] .sample-box-container {
  background-color: var(--bg-secondary);
  border-color: #4CAF50;
}

html[data-theme="dark"] .sample-box-title {
  color: var(--text-primary);
}

html[data-theme="dark"] .sample-box-description {
  color: var(--text-secondary);
}

html[data-theme="dark"] .benefits-section {
  background-color: var(--bg-primary);
}

html[data-theme="dark"] .benefits-title {
  color: var(--text-primary);
}

html[data-theme="dark"] .benefit-item-title {
  color: var(--text-primary);
}

html[data-theme="dark"] .benefit-item-description {
  color: var(--text-secondary);
}

/* Product Card Image Styling */
.product-card-image {
  width: 100%;
  height: 150px;
  object-fit: contain;
  padding: 10px;
  background-color: #f9f9f9;
  border-radius: 4px;
  margin-bottom: 10px;
}

html[data-theme="dark"] .product-card-image {
  background-color: var(--bg-tertiary);
}

html[data-theme="dark"] .product-image img {
  background-color: var(--bg-tertiary);
}

/* Dark mode for individual product pages */
html[data-theme="dark"] .product-hero {
  background-color: var(--bg-primary);
}

html[data-theme="dark"] .product-info-section {
  background-color: var(--bg-primary);
}

html[data-theme="dark"] .product-price {
  color: #66bb6a;
}

html[data-theme="dark"] .info-column ul {
  color: var(--text-secondary);
}

html[data-theme="dark"] .info-column i {
  color: #66bb6a;
}

html[data-theme="dark"] .ingredient-highlight-box {
  background-color: var(--bg-secondary);
}

html[data-theme="dark"] .ingredient-name {
  color: var(--text-primary);
}

html[data-theme="dark"] .nutrition-panel-link {
  color: #66bb6a;
}

html[data-theme="dark"] .allergen-warning {
  background-color: #4a3f1a;
  border-color: #8a6d1a;
  color: var(--text-secondary);
}

html[data-theme="dark"] .allergen-warning-label {
  color: #e0c168;
}

html[data-theme="dark"] .why-choose-section {
  background-color: var(--bg-secondary);
}

html[data-theme="dark"] .why-choose-item {
  background-color: var(--bg-primary);
  border-left-color: var(--border-color);
}

html[data-theme="dark"] .breadcrumbs {
  background-color: var(--bg-secondary);
  border-bottom-color: var(--border-color);
  color: var(--text-secondary);
}

html[data-theme="dark"] .breadcrumbs a {
  color: #66bb6a;
}

/* Social Icon Link Styling */
.social-icon-link {
  text-decoration: none;
}

.social-icon-link img {
  width: 30px;
  height: 30px;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.social-icon-link:hover img,
.social-icon-link:focus img {
  opacity: 1;
}

/* Footer Logo */
.footer-logo {
  width: 140px;
  height: auto;
  margin-bottom: 15px;
}

/* Footer Text Styles */
.footer-tagline {
  color: #bbb;
  font-size: 14px;
  margin: 10px 0;
}

.footer-location-info {
  color: #888;
  font-size: 12px;
  margin: 15px 0;
}

.footer-section-title {
  color: white;
  font-size: 14px;
  margin-bottom: 15px;
  font-weight: bold;
}

.footer-contact-icon {
  color: #4CAF50;
  margin-right: 10px;
}

.footer-contact-address {
  color: #bbb;
}

.footer-link {
  color: #bbb;
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
  color: #ddd;
}

.footer-icon {
  color: #4CAF50;
  margin-right: 8px;
}

.footer-promise-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #bbb;
  font-size: 13px;
  line-height: 1.8;
}

.footer-promise-list li {
  margin-bottom: 8px;
}

.footer-payment-icons {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 15px;
  font-size: 28px;
  color: #bbb;
}

.footer-secure-text {
  font-size: 13px;
  color: #bbb;
  margin-left: 4px;
  vertical-align: middle;
}

.footer-copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #555;
  color: #666;
  font-size: 12px;
}

/* Footer structural classes */
.footer-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-top {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #555;
}

.footer-middle {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-column-item {
  margin-bottom: 10px;
}

.footer-social-container {
  display: flex;
  gap: 15px;
}

/* Hero Section Image */
.hero-image {
  margin-top: 40px;
  max-width: 300px;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* CTA Button */
.cta-button {
  padding: 16px 40px;
  font-size: 16px;
}

/* Sticky Add to Cart Bar (individual product pages) */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
  padding: 12px 20px;
  z-index: 90;
  visibility: hidden;
  transform: translateY(100%);
  transition: transform 0.3s ease, visibility 0.3s ease;
  box-sizing: border-box;
}

.sticky-cta.is-visible {
  visibility: visible;
  transform: translateY(0);
}

.sticky-cta-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.sticky-cta-info {
  font-size: 15px;
  color: #333;
}

.sticky-cta-button {
  margin: 0;
}

html[data-theme="dark"] .sticky-cta {
  background-color: var(--bg-secondary);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .sticky-cta-info {
  color: var(--text-primary);
}

/* Nutrition at a Glance summary */
.nutrition-summary {
  margin-top: 0;
  margin-bottom: 20px;
}

.nutrition-summary-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-weight: bold;
  color: #333;
  font-size: 14px;
  padding: 4px 0;
  cursor: pointer;
  list-style: none;
}

.nutrition-summary-title::-webkit-details-marker {
  display: none;
}

.nutrition-summary-title::marker {
  content: "";
}

.nutrition-summary-title:focus,
.nutrition-summary-title:focus-visible {
  outline: 2px solid #2e7d32;
  outline-offset: 2px;
}

.nutrition-summary-icon::before {
  content: "\f067"; /* fa-plus */
  font-size: 12px;
  color: #666;
}

.nutrition-summary[open] .nutrition-summary-icon::before {
  content: "\f068"; /* fa-minus */
}

.nutrition-summary-note {
  font-weight: normal;
  font-size: 12px;
  color: #666;
}

.nutrition-summary-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 16px;
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

html[data-theme="dark"] .nutrition-summary-title {
  color: var(--text-primary);
}

html[data-theme="dark"] .nutrition-summary-title:focus,
html[data-theme="dark"] .nutrition-summary-title:focus-visible {
  outline: 2px solid #ffeb3b;
  outline-offset: 2px;
}

html[data-theme="dark"] .nutrition-summary-icon::before {
  color: var(--text-secondary);
}

html[data-theme="dark"] .nutrition-summary-note {
  color: var(--text-secondary);
}
