:root {
  color-scheme: light;
}

body {
  letter-spacing: 0.01em;
}

/* Hero blend */
.hero-blend {
  background: #ffffff;
  position: relative;
}

.hero-blend::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #F1F3DE);
  pointer-events: none;
}

/* Header hamburger + offcanvas */
.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  border: none;
  background: transparent;
  padding: 6px;
}

.menu-toggle span {
  width: 26px;
  height: 2px;
  background: #1a1a1a;
  display: block;
}

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: transparent;
  font-size: 14px;
}

.cart-count {
  background: #3d2974;
  color: #fff;
  border-radius: 999px;
  font-size: 10px;
  padding: 2px 6px;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 40;
}

.offcanvas {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: min(320px, 85vw);
  background: #fff;
  z-index: 50;
  padding: 32px 24px;
  box-shadow: 20px 0 40px rgba(0, 0, 0, 0.12);
}

.offcanvas-nav a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 13px;
  color: #2a2a2a;
}

summary {
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

details[open] summary {
  color: #2A7B5F;
}

/* Ingredients section (Seed-style) */
.ingredients-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(120deg, rgba(20, 30, 24, 0.6), rgba(20, 30, 24, 0.15)), url("images/ingredients-bg.jpg") center/cover no-repeat;
  min-height: 420px;
}

.ingredients-hero {
  position: relative;
  padding: 48px;
  max-width: 720px;
}

.ingredients-panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 28px 32px 36px;
  margin: 0 24px 24px;
  background: rgba(20, 20, 20, 0.45);
  backdrop-filter: blur(8px);
  border-radius: 24px;
  color: #fff;
}

.ingredients-panel h3 {
  margin-top: 8px;
  font-weight: 600;
  font-size: 14px;
}

.ingredients-panel p {
  margin-top: 6px;
  font-size: 13px;
  opacity: 0.8;
}

.text-sand {background: #3a5a2b !important; }

@media (max-width: 900px) {
  .ingredients-hero {
    padding: 36px 28px 12px;
  }

  .ingredients-panel {
    grid-template-columns: 1fr;
    margin: 0 16px 20px;
  }
}

.gummy-3d {
  width: 180px;
  height: auto;
  transform: rotate(-8deg);
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.3));
}

/* Hero pack cards */
.pack-card {
  position: relative;
  border-radius: 18px;
  border: 2px solid rgba(10, 20, 16, 0.15);
  background: #f7f4ee;
  padding: 16px 12px;
  text-align: center;
  display: grid;
  gap: 8px;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.pack-card.is-selected {
  border-color: #2a7b5f;
  background: #eef5f0;
  box-shadow: 0 10px 24px rgba(42, 123, 95, 0.12);
}

.pack-card:hover {
  transform: translateY(-2px);
  border-color: rgba(42, 123, 95, 0.6);
}


.pack-pill {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #2a7b5f;
  color: #f1f3de;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.pack-days {
  font-size: 16px;
  font-weight: 700;
}

.pack-price {
  font-size: 20px;
  font-weight: 700;
}

.pack-save {
  margin-top: 4px;
  background: #3a5a2b;
  color: #f1f3de;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
}

@media (max-width: 640px) {
  .pack-card {
    padding: 12px 8px;
    border-radius: 14px;
  }

  .pack-days {
    font-size: 14px;
  }

  .pack-price {
    font-size: 16px;
  }

  .pack-pill {
    top: -10px;
    font-size: 9px;
    letter-spacing: 0.14em;
    padding: 4px 10px;
  }

  .pack-save {
    font-size: 9px;
    padding: 5px 8px;
  }
}

/* Horizontal ingredient cards */
.ingredients-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1.5px solid rgba(47, 59, 34, 0.2);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  color: #2f3b22;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;
}

.carousel-arrow:hover {
  background: #2f3b22;
  color: #f1f3de;
  border-color: #2f3b22;
  box-shadow: 0 6px 24px rgba(47, 59, 34, 0.25);
  transform: translateY(-50%) scale(1.08);
}

.carousel-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

.carousel-arrow--left {
  left: -22px;
}

.carousel-arrow--right {
  right: -22px;
}

