/* ==========================================================================
   VSL - ProstaBliss — Direct Response / CRO Widgets & Mobile Harmony CSS
   Synced Countdown Pill, Stock Depletion Meter, Blinking Red Scarcity Pill,
   Pulsing 6-Bottle CTA, Verified Purchase Toasts, Sticky Urgency Bar &
   Full Responsive Mobile Polish
   ========================================================================== */

/* Countdown & Stock Meter inside Offer Banner */
.pv-urgency-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 16px;
  margin-top: 14px;
  font-family: Montserrat, sans-serif;
}

.pv-countdown-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: #c20017;
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(194, 0, 23, 0.45);
}

.pv-countdown-pill strong {
  color: #ffeb00;
  font-variant-numeric: tabular-nums;
  font-size: 16px;
}

.pv-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
}

.pv-status-pill strong {
  color: #ffeb00;
}

.pv-stock-meter {
  max-width: 520px;
  margin: 14px auto 0;
  padding: 0 6px;
  text-align: left;
  font-family: Montserrat, sans-serif;
  box-sizing: border-box;
}

.pv-stock-meter__label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #f3f4f6;
  margin-bottom: 6px;
}

.pv-stock-meter__alert {
  color: #ffd200;
}

.pv-stock-meter__track {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  overflow: hidden;
}

.pv-stock-meter__fill {
  height: 100%;
  width: 91%;
  background: linear-gradient(90deg, #ffb300 0%, #ff3d00 100%);
  border-radius: 999px;
  transition: width 0.6s ease;
}

/* Scarcity Pill & Pulsing CTA on Featured 6-Bottle Card */
.holder-bottles {
  padding-top: 18px !important;
}

.bottles._6-potes {
  position: relative;
}

.pv-card-scarcity-wrap {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: max-content;
  max-width: calc(100% - 24px);
  text-align: center;
  margin: 0;
  pointer-events: none;
}

.pv-card-scarcity-pill {
  display: inline-block;
  white-space: nowrap;
  background: #dc2626;
  border: 1.5px solid #ffffff;
  color: #ffffff;
  font-family: Montserrat, sans-serif;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.55);
  animation: pvScarcityPulse 1s ease-in-out infinite;
}

@keyframes pvScarcityPulse {
  0%, 100% {
    opacity: 1;
    background-color: #ef4444;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.95), 0 4px 12px rgba(185, 28, 28, 0.6);
    transform: scale(1.04);
  }
  50% {
    opacity: 0.85;
    background-color: #991b1b;
    box-shadow: 0 0 4px rgba(153, 27, 27, 0.35);
    transform: scale(0.98);
  }
}

.bottles._6-potes .button._6-potes {
  border-radius: 14px;
  animation: pvCtaGlow 2.2s ease-in-out infinite;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.bottles._6-potes .button._6-potes:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.05);
}

@keyframes pvCtaGlow {
  0%, 100% {
    filter: drop-shadow(0 6px 14px rgba(255, 193, 7, 0.4));
  }
  50% {
    filter: drop-shadow(0 0 24px rgba(255, 210, 0, 0.92));
  }
}

/* ==========================================================================
   Verified Purchase Social Proof Toast
   ========================================================================== */
.pv-purchase-toast {
  position: fixed;
  left: 16px;
  bottom: 76px;
  z-index: 9990;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 325px;
  max-width: calc(100vw - 32px);
  background: #ffffff;
  color: #111827;
  font-family: Montserrat, sans-serif;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #16a34a;
  border-radius: 12px;
  padding: 10px 30px 10px 10px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  box-sizing: border-box;
}

.pv-purchase-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.pv-purchase-toast__close {
  position: absolute;
  top: 6px;
  right: 8px;
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 4px;
}

.pv-purchase-toast__close:hover {
  color: #111827;
}

.pv-purchase-toast__img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
  background: #f9fafb;
  border-radius: 8px;
  padding: 3px;
}

.pv-purchase-toast__body {
  min-width: 0;
  flex: 1;
}

.pv-purchase-toast__title {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  color: #111827;
  line-height: 1.25;
}

.pv-purchase-toast__desc {
  margin: 2px 0 0;
  font-size: 12px;
  color: #374151;
  line-height: 1.3;
}

.pv-purchase-toast__meta {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 4px;
  font-size: 11px;
  color: #6b7280;
  white-space: nowrap;
}

