/* The tall pack artwork should never share the space reserved for copy. */
.package-img {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 0;
}

.package-img img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

#paquetes { scroll-margin-top: 110px; }

.cofepris-endcap { padding: 32px 0 38px; background: #fff; }
.cofepris-card { max-width: 600px; margin: auto; padding: 25px 24px; text-align: center; background: #f7f8fa; border: 1px solid #e0e4e9; border-radius: 15px; color: #586674; }
.cofepris-brand { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 0 auto 19px; text-align: left; color: #777d82; }
.cofepris-emblem { position: relative; display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; color: #aeb4b8; font: 800 48px/1 Arial, sans-serif; }
.cofepris-emblem::after { content: ""; position: absolute; width: 9px; height: 9px; top: 18px; left: 16px; border-radius: 50%; background: #c9a267; }
.cofepris-brand b { display: block; font: 800 25px/1 Arial, sans-serif; letter-spacing: -.03em; }
.cofepris-brand small { display: block; margin-top: 3px; font: 700 5px/1.3 Arial, sans-serif; letter-spacing: .1em; }
.cofepris-brand small em { color: #b99561; }
.cofepris-card > strong { display: block; margin-bottom: 9px; font: 800 14px/1.35 Manrope, sans-serif; }
.cofepris-card > p { margin: 0 0 5px; color: #8895a4; font-size: 12px; }
.cofepris-detail, .cofepris-clarification { display: block; color: #94a0aa; font-size: 10px; line-height: 1.5; }
.cofepris-clarification { margin-top: 15px; font-size: 9px; }

/* Make the destination unmistakable without implying an official-store status. */
.sticky-bar .buy-mini {
  gap: 4px;
  padding: 6px 8px 6px 11px;
  white-space: nowrap;
}
.sticky-bar .buy-mini .buy-caption {
  display: inline;
  width: auto;
  height: auto;
  flex: none;
  border-radius: 0;
  background: none;
  font-size: 10px;
  line-height: 1;
}
.sticky-bar .buy-mini img { display: block; width: 71px; height: 29px; object-fit: contain; }
.sticky-bar .buy-arrow { width: 20px; height: 20px; font-size: 15px; }
.market-hero-label,
.market-pack-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 22px;
  padding: 10px 15px;
  background: #fff8d7;
  border: 1px solid #f7df80;
  border-radius: 999px;
  color: #193652;
  box-shadow: 0 8px 20px #6b512014;
}
.market-hero-label span,
.market-pack-logo span { font: 800 10px Manrope, sans-serif; letter-spacing: .08em; }
.market-hero-label img,
.market-pack-logo img { display: block; width: 105px; height: 39px; object-fit: contain; }
.hero .rating-placeholder { margin-bottom: 0; }
.market-section-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  padding: 14px;
  background: #ffd232;
  color: #182c4c;
  border-radius: 14px;
  text-decoration: none;
  font: 800 12px Manrope, sans-serif;
}
.market-section-cta img { display: block; width: 94px; height: 35px; object-fit: contain; }
.market-section-cta b { font-size: 19px; }
.market-on-card { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 1px 0 14px; }
.market-on-card span { font: 800 9px Manrope, sans-serif; color: #607a91; letter-spacing: .1em; }
.market-on-card img { display: block; width: 108px; height: 40px; object-fit: contain; }
.package-card button:disabled { opacity: 1; }
.package-buy-link { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 15px 17px; border-radius: 14px; background: #ffd232; color: #172945; text-decoration: none; font: 800 13px Manrope, sans-serif; box-shadow: 0 8px 18px #dfae1450; }
.package-buy-link:hover { background: #ffe05d; }
.purchase-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 21px auto 32px; }
.purchase-flow div { display: flex; align-items: center; gap: 8px; text-align: left; background: #fff; border: 1px solid #e0e9f1; border-radius: 12px; padding: 12px; }
.purchase-flow b { width: 24px; height: 24px; display: grid; place-items: center; flex: none; border-radius: 50%; background: #ffdf68; color: #21334d; font-size: 11px; }
.purchase-flow span { color: #385a75; font-size: 10px; font-weight: 700; line-height: 1.3; }

/* Show the essential ingredients first, with the full list on request. */
.ingredients { padding-bottom: 20px; }
.ingredients .ingredient-stack article:nth-child(n+5) { display: none; }
.ingredients.is-expanded .ingredient-stack article:nth-child(n+5) { display: flex; }
.ingredient-control { padding-bottom: 70px; text-align: center; }
.ingredient-control button {
  width: min(100%, 400px);
  padding: 15px 18px;
  border: 1px solid #b9d9e6;
  border-radius: 13px;
  background: #eef8fb;
  color: #166d8d;
  font: 800 13px Manrope, sans-serif;
  cursor: pointer;
}
.ingredient-control button span { margin-left: 12px; font-size: 18px; vertical-align: -1px; }

@media (max-width: 600px) {
  /* Increase only supporting copy; preserve headings, bold labels and prices. */
  .hero-sub, .section-intro { font-size: 15px; }
  .tiny-note, .trust-badges small, .testimonial-stack span, .final-cta small { font-size: 11px; }
  .story-card li, .analogy-card p, .pathway-stack p, .mistake-stack p, .faq details p { font-size: 14px; }
  .benefit-list small, .ingredient-stack p, .package-card li { font-size: 12px; }
  .absorb-card p, .syrecell-compare > p, .package-card > p { font-size: 13px; }
  .price small { font-size: 10px; }
  .cofepris-endcap { padding: 28px 0; }
  .cofepris-card { padding: 22px 16px; }
  .cofepris-card > strong { font-size: 12px; }
  .cofepris-card > p { overflow-wrap: anywhere; }
  .sticky-bar .brand img { width: 99px; }
  .market-hero-label,
  .market-pack-logo { gap: 6px; padding: 8px 10px; }
  .market-hero-label span,
  .market-pack-logo span { font-size: 8px; }
  .market-hero-label img,
  .market-pack-logo img { width: 85px; height: 34px; }
  .market-section-cta { font-size: 10px; gap: 6px; }
  .market-section-cta img { width: 80px; }
  .package-card { overflow: hidden; }
  .purchase-flow { grid-template-columns: 1fr; gap: 5px; max-width: 370px; }
  .purchase-flow div { padding: 8px 11px; }
}

@media (max-width: 360px) {
  .sticky-bar .brand img { width: 86px; }
  .sticky-bar .buy-caption { font-size: 9px; }
  .sticky-bar .buy-mini img { width: 61px; }
  .sticky-bar .buy-mini { gap: 2px; }
}

/* Readable supporting type for the Mercado Libre landing, including older visitors. */
.hero-sub, .section-intro { font-size: 18px; line-height: 1.7; }
.story-card li, .analogy-card p, .pathway-stack p,
.mistake-stack p, .faq details p { font-size: 16px; line-height: 1.65; }
.benefit-list small, .ingredient-stack p, .package-card li,
.absorb-card p, .syrecell-compare > p, .package-card > p { font-size: 15px; line-height: 1.6; }
.purchase-flow span, .compare-table > div, .review-pending,
.science-caution { font-size: 14px; line-height: 1.5; }
.tiny-note, .price small, .testimonial-stack span,
.final-cta small, .cofepris-card > p, .cofepris-detail { font-size: 13px; line-height: 1.55; }
.primary-button small, .trust-badges small,
.float-label small, .market-on-card span { font-size: 12px; }

@media (max-width: 600px) {
  .hero-sub, .section-intro { font-size: 17px; }
  .story-card li, .analogy-card p, .pathway-stack p,
  .mistake-stack p, .faq details p, .package-card li { font-size: 16px; }
  .benefit-list small, .ingredient-stack p,
  .absorb-card p, .syrecell-compare > p, .package-card > p { font-size: 15px; }
  .purchase-flow span, .compare-table > div,
  .review-pending, .science-caution { font-size: 14px; }
  .tiny-note, .price small, .testimonial-stack span,
  .final-cta small, .cofepris-card > p, .cofepris-detail { font-size: 13px; }
  .market-hero-label span, .market-pack-logo span { font-size: 11px; }
  .market-section-cta { font-size: 13px; }
  .sticky-bar .buy-mini .buy-caption { font-size: 11px; }
  .cofepris-card > strong { font-size: 15px; }
}

/* Keep the reading rhythm without a full-screen gap between modules. */
.problem, .pathways, .mistakes, .solution, .ingredients,
.comparison, .testimonials, .packages, .faq { padding-top: 64px; padding-bottom: 64px; }
.ingredients { padding-bottom: 20px; }
.solution { padding-top: 52px; }
.ingredient-control { padding-bottom: 56px; }

@media (max-width: 600px) {
  .problem, .pathways, .mistakes, .solution, .ingredients,
  .comparison, .testimonials, .packages, .faq { padding-top: 48px; padding-bottom: 48px; }
  .ingredients { padding-bottom: 16px; }
  .solution { padding-top: 38px; }
  .ingredient-control { padding-bottom: 44px; }
}

/* Shorten only the whitespace around the hero copy; keep original type and artwork sizes. */
@media (max-width: 600px) {
  .hero { padding-top: 32px; }
  .hero h1 { margin-top: 16px; margin-bottom: 14px; }
  .hero-sub { margin-bottom: 12px; }
  .hero-product { transform: translateY(-8px); }
}