@media (max-width: 768px) {
  .carousel-arrow {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .carousel-arrow--left {
    left: -6px;
  }

  .carousel-arrow--right {
    right: -6px;
  }
}

.ingredients-scroll {
  overflow-x: hidden;
  overflow-y: visible;
  width: 100%;
  position: relative;
  padding: 50px 0;
  margin: -50px 0;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.ingredients-scroll::-webkit-scrollbar {
  height: 6px;
}

.ingredients-scroll::-webkit-scrollbar-thumb {
  background: rgba(47, 59, 34, 0.35);
  border-radius: 999px;
}

.ingredient-card {
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #1b1f17;
  min-width: 280px;
  max-width: 320px;
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  cursor: pointer;
}

.ingredient-card:hover,
.ingredient-card.is-active {
  transform: translateY(-24px) scale(1.1);
  background: linear-gradient(145deg, #2f3b22, #4a6336);
  border-color: rgba(184, 214, 105, 0.35);
  box-shadow: 0 28px 56px rgba(47, 59, 34, 0.35), 0 12px 24px rgba(0, 0, 0, 0.12);
  z-index: 20;
  color: #f1f3de;
}

@media (max-width: 768px) {
  .ingredient-card.is-active {
    transform: translateY(-30px) scale(1.15);
    z-index: 30;
  }
}

.ingredient-card:hover h3,
.ingredient-card.is-active h3 {
  color: #fff;
}

.ingredient-card:hover p,
.ingredient-card.is-active p {
  color: rgba(241, 243, 222, 0.85);
}

.ingredient-card:hover .pill,
.ingredient-card.is-active .pill {
  background: rgba(255, 255, 255, 0.2);
  color: #f1f3de;
}

.ingredient-card:hover .label,
.ingredient-card.is-active .label {
  color: rgba(184, 214, 105, 0.9);
}

.ingredient-card:hover .ingredient-img,
.ingredient-card.is-active .ingredient-img {
  filter: grayscale(0) contrast(1.05) brightness(1.1);
  transform: scale(1.08);
}

.ingredient-card .pill {
  align-self: flex-start;
  background: #cfe3a8;
  color: #2f3b22;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 6px 10px;
  border-radius: 999px;
  transition: all 0.4s ease;
}

.ingredient-card h3 {
  font-weight: 700;
  font-size: 18px;
  transition: color 0.4s ease;
}

.ingredient-card p {
  font-size: 13px;
  color: #3a4334;
  transition: color 0.4s ease;
}

.ingredient-card .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #6d7765;
  transition: color 0.4s ease;
}

.ingredient-img {
  width: 100%;
  max-width: 180px;
  align-self: center;
  filter: grayscale(1) contrast(1.2);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 12px;
}

/* Auto-scrolling ingredients — JS-driven */
.ingredients-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  will-change: transform;
}

/* Comparison section */
.comparison-section {
  background: radial-gradient(circle at 20% 10%, #4c6a3f, #2f3f25 55%, #223019 100%);
}

.comparison-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(0, 0, 0, 0.25), transparent 55%),
    radial-gradient(circle at 50% 90%, rgba(0, 0, 0, 0.35), transparent 60%);
  pointer-events: none;
}

.comparison-section {
  position: relative;
}

.comparison-wrap {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 32px;
  padding: 36px;
  color: #f6f7f1;
  position: relative;
  overflow: hidden;
}

.comparison-wrap::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.12), transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.08), transparent 45%),
    radial-gradient(circle at 30% 80%, rgba(255, 255, 255, 0.06), transparent 50%);
  filter: blur(30px);
}

.comparison-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
}

.comparison-table {
  background: rgba(20, 28, 16, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 24px;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

.comparison-table .row {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.6fr 0.8fr;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-table .row.header {
  border-top: none;
  padding-top: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.7);
}

.comparison-table .tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.comparison-table .dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  justify-self: center;
}

.comparison-table .dot.on {
  background: #f6f7f1;
  border-color: #f6f7f1;
}

.comparison-table .dot.off {
  background: transparent;
}

@media (max-width: 900px) {
  .comparison-wrap {
    padding: 24px 20px;
    overflow-x: auto;
  }

  .comparison-table {
    min-width: 550px;
  }

  .comparison-table .row {
    grid-template-columns: 1.4fr 0.6fr 0.6fr 0.8fr;
    font-size: 13px;
  }
}

/* Footer */
.footer-dark {
  background: #1f3a18;
  color: #fff;
}

.footer-dark a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-dark a:hover {
  color: #fff;
}

.footer-logo {
  filter: brightness(0) invert(1);
}

/* Closing banner with dissolve effect */
.closing-banner {
  background: radial-gradient(circle at 20% 20%, #3a5a2b, #223019 70%);
}

.closing-logo {
  height: 90px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 1) 60%, rgba(255, 255, 255, 0) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' seed='3'/%3E%3C/filter%3E%3Crect width='200' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%, 200% 200%;
  -webkit-mask-blend-mode: screen;
  mask-image: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 1) 60%, rgba(255, 255, 255, 0) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' seed='3'/%3E%3C/filter%3E%3Crect width='200' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
  mask-size: 100% 100%, 200% 200%;
  mask-blend-mode: screen;
}

/* FAQ Accordion Animations */
details[open] summary~* {
  animation: sweep 0.3s ease-in-out;
}

@keyframes sweep {
  0% {
    opacity: 0;
    transform: translateY(-6px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Icon rotation and color change */
details[open] .faq-icon-wrapper {
  background-color: #2f3b22;
  color: #fff;
  transform: rotate(45deg);
}

.hero-main-image{
  width:100%;
  aspect-ratio:4/3;
  overflow:hidden;
  border-radius:32px;
  background:#f5f5f5;
}

/* Gallery Scroll */
.gallery-scroll{
  display:flex;
  gap:14px;
  overflow-x:auto;
  padding-bottom:6px;
  scrollbar-width:none;
}

.gallery-scroll::-webkit-scrollbar{
  display:none;
}

/* Thumbnail */
.gallery-thumb{
  min-width:110px;
  width:110px;
  aspect-ratio:1/1;
  border-radius:22px;
  overflow:hidden;
  border:2px solid transparent;
  transition:0.3s ease;
  flex-shrink:0;
  background:#fff;
}

.gallery-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.gallery-thumb.active{
  border-color:#3a5a2b;
}

/* Mobile Scroll Better */
@media(max-width:768px){

  .gallery-scroll{
    gap:10px;
    padding-left:2px;
  }

  .gallery-thumb{
    min-width:85px;
    width:85px;
    border-radius:18px;
  }

  .hero-main-image{
    border-radius:24px;
  }
}