.pv-purchase-toast__verified {
  color: #15803d;
  font-weight: 700;
}

/* ==========================================================================
   Sticky Bottom Urgency Bar
   ========================================================================== */
.pv-sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9980;
  background: #111111;
  border-top: 2px solid #c20017;
  color: #ffffff;
  font-family: Montserrat, sans-serif;
  padding: 10px 14px;
  box-shadow: 0 -8px 26px rgba(0, 0, 0, 0.45);
  transform: translateY(110%);
  transition: transform 0.35s ease;
  box-sizing: border-box;
}

.pv-sticky-bar.is-visible {
  transform: translateY(0);
}

.pv-sticky-bar__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pv-sticky-bar__info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-size: 14px;
  font-weight: 600;
}

.pv-sticky-bar__timer {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #c20017;
  color: #ffeb00;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

.pv-sticky-bar__stock strong {
  color: #ffeb00;
}

.pv-sticky-bar__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  background: #ffc107;
  color: #0a0a0a;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.pv-sticky-bar__cta:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  color: #0a0a0a;
}

/* Extra breathing room at footer so sticky bar never covers copyright */
body.pb-has-sticky {
  padding-bottom: 72px;
}

/* ==========================================================================
   Harmonious Tablet & Mobile Layout Refinements
   ========================================================================== */

/* Keep 6-Bottle Featured Card FIRST on mobile/tablet (<= 991px) */
@media screen and (max-width: 991px) {
  #pv-card-6-bottles {
    order: -9999;
  }
}

