:root {
  --bg-main: #FAFAF7; /* Warm white */
  --text-main: #2D3748; /* Charcoal */
  --text-light: #4A5568; 
  --accent-primary: #C39B77; /* Soft clay / sand */
  --accent-secondary: #8B9FA3; /* Dusty blue / muted teal */
  --accent-light: #E2E8F0;
  --accent-terracotta: #D38C7D; /* Subtle terracotta */
  --white: #FFFFFF;
  
  --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
  
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 12px;
  
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p { margin-bottom: 1.2rem; font-size: 1.1rem; color: var(--text-light); }

a { text-decoration: none; color: inherit; }

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

@keyframes pulse-badge {
  0% { box-shadow: 0 0 0 0 rgba(211, 140, 125, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(211, 140, 125, 0); }
  100% { box-shadow: 0 0 0 0 rgba(211, 140, 125, 0); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Common Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 6rem 0;
  position: relative;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--accent-primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(195, 155, 119, 0.4);
}

.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(195, 155, 119, 0.5);
  background-color: #b58d69;
}

.btn-secondary {
  background-color: transparent;
  color: var(--accent-secondary);
  border: 2px solid var(--accent-secondary);
}

.btn-secondary:hover {
  background-color: var(--accent-secondary);
  color: var(--white);
  transform: translateY(-4px);
}

.btn-large {
  width: 100%;
  padding: 20px;
  font-size: 1.25rem;
}

/* 1. TOP DISCLAIMER / PROMOTIONAL BAR */
.top-bar {
  background-color: var(--accent-terracotta);
  color: var(--white);
  text-align: center;
  padding: 12px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  position: relative;
  z-index: 100;
}

/* 2. HERO SECTION */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at right center, #F0EFE9 0%, var(--bg-main) 100%);
  padding-top: 2rem;
  overflow: hidden;
}

.hero-content {
  flex: 1;
  padding-right: 2rem;
  animation: fadeInUp 1s ease-out;
}

.hero-visual {
  flex: 1;
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.hero-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  max-width: 90%;
  margin: 0 auto;
}

@media(max-width: 991px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 4rem;
  }
  .hero-content {
    padding-right: 0;
    margin-bottom: 3rem;
  }
  .hero-visual img {
    margin: 0 auto;
  }
}

.trust-badges {
  display: flex;
  gap: 15px;
  margin-top: 2rem;
  align-items: center;
}

@media(max-width: 991px) {
  .trust-badges { justify-content: center; flex-wrap: wrap; }
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-light);
  background: var(--white);
  padding: 8px 16px;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.trust-badge svg {
  color: var(--accent-secondary);
  width: 20px;
  height: 20px;
}

/* Sections & Cards */
.bg-white-rounded {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 4rem;
  margin: 2rem 0;
}

@media(max-width: 768px) {
  .bg-white-rounded { padding: 2rem 1.5rem; }
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media(max-width: 991px) {
  .grid-2 { grid-template-columns: 1fr; gap: 2rem;}
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-main);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.02);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  background: var(--white);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(195, 155, 119, 0.1);
  color: var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-icon svg { width: 30px; height: 30px; }

/* Product Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 1rem;
}

.gallery-main {
  grid-column: 1 / -1;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.gallery-main img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.gallery-thumb {
  cursor: pointer;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  transition: var(--transition);
}

.gallery-thumb img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.gallery-thumb.active { border-color: var(--accent-primary); opacity: 0.8; }
.gallery-thumb:hover { opacity: 0.8; }

/* Shopify Order Section */
.order-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  background: var(--white);
  padding: 4rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  margin-top: 4rem;
}

@media(max-width: 991px) {
  .order-section { grid-template-columns: 1fr; padding: 2rem; }
}

.price-block {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.price-new { font-size: 2.5rem; font-weight: 700; color: var(--accent-terracotta); }
.price-old { font-size: 1.25rem; text-decoration: line-through; color: var(--text-light); }
.promo-badge {
  background: var(--accent-terracotta);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  animation: pulse-badge 2s infinite;
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--accent-light);
  border-radius: 50px;
  width: fit-content;
  margin-bottom: 1.5rem;
  background: var(--white);
}

.qty-btn {
  background: none;
  border: none;
  padding: 10px 20px;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-main);
  transition: var(--transition);
}
.qty-btn:hover { background-color: var(--bg-main); }
.qty-input {
  width: 40px;
  text-align: center;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
}
.qty-input:focus { outline: none; }

/* Form Fields */
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; margin-bottom: 0.5rem; font-weight: 600; font-size: 0.95rem; }
.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--accent-light);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background-color: var(--bg-main);
}
.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(195, 155, 119, 0.2);
  background-color: var(--white);
}
textarea.form-control { resize: vertical; min-height: 100px; }

