/* Shared styles for the Ginger + Lime funnel pages.
   Reuses the visual language currently live on the homepage (Inter
   font, rounded white cards, and the same green as the homepage's
   Subscribe button - see --primary in /styles.css) via local custom
   properties - re-theming later is a one-place edit here, not a
   rewrite of the pages. */

:root {
  --mv-primary: #3f5d47;
  --mv-primary-2: #7c9473;
  --mv-text: #1f1335;
  --mv-text-secondary: #5e4c78;
  --mv-border: rgba(92, 70, 143, 0.14);
  --mv-surface: #ffffff;
  --mv-bg: #faf7ff;
}

.shop-header {
  padding: 20px 24px;
}

.shop-header a {
  display: inline-flex;
  text-decoration: none;
}

.shop-main {
  width: min(100%, 640px);
  margin: 0 auto;
  padding: 0 20px 64px;
}

.dev-warning {
  width: min(100%, 640px);
  margin: 0 auto 20px;
  padding: 14px 18px;
  border-radius: 14px;
  background: #fff4e5;
  border: 1px solid #f3c27a;
  color: #7a4a00;
  font-size: 0.85rem;
  line-height: 1.5;
}

.dev-warning strong {
  display: block;
  margin-bottom: 4px;
}

.product-card {
  background: var(--mv-surface);
  border: 1px solid var(--mv-border);
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(100, 59, 140, 0.1);
  padding: 28px;
  text-align: center;
}

.product-can-frame {
  width: 100%;
  max-width: 420px;
  margin: 0 auto 20px;
  aspect-ratio: 1210 / 1150; /* matches design-a's default art; overridden per-image via JS */
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-can-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-kicker {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mv-primary);
  margin: 0 0 6px;
}

.product-title {
  font-size: clamp(1.8rem, 6vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--mv-text);
  margin: 0 0 10px;
}

.product-tagline {
  font-size: 1rem;
  color: var(--mv-text-secondary);
  margin: 0 0 16px;
}

.product-copy {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--mv-text);
  margin: 0 0 20px;
}

.product-price-row {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 20px;
  font-weight: 700;
  color: var(--mv-text);
}

.product-price-row .price {
  font-size: 1.4rem;
}

.product-price-row .pack {
  font-size: 1.2rem;
  color: var(--mv-text-secondary);
  font-weight: 500;
}

.shop-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 24px;
  border-radius: 18px;
  background: var(--mv-primary);
  border: none;
  color: white;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.shop-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(110, 57, 255, 0.28);
}

.shop-cta:focus-visible,
.social-link:focus-visible {
  outline: 3px solid var(--mv-primary);
  outline-offset: 2px;
}

.product-columns {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 28px;
}

.product-details {
  flex: 1 1 220px;
  min-width: 0;
  max-width: 320px;
  text-align: left;
}

.ingredients-title {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--mv-text);
  margin: 0 0 14px;
}

.ingredients-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ingredients-list li {
  font-size: 0.92rem;
  color: var(--mv-text);
  padding: 8px 0;
  border-bottom: 1px solid var(--mv-border);
}

.ingredients-list li:first-child {
  padding-top: 0;
}

.ingredients-list li:last-child {
  border-bottom: none;
}

/* --- Nutrition Facts panel ----------------------------------------- */

.nutrition-facts {
  flex: 1 1 260px;
  padding: 14px 16px 16px;
  border: 1px solid var(--mv-text);
  font-family: Arial, Helvetica, sans-serif;
  color: var(--mv-text);
  max-width: 320px;
  text-align: left;
}

.nutrition-title {
  font-size: 1.9rem;
  font-weight: 800;
  margin: 0 0 2px;
  letter-spacing: -0.02em;
}

.nutrition-servings-per,
.nutrition-serving-size {
  font-size: 0.85rem;
  margin: 0;
  font-weight: 700;
}

.nutrition-rule {
  background: var(--mv-text);
  margin: 6px 0;
}

.nutrition-rule.thick {
  height: 8px;
}

.nutrition-rule.thin {
  height: 1px;
  background: #b9b3c6;
}

.nutrition-amount-per {
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0;
}

.nutrition-calories-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.1;
}

.nutrition-dv-header {
  text-align: right;
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0 0 2px;
}

.nutrition-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding: 3px 0;
}

.nutrition-row.bold {
  font-weight: 700;
}

.nutrition-row.indent span:first-child {
  padding-left: 14px;
  font-weight: 400;
}

.nutrition-row.indent2 span:first-child {
  padding-left: 28px;
  font-weight: 400;
}

.nutrition-footnote {
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--mv-text-secondary);
  margin: 8px 0 0;
}

/* --- Coming soon / signup page ------------------------------------ */

.signup-card {
  background: var(--mv-surface);
  border: 1px solid var(--mv-border);
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(100, 59, 140, 0.1);
  padding: 32px 28px;
  text-align: center;
}

.signup-headline {
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 800;
  color: var(--mv-text);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.signup-copy {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--mv-text-secondary);
  margin: 0 0 24px;
}

.mailerlite-block {
  text-align: left;
  margin-bottom: 20px;
}

.mailerlite-block #mlb2-44632753 {
  margin: 0;
}

.follow-prompt {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--mv-text);
  margin: 4px 0 16px;
}

.legal-note {
  margin-top: 18px;
  font-size: 0.78rem;
  color: var(--mv-text-secondary);
}

@media (max-width: 480px) {
  .product-card,
  .signup-card {
    padding: 22px 18px;
    border-radius: 22px;
  }
}