@media screen and (max-width: 767px) {
  /* Comfortable balanced side margins across all sections */
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Tighter above-the-fold Hero & VSL */
  .hero {
    padding: 24px 0 32px !important;
    grid-row-gap: 18px !important;
  }

  .vsl {
    padding: 10px !important;
    border-radius: 10px !important;
  }

  /* Offer Banner & Flags */
  .holder-count {
    padding: 18px 4px !important;
  }

  .pb-banner-row {
    gap: 8px !important;
    font-size: 13.5px !important;
    line-height: 1.4 !important;
  }

  .pb-banner-flag {
    max-width: 22px !important;
    flex-shrink: 0;
  }

  /* Offer Cards spacing & symmetry */
  .se-o-potes {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
    grid-row-gap: 28px !important;
  }

  .holder-bottles {
    grid-row-gap: 24px !important;
  }

  .bottles {
    width: 100%;
    box-sizing: border-box;
    margin-top: 0 !important;
    padding: 20px 18px 18px !important;
    border-radius: 14px !important;
    grid-row-gap: 8px !important;
  }

  .bottles._6-potes {
    padding-top: 24px !important;
  }

  .holder-potes {
    grid-row-gap: 6px !important;
  }

  .holder-price {
    grid-row-gap: 10px !important;
  }

  .ebooks {
    padding: 0 !important;
    margin: 0 auto !important;
    max-width: 210px;
    display: block;
  }

  .bandeiras {
    padding: 0 !important;
    margin: 0 auto !important;
    max-width: 200px;
    display: block;
  }

  /* Guarantee Card */
  .guarantee {
    padding: 28px 0 !important;
  }

  .guarantee-holder {
    padding: 28px 20px !important;
    border-radius: 14px !important;
    grid-row-gap: 16px !important;
  }

  .money-back {
    max-width: 150px !important;
    margin: 0 auto;
  }

  .heading {
    font-size: 24px !important;
    line-height: 1.25 !important;
  }

  .text-block {
    font-size: 15.5px !important;
    line-height: 1.55 !important;
  }

  /* Certifications Strip */
  .imagens {
    padding: 16px 0 !important;
  }

  /* Bonuses Section */
  .bonuses {
    padding: 32px 0 !important;
    grid-row-gap: 22px !important;
  }

  .free-bonuses {
    font-size: 26px !important;
    line-height: 1.25 !important;
    margin-bottom: 4px !important;
  }

  .bonuses-holder {
    padding: 20px 16px !important;
    border-radius: 12px !important;
  }

  .bonus-tittle {
    font-size: 18px !important;
    line-height: 1.3 !important;
    padding: 0 !important;
  }

  .retail-price {
    font-size: 20px !important;
    line-height: 1.3 !important;
  }

  .bonuses-description-text {
    font-size: 15px !important;
    line-height: 1.55 !important;
  }

  /* Testimonials Cards — Clean separation & harmonious alignment */
  .users {
    padding: 32px 0 !important;
    grid-row-gap: 20px !important;
  }

  .real {
    font-size: 26px !important;
    line-height: 1.25 !important;
    margin-bottom: 4px !important;
  }

  .depoiments {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 22px 18px !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    grid-row-gap: 12px !important;
  }

  .full-depoiment {
    align-items: center !important;
    width: 100%;
  }

  .name {
    font-size: 20px !important;
    line-height: 1.25 !important;
    text-align: center !important;
  }

  .verified {
    justify-content: center !important;
    gap: 8px;
  }

  .stars {
    max-width: 110px !important;
  }

  .text-verified {
    font-size: 14px !important;
  }

  .paragraph {
    font-size: 15px !important;
    line-height: 1.6 !important;
    text-align: left !important;
    margin-top: 4px !important;
  }

  .location {
    font-size: 15px !important;
    text-align: center !important;
    width: 100%;
  }

  /* Scientific References */
  .references {
    padding: 28px 0 !important;
  }

  .scientific-references {
    font-size: 22px !important;
  }

  .ref-links {
    font-size: 12.5px !important;
    line-height: 1.5 !important;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  /* Footer */
  .fast-links {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-gap: 12px 16px !important;
    padding: 18px 0 !important;
  }

  .footer {
    font-size: 13px !important;
    line-height: 1.6 !important;
    padding: 0 4px;
  }

  .text-block-2 {
    font-size: 13px !important;
    line-height: 1.4 !important;
  }
}

/* Mobile Toast (top-aligned to avoid colliding with Sticky Bottom Bar) & Compact Sticky Bar */
@media screen and (max-width: 640px) {
  .pv-purchase-toast {
    top: 10px;
    bottom: auto;
    left: 10px;
    right: 10px;
    width: auto;
    max-width: none;
    padding: 9px 28px 9px 10px;
    gap: 10px;
    transform: translateY(-18px);
  }

  .pv-purchase-toast.is-visible {
    transform: translateY(0);
  }

  .pv-purchase-toast__img {
    width: 44px;
    height: 44px;
  }

  .pv-purchase-toast__title {
    font-size: 12.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .pv-purchase-toast__desc {
    font-size: 11.5px;
  }

  .pv-purchase-toast__meta {
    font-size: 10.5px;
    gap: 6px;
  }

  /* Compact Sticky Bottom Bar (~88px height instead of 144px) */
  .pv-sticky-bar {
    padding: 8px 12px;
  }

  .pv-sticky-bar__inner {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .pv-sticky-bar__info {
    justify-content: center;
    flex-wrap: nowrap;
    gap: 8px;
    font-size: 12px;
    line-height: 1.25;
  }

  .pv-sticky-bar__timer {
    font-size: 12px;
    padding: 3px 8px;
  }

  .pv-sticky-bar__stock {
    text-align: left;
  }

  .pv-sticky-bar__cta {
    width: 100%;
    padding: 8px 14px;
    font-size: 13.5px;
  }

  body.pb-has-sticky {
    padding-bottom: 112px;
  }
}

@media screen and (max-width: 479px) {
  .heading-shadow {
    font-size: 22px !important;
    line-height: 1.3 !important;
  }

  .pv-urgency-strip {
    gap: 8px;
  }

  .pv-countdown-pill {
    font-size: 13px;
    padding: 6px 14px;
  }

  .pv-countdown-pill strong {
    font-size: 14px;
  }

  .pv-status-pill {
    font-size: 12.5px;
    padding: 6px 12px;
  }

  .pv-stock-meter__label {
    font-size: 11.5px;
  }

  .quantity {
    font-size: 26px !important;
    line-height: 1 !important;
  }

  .text-span {
    font-size: 16px !important;
  }

  .potes {
    height: 145px !important;
    margin: -6px 0 !important;
  }

  .price {
    padding-top: 4px !important;
    font-size: 54px !important;
    line-height: 0.9 !important;
  }

  .button._6-potes {
    margin-bottom: -14px !important;
  }

  .total-price {
    font-size: 19px !important;
  }

  .shipping {
    font-size: 14px !important;
    margin-top: -2px !important;
  }

  .costumer-say {
    font-size: 20px !important;
  }

  .pv-card-scarcity-pill {
    font-size: 11px;
    padding: 5px 12px;
  }
}