/* FAQ Accordion */
.faq-item {
  border-bottom: 1px solid var(--accent-light);
  padding: 1.5rem 0;
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
  padding: 0;
}
.faq-icon {
  transition: transform 0.3s ease;
  color: var(--accent-primary);
}
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: var(--text-light);
}
.faq-answer p { margin-top: 1rem; margin-bottom: 0; }

/* Reviews Slider */
.reviews-wrapper {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding: 1rem 0 2rem 0;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}
.reviews-wrapper::-webkit-scrollbar { display: none; } /* Chrome/Safari */

.review-card {
  min-width: 300px;
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  flex-shrink: 0;
  border: 1px solid rgba(0,0,0,0.03);
}

.stars { color: #f59e0b; margin-bottom: 1rem; }
.review-author { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.author-avatar {
  width: 40px; height: 40px;
  background: var(--accent-secondary);
  color: white; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; font-weight: bold;
}

/* Product Accodion */
.product-accordion { margin-top: 2rem; }
.product-accordion-item {
  border-bottom: 1px solid var(--accent-light);
}
.product-accordion-btn {
  width: 100%; padding: 15px 0; display: flex; justify-content: space-between;
  background: none; border: none; font-weight: 600; cursor: pointer; color: var(--text-main); font-size: 1rem;
}
.product-accordion-content {
  max-height: 0; overflow: hidden; transition: 0.3s;
}
.product-accordion-content p { font-size: 0.95rem; margin-bottom: 15px; }

/* Disclaimer Blocks */
.disclaimer-block {
  background-color: rgba(211, 140, 125, 0.05);
  border-left: 4px solid var(--accent-terracotta);
  padding: 15px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Callouts */
.floating-blob {
  position: absolute;
  filter: blur(80px);
  z-index: -1;
  border-radius: 50%;
  opacity: 0.5;
}

.blob-1 {
  width: 400px; height: 400px;
  background: rgba(195, 155, 119, 0.2);
  top: 10%; right: -100px;
}
.blob-2 {
  width: 500px; height: 500px;
  background: rgba(139, 159, 163, 0.2);
  bottom: 0; left: -200px;
}

/* Footer */
footer {
  background-color: var(--text-main);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem 0;
  text-align: center;
}
footer a { color: rgba(255,255,255,0.9); transition: color 0.3s; margin: 0 10px; font-size: 0.9rem;}
footer a:hover { color: var(--accent-primary); }
footer .legal-links { margin-bottom: 2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.footer-disclaimer { font-size: 0.8rem; opacity: 0.6; max-width: 800px; margin: 0 auto; text-align: justify; }

/* Utility Classes */
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.pt-4 { padding-top: 2rem; }
.pb-4 { padding-bottom: 2rem; }
.color-primary { color: var(--accent-primary); }
.color-secondary { color: var(--accent-secondary); }

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 2rem;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.comparison-table th, .comparison-table td {
  padding: 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--accent-light);
}
.comparison-table th:first-child, .comparison-table td:first-child {
  text-align: left;
  font-weight: 600;
}
.comparison-table th { background: var(--bg-main); font-weight: 700; color: var(--text-main); }
.comparison-table .highlight-col {
  background: rgba(195, 155, 119, 0.05);
  position: relative;
}
/* Ensure the last row has no border */
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table .check-icon { color: var(--accent-secondary); width: 24px; height: 24px; }
.comparison-table .cross-icon { color: #e53e3e; width: 24px; height: 24px; opacity: 0.5; }

/* Checkout Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--white);
  padding: 15px;
  box-shadow: 0 -10px 20px rgba(0,0,0,0.05);
  display: flex;
  justify-content: center;
  gap: 15px;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.sticky-cta.visible { transform: translateY(0); }
@media(min-width: 992px) { .sticky-cta { display: none; } }

/* Fruit Metaphor Animations */
.fruit-metaphor {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    border-radius: var(--radius-md);
    overflow: hidden;
}
.grid-3 > .fruit-metaphor { margin-bottom: 1rem; }
.fruit-metaphor:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 15px 30px rgba(211, 140, 125, 0.4);
}
.caption-metaphor {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 10px;
    text-align: center;
    padding: 0 10px;
}
.shimmer-bg {
    position: relative;
    overflow: hidden;
}
.shimmer-bg::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(30deg);
    animation: shimmer 3s infinite linear;
    pointer-events: none;
}
@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(30deg); }
    100% { transform: translateX(100%) rotate(30deg); }
}
