/* Store page — IntelliSync product store */
.store {
  min-height: 100vh;
  background: var(--bg);
  padding-bottom: 80px;
}
.store__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 32px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

/* Product visual */
.store__product-img {
  position: sticky;
  top: 100px;
  background: var(--accent);
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  color: white;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.store__product-img img {
  max-width: 100%;
  border-radius: 12px;
  max-height: 240px;
  object-fit: contain;
  display: none; /* hidden until real image uploaded */
}
.store__product-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: rgba(200, 245, 66, 0.15);
  border: 1px solid rgba(200, 245, 66, 0.3);
  border-radius: 20px;
  padding: 6px 16px;
  color: #c8f542;
}

/* Product info */
.store__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.store__title {
  font-family: 'Fraunces', serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.05;
  color: var(--fg);
  margin-bottom: 8px;
}
.store__tagline {
  font-size: 16px;
  color: var(--fg-muted);
  margin-bottom: 32px;
}
.store__price-block {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 28px;
  padding: 20px 24px;
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: 14px;
}
.store__price {
  font-family: 'Fraunces', serif;
  font-size: 52px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -2px;
}
.store__price-period {
  font-size: 28px;
  font-weight: 400;
  color: var(--fg-muted);
}
.store__price-label {
  font-size: 14px;
  color: var(--fg-muted);
  margin-left: 8px;
  padding: 4px 12px;
  background: rgba(29, 92, 62, 0.08);
  border-radius: 12px;
  font-weight: 500;
}
.store__description {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* Benefits */
.store__benefits {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}
.store__benefit {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: var(--fg);
  line-height: 1.4;
}
.store__benefit strong { font-weight: 600; }
.store__benefit-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--accent);
}
.store__benefit-icon svg { width: 100%; height: 100%; }

/* Buy button */
.btn-signup--store {
  width: 100%;
  padding: 18px 32px;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

/* Guarantee row */
.store__guarantee {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--fg-muted);
  margin-bottom: 40px;
}

/* Ingredients */
.store__ingredients {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 28px;
  margin-bottom: 28px;
}
.store__ingredients-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 16px;
}
.store__ingredient-list { display: flex; flex-direction: column; gap: 0; }
.store__ingredient {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 2px 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.store__ingredient:last-child { border-bottom: none; padding-bottom: 0; }
.store__ingredient-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--fg);
}
.store__ingredient-dose {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-align: right;
}
.store__ingredient-role {
  font-size: 12px;
  color: var(--fg-muted);
  grid-column: 1;
}

/* Certifications */
.store__certs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.store__certs span {
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-muted);
  padding: 5px 14px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
}

/* FAQ link */
.store__faq-link {
  text-align: center;
  font-size: 13px;
  color: var(--fg-muted);
  margin-bottom: 32px;
}
.store__faq-link a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}
.store__faq-link a:hover { text-decoration: underline; }

/* ===== Pathways ===== */
.pathways {
  margin-top: 64px;
  padding: 64px 0;
  border-top: 1px solid var(--border);
}
.pathways__header { margin-bottom: 40px; }
.pathways__headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--fg);
  margin-bottom: 12px;
}
.pathways__sub {
  font-size: 16px;
  color: var(--fg-muted);
  max-width: 500px;
  line-height: 1.6;
}
.pathways__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.pathway-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 18px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pathway-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.07);
}
.pathway-card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
}
.pathway-card__icon svg { width: 100%; height: 100%; }
.pathway-card__step {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 8px;
}
.pathway-card__name {
  font-family: 'Fraunces', serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}
.pathway-card__mechanism {
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}
.pathway-card__ingredient {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(29, 92, 62, 0.08);
  border: 1px solid rgba(29, 92, 62, 0.2);
  border-radius: 20px;
  padding: 3px 10px;
  margin-bottom: 10px;
}
.pathway-card__cite {
  font-size: 11px;
  color: var(--fg-muted);
  font-style: italic;
  line-height: 1.4;
}

/* ===== Ingredient Panel ===== */
.ingredient-panel {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}
.ingredient-panel__headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--fg);
  margin-bottom: 8px;
}
.ingredient-panel__sub {
  font-size: 14px;
  color: var(--fg-muted);
  margin-bottom: 32px;
}
.ingredient-panel__table {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
}
.ingredient-panel__row {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 0.8fr 2.2fr;
  gap: 0;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.ingredient-panel__row:last-child { border-bottom: none; }
.ingredient-panel__row--header {
  background: var(--fg);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.ingredient-panel__row--header span { color: rgba(255,255,255,0.7); }
.ingredient-panel__name { font-weight: 600; font-size: 14px; color: var(--fg); }
.ingredient-panel__form { font-size: 13px; color: var(--fg-muted); }
.ingredient-panel__dose { font-size: 14px; font-weight: 600; color: var(--accent); }
.ingredient-panel__role { font-size: 12px; color: var(--fg-muted); line-height: 1.5; }
.ingredient-panel__trust {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.ingredient-panel__trust span {
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-muted);
  padding: 5px 14px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
}
.ingredient-panel__note {
  font-size: 11px;
  color: var(--fg-muted);
  font-style: italic;
}

/* ===== FAQ ===== */
.faq {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}
.faq__headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--fg);
  margin-bottom: 32px;
}
.faq__list { display: flex; flex-direction: column; gap: 0; }
.faq__item {
  border-bottom: 1px solid var(--border);
}
.faq__item:last-child { border-bottom: none; }
.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  transition: color 0.15s;
}
.faq__question:hover { color: var(--accent); }
.faq__chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--fg-muted);
  transition: transform 0.2s, color 0.2s;
}
.faq__question[aria-expanded="true"] .faq__chevron { transform: rotate(180deg); color: var(--accent); }
.faq__answer {
  display: none;
  padding-bottom: 20px;
}
.faq__item--open .faq__answer { display: block; }
.faq__answer p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
}
.store__back-link {
  margin-top: 8px;
}
.store__back-link a {
  font-size: 14px;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.store__back-link a:hover { color: var(--accent); }

/* ===== Trust Strip ===== */
.store__trust-strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.store__trust-strip span {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  background: rgba(29, 92, 62, 0.06);
  border: 1px solid rgba(29, 92, 62, 0.18);
  border-radius: 20px;
  padding: 5px 14px;
}

/* ===== How to Take It ===== */
.how-to-take {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}
.how-to-take__headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--fg);
  margin-bottom: 32px;
}
.how-to-take__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 20px;
  align-items: start;
}
.how-to-take__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
}
.how-to-take__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
}
.how-to-take__icon svg { width: 100%; height: 100%; }
.how-to-take__step-title {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.how-to-take__step-body {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}
.how-to-take__card--timeline { padding: 28px 28px; }
.how-to-take__timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 16px;
}
.how-to-take__tl-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: start;
}
.how-to-take__tl-item:last-child { border-bottom: none; padding-bottom: 0; }
.how-to-take__tl-week {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(29, 92, 62, 0.08);
  border: 1px solid rgba(29, 92, 62, 0.2);
  border-radius: 16px;
  padding: 4px 10px;
  text-align: center;
  white-space: nowrap;
  align-self: start;
  margin-top: 2px;
}
.how-to-take__tl-body {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.6;
}
.how-to-take__disclaimer {
  font-size: 11px;
  color: var(--fg-muted);
  font-style: italic;
  margin-top: 16px;
}

/* ===== Sticky Mobile CTA ===== */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 14px 20px;
  transform: translateY(100%);
  transition: transform 0.25s ease;
}
.sticky-cta--visible { transform: translateY(0); }
.sticky-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 480px;
  margin: 0 auto;
}
.sticky-cta__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sticky-cta__name {
  font-weight: 600;
  font-size: 14px;
  color: var(--fg);
}
.sticky-cta__price {
  font-size: 13px;
  color: var(--fg-muted);
}
.sticky-cta__btn {
  flex-shrink: 0;
  padding: 12px 24px;
  font-size: 14px;
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 900px) {
  .store__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 24px;
  }
  .store__product-img { position: static; }
  .pathways__grid { grid-template-columns: 1fr 1fr; }
  .ingredient-panel__row { grid-template-columns: 1fr 1fr; }
  .ingredient-panel__row--header { display: none; }
  .ingredient-panel__row { gap: 8px; }
  .ingredient-panel__name { grid-column: 1; }
  .ingredient-panel__form { display: none; }
  .ingredient-panel__dose { grid-column: 2; grid-row: 1; }
  .ingredient-panel__role { grid-column: 1 / -1; }
  .how-to-take__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .pathways__grid { grid-template-columns: 1fr; }
  .pathways, .ingredient-panel, .faq, .how-to-take { padding: 48px 0; }
  .faq__question { font-size: 14px; }
  /* Sticky CTA visible on mobile only */
  .sticky-cta { display: block; }
  .store__trust-strip { flex-direction: column; gap: 6px; }
}
@media (max-width: 480px) {
  .store__price-block { flex-wrap: wrap; }
  .store__price { font-size: 40px; }
}

/* Checkout error toast — shows inline below CTA when checkout is unavailable */
.checkout-toast {
  display: none;
  align-items: center;
  gap: 10px;
  background: #fef3e2;
  border: 1px solid var(--accent-warm);
  border-radius: 10px;
  padding: 12px 16px;
  margin-top: 14px;
  font-size: 14px;
  color: #7a4a0a;
  line-height: 1.4;
}
.checkout-toast--visible {
  display: flex;
}
.checkout-toast__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--accent-warm);
}
.checkout-toast__text {
  flex: 1;
}
.checkout-toast__close {
  background: none;
  border: none;
  cursor: pointer;
  color: #7a4a0a;
  opacity: 0.6;
  padding: 0 2px;
  font-size: 16px;
  line-height: 1;
}
.checkout-toast__close:hover { opacity: 1; }