/** Responsive styles start **/

/** Desktop only responsive styles start **/
@media (min-width: 992px) {
  /** Header responsive styles start **/
  .mobile-drawer,
  .drawer-backdrop,
  .mobile-hamburger {
    display: none !important;
  }
  /** Header responsive styles end **/
}
/** Desktop only responsive styles end **/

/** Bootstrap xl and down styles start **/
@media (max-width: 1199.98px) {
  /** Hero section starts **/
  .hero-visual {
    transform: translateX(0);
  }

  .product-card {
    max-width: 360px;
    padding: 28px 24px;
  }
  /** Hero section ends **/

  /** Advantage section starts **/
  .split-image img {
    width: 110%;
  }

  .split-image--left img {
    transform: translateX(-5%);
  }

  .split-image--right img {
    transform: translateX(5%);
  }
  /** Advantage section ends **/

  /** How it works section starts **/
  .how-step-content h3 {
    max-width: 100%;
  }
  /** How it works section ends **/

  /** Doctors section starts **/
  .doctor-info {
    padding: 20px;
  }

  .doctor-info p {
    font-size: 0.82rem;
  }
  /** Doctors section ends **/

  /** Features section starts **/
  .features-image-ring {
    width: 340px;
    height: 340px;
  }
  /** Features section ends **/
}
/** Bootstrap xl and down styles end **/

@media (max-width: 1024px) {
  /** trust-bar starts here **/
  .trust-bar-inner{
    gap: 24px;
  }
  /** trust-bar ends here **/
}

@media (max-width: 1199.98px) {
  .testimonials-scroll-wrapper {
    scrollbar-width: none !important;
  }

  .testimonials-scroll-wrapper::-webkit-scrollbar {
    display: none;
  }

  .testimonial-card {
    cursor: pointer;
  }

  .testimonial-card.is-selected {
    border-color: rgba(0, 153, 255, 0.45);
    box-shadow: 0 8px 32px rgba(0, 153, 255, 0.14);
  }
}

/** Bootstrap lg and down styles start **/
@media (max-width: 991.98px) {
  /** Header section starts **/
  .site-header .nav-cta {
    display: none !important;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-hamburger {
    display: flex;
  }
  /** Header section ends **/

  /** Hero section starts **/
  .float-badge {
    display: none;
  }
  /** Hero section ends **/

  /** trust-bar starts here **/
  .trust-bar-inner{
    gap: 20px;
  }
  /** trust-bar ends here **/

  /** How it works section starts **/
  .how-works-list {
    gap: 36px;
  }

  .how-step-copy,
  .how-step-copy-reverse {
    max-width: 100%;
    margin-left: 0;
  }
  /** How it works section ends **/

  /** Doctors section starts **/
  .doctor-img-wrap {
    aspect-ratio: 4 / 3;
  }

  .doctor-card:hover {
    transform: translateY(-8px);
  }
  /** Doctors section ends **/

  /** Features section starts **/
  .features-center-visual {
    order: -1;
    margin-bottom: 32px;
  }

  .features-col-left .feature-item-row {
    justify-content: flex-start;
    flex-direction: row-reverse;
  }

  .features-col-left .feature-item-content {
    text-align: left;
    flex: 1;
  }

  .features-image-ring {
    width: 300px;
    height: 300px;
  }

  .feat-float-badge {
    padding: 10px 14px;
  }

  .feat-badge-number {
    font-size: 1.3rem;
  }
  /** Features section ends **/

  /** Testimonials section starts **/
  .face-card {
    width: 160px;
    min-width: 160px;
    height: 230px;
  }

  .face-card-featured {
    width: 180px;
    min-width: 180px;
    height: 260px;
  }
  /** Testimonials section ends **/

  /** Pricing section starts **/
  .card-panel {
    padding: 36px 28px;
  }
  /** Pricing section ends **/

  /** FAQ section starts **/
  #faq {
    background-size: 50% auto;
  }
  /** FAQ section ends **/

  /** CTA banner starts **/
  .cta-banner {
    background-size: 50% auto;
  }
  /** CTA banner ends **/
}
/** Bootstrap lg and down styles end **/

/** Tablet-only styles (iPad / Surface Pro range) start **/
@media (min-width: 768px) and (max-width: 1199.98px) {
  /** Hero section starts **/
  /* Floating badges have no room to sit off to the side at this width —
     they end up overlapping the product card instead. */
  .float-badge {
    display: none;
  }

  .hero-section-product {
    width: 76px;
    right: 14px;
    top: 9%;
  }

  .product-card-tag,
  .product-card h3,
  .product-card .price-row,
  .price-tag,
  ul.product-features {
    width: calc(100% - 100px);
  }
  /** Hero section ends **/

  /** Pricing section starts **/
  .center-bottle {
    width: 85px;
    top: 40%;
  }
  /** Pricing section ends **/

  /** Testimonials section starts **/
  /* Keep the pinned section at a full 100vh — shrinking it makes ScrollTrigger's
     "center center" pin float the box in the middle of the viewport with big
     blank margins above and below. The actual whitespace problem is internal:
     the header's large top padding plus vertically-centering the cards inside
     a flex-grow wrapper that's much taller than the cards. Tighten those
     instead so the content sits close to the top with no dead space. */
  .testimonials-header {
    padding-top: 40px;
  }

  .testimonials-pin-section{
    height: auto;
  }

  .testimonials-scroll-wrapper {
    align-items: flex-start;
    margin-top: 8px;
    /* flex-grow: 0; */
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    padding-bottom: 16px;
  }

  .testimonials-scroll-wrapper.is-auto-scrolling {
    scroll-snap-type: none;
  }

  .testimonials-scroll-track {
    gap: 20px;
    padding: 0 5vw;
  }

  .testimonial-card {
    width: min(420px, calc(100vw - 96px));
    min-width: min(420px, calc(100vw - 96px));
    padding: 28px 24px;
    scroll-snap-align: start;
    transform: translateY(0) !important;
  }

  .testimonial-card:nth-child(odd),
  .testimonial-card:nth-child(even) {
    transform: translateY(0) !important;
  }

  .testimonial-final-text {
    width: min(420px, calc(100vw - 96px));
    min-width: min(420px, calc(100vw - 96px));
    padding: 28px 24px;
    margin-left: 0;
  }
  /** Testimonials section ends **/
}
/** Tablet-only styles (iPad / Surface Pro range) end **/

/** Narrow tablet styles (iPad Mini portrait / Bootstrap md tier) start **/
@media (min-width: 768px) and (max-width: 991.98px) {
  /** Hero section starts **/
  /* col-md-7/col-md-5 leaves the product card only ~40% of a 768px-wide
     container — too narrow for the feature list next to the bottle image.
     Stack hero content full-width here instead, same as on phones. */
  .hero-content {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* Cap hero-visual's own box at the card's width (rather than 100%) so the
     absolutely-positioned bottle/badges — sized relative to this box — still
     hug the card instead of floating off in the leftover row width. */
  .hero-visual {
    flex: 0 0 100%;
    max-width: 480px;
    margin: 0 auto;
  }

  .product-card {
    max-width: 480px;
  }
  /** Hero section ends **/

  /** Pricing section starts **/
  .center-bottle {
    width: 75px;
    top: 42%;
    left: 45%;
  }
  /** Pricing section ends **/
}
/** Narrow tablet styles (iPad Mini portrait / Bootstrap md tier) end **/

/** iPad Mini portrait refinement start **/
@media (min-width: 768px) and (max-width: 820px) {
  .hero-section-product {
    width: 68px;
    right: 18px;
    top: 9.5%;
  }
}
/** iPad Mini portrait refinement end **/

/** Bootstrap md and down styles start **/
@media (max-width: 767.98px) {
  /** Global section spacing starts **/
  section {
    padding: 72px 5%;
  }

  section.py-5:not(.testimonials-pin-section) {
    padding-top: 72px !important;
    padding-bottom: 72px !important;
  }

  .cta-banner {
    padding: 80px 5%;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-subtitle{
    border-radius: var(--radius);
    padding: 28px 24px;
    border: 1.5px solid rgba(219, 234, 254, 0.7);
    cursor: default;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
  }


  /** Global section spacing ends **/

  /** Hero section starts **/
  .hero-inner {
    padding: 120px 5% 60px;
    gap: 48px;
  }

  .hero-trust-strip {
    gap: 8px;
  }

  .trust-chip {
    font-size: 0.75rem;
  }

  .hero-rating-strip {
    padding: 8px 14px;
    gap: 8px;
    flex-wrap: wrap;
  }

  .hero-stars {
    font-size: 0.85rem;
  }

  .hero-rating-text {
    font-size: 0.75rem;
  }

  .hero-rating-source {
    font-size: 0.72rem;
  }

  .hero-desc {
    font-size: 0.95rem;
    max-width: 100%;
  }

  .product-card {
    max-width: 100%;
  }

  ul.product-features {
    padding-left: 0;
  }

  .hero-section-product {
    right: 20px;
  }
  /** Hero section ends **/

  /** Advantage section starts **/
  .split-image {
    display: none;
  }

  .split-text,
  .split-row--reverse .split-text {
    padding: 0;
  }
  /** Advantage section ends **/

  /** Science section starts **/
  .ingredient-card {
    margin-top: 0 !important;
  }
  /** Science section ends **/

  /** How it works section starts **/
  .how-works-list {
    gap: 32px;
  }

  .how-step-row {
    min-height: auto;
  }

  .how-step-copy {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .how-step-rail {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding-top: 0;
  }

  .how-step-line {
    width: 72px;
    height: 1px;
  }

  .how-step-phase {
    writing-mode: initial;
    transform: none;
    overflow: visible;
    min-height: auto;
  }

  .how-step-phase::after {
    width: 1px;
    height: 0.9em;
    margin-top: 0;
    margin-left: 4px;
  }

  .how-step-number {
    font-size: 3.3rem;
    margin-bottom: 14px;
  }

  .how-step-content h3 {
    font-size: 2rem;
    max-width: 100%;
  }

  .how-step-content p {
    max-width: 100%;
  }

  .how-step-list {
    max-width: 100%;
    gap: 8px;
  }

  .how-step-image-frame {
    min-height: 260px;
    padding: 22px;
    border-radius: 30px;
  }

  .how-step-image-frame::before {
    inset: 16px;
    border-radius: 24px;
  }

  .how-step-image-frame img {
    width: min(100%, 210px);
    border-radius: 24px;
  }

  .how-step-copy[data-aos="fade-right"],
  .how-step-copy[data-aos="fade-left"],
  .how-step-visual[data-aos="fade-left"],
  .how-step-visual[data-aos="fade-right"] {
    transform: translate3d(0, 40px, 0) !important;
  }

  .how-step-copy[data-aos="fade-right"].aos-animate,
  .how-step-copy[data-aos="fade-left"].aos-animate,
  .how-step-visual[data-aos="fade-left"].aos-animate,
  .how-step-visual[data-aos="fade-right"].aos-animate {
    transform: translate3d(0, 0, 0) !important;
  }

  .how-step-text {
    padding-block: 22px;
    padding-inline: 22px;
    background: linear-gradient(145deg, rgba(248, 251, 255, 0.7), rgba(238, 246, 255, 0.7));
    border-radius: 30px;
  }

  .how-step-text > .how-step-copy {
    background: linear-gradient(145deg, rgba(248, 251, 255, 0.7), rgba(238, 246, 255));
    padding: 22px;
    border-radius: 30px;
  }

  .how-step-visual {
    max-width: 100%;
  }

  .how-step-visual-col{
    padding-inline: 0;
  }

  /** How it works section ends **/

  /** Pricing section starts **/
  .card-panel {
    padding: 32px 24px;
  }

  .card-panel-left {
    border-bottom-left-radius: 0;
    border-top-right-radius: 32px;
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);

    border-radius: var(--radius);
  }

  .card-panel-right {
    border-top-right-radius: 0;
    border-bottom-left-radius: 32px;
    border-left: none;

    border-radius: var(--radius);
  }

  .product-display-wrap {
    padding: 0;
  }

  .center-bottle {
    position: absolute;
    top: 75px;
    left: 84%;
    right: 0;
    transform: translate(-50%, 0);
    width: 90px;
  }
  /** Pricing section ends **/

  /** Trust bar section starts **/
  .trust-divider {
    display: none;
  }

  .trust-bar-inner {
    gap: 24px;
    flex-direction: row;
    justify-content: space-around;
  }

  .trust-item {
    flex: 0 0 auto;
  }
  /** Trust bar section ends **/

  /** CTA banner starts **/
  .cta-bullets {
    gap: 16px;
    flex-direction: column;
    align-items: center;
  }
  /** CTA banner ends **/

  /** Features section starts **/
  .features-center-visual {
    order: -1;
    margin-bottom: 24px;
    padding: 0;
  }

  .features-image-pill {
    width: 240px;
    height: 400px;
  }

  .feature-item-row.alt-layout {
    flex-direction: row;
  }

  .feature-item-row {
    padding: 16px 0;
    gap: 14px;
  }

  .feature-item-mini-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
  }

  .feature-item-content h4 {
    font-size: 1rem;
  }

  .feature-item-content p {
    font-size: 0.82rem;
  }

  .stat-list {
    padding-left: 0;
    padding-top: 30px;
    gap: 17px;
    text-align: center;
    border-top: 1px solid var(--blue-light);
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item{
    flex-direction: column;
  }

  .feature-showcase-button{
    margin-top: 50px;
  }

  /** Features section ends **/

  /** FAQ section starts **/
  #faq {
    background-position: bottom center;
    background-size: 80% auto;
    /* padding-bottom: 250px; */
  }

  .faq-question {
    padding: 16px 20px;
    font-size: 0.92rem;
  }

  .faq-answer {
    padding: 0 20px;
  }

  .faq-item.open .faq-answer {
    padding: 0 20px 16px;
  }
  /** FAQ section ends **/

  /** Testimonials section starts **/
  .testimonials-pin-section {
    height: auto;
    padding: 80px 5%;
  }

  .testimonials-scroll-wrapper {
    mask-image: none;
    -webkit-mask-image: none;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 16px;
  }

  .testimonials-scroll-wrapper.is-auto-scrolling {
    scroll-snap-type: none;
  }

  .testimonials-scroll-track {
    padding: 0 5vw;
    gap: 20px;
  }

  .testimonial-card {
    width: 320px;
    min-width: 280px;
    padding: 28px 24px;
    scroll-snap-align: start;
    transform: translateY(0) !important;
  }

  .testimonial-card:nth-child(odd),
  .testimonial-card:nth-child(even) {
    transform: translateY(0) !important;
  }

  .testimonial-final-text {
    width: 300px;
    min-width: 280px;
    padding: 28px 20px;
    margin-left: 0;
  }

  .testimonial-final-text h2 {
    font-size: 1.8rem;
  }

  .testimonial-final-text p {
    font-size: 0.95rem;
  }
  /** Testimonials section ends **/

  /** Footer section starts **/
  .footer-inner {
    margin-bottom: 32px;
  }

  footer {
    padding: 60px 5% 32px;
  }
  /** Footer section ends **/
}
/** Bootstrap md and down styles end **/

/** Bootstrap sm and down styles start **/
@media (max-width: 575.98px) {
  /** Global section spacing starts **/
  section {
    padding: 56px 4%;
  }

  section.py-5:not(.testimonials-pin-section) {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }
  /** Global section spacing ends **/

  /** Hero section starts **/
  .hero-inner {
    padding: 100px 4% 48px;
  }

  .hero h1 {
    font-size: 2rem;
    letter-spacing: -1px;
  }

  .hero-desc {
    font-size: 0.85rem;
    line-height: 1.65;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }

  .hero-btns a {
    text-align: center;
    justify-content: center;
  }

  .hero-rating-strip {
    flex-direction: row;
    width: 100%;
  }

  .hero-pills {
    gap: 6px;
  }

  .hero-pill {
    font-size: 0.75rem;
    padding: 4px 12px;
  }

  .product-card-tag {
    max-width: fit-content;
  }

  .hero-section-product {
    width: 90px;
  }

  .product-card-tag,
  .product-card h3,
  .product-card .price-row,
  .price-tag,
  ul.product-features {
    width: calc(100% - 100px);
  }
  /** Hero section ends **/

  /** Shared typography starts **/
  .section-title {
    font-size: 1.7rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }
  /** Shared typography ends **/

  /** Trust bar section starts **/
  .trust-bar-inner {
    gap: 16px;
  }

  .trust-number {
    font-size: 1.2rem;
  }

  .trust-label {
    font-size: 0.68rem;
  }
  /** Trust bar section ends **/

  /** Science section starts **/
  .ingredient-card {
    padding: 20px 16px;
  }

  .ingredient-card h4 {
    font-size: 1.05rem;
  }

  .ingredient-card p {
    font-size: 0.82rem;
  }
  /** Science section ends **/

  /** How it works section starts **/
  .how-step-number {
    font-size: 2.4rem;
  }

  .how-step-content h3 {
    font-size: 1.5rem;
  }

  .how-step-content p {
    font-size: 0.85rem;
  }

  .how-step-image-frame {
    min-height: 220px;
    padding: 18px;
  }

  .how-step-image-frame img {
    width: min(100%, 180px);
  }
  /** How it works section ends **/

  /** Pricing section starts **/
  .btn-primary-product {
    /* width: 100% !important; */
    width: fit-content !important;
    justify-content: center !important;
  }

  .card-panel {
    padding: 20px 16px;
  }

  .panel-title {
    font-size: 1.8rem;
  }

  .price-big {
    font-size: 3rem;
  }
  /** Pricing section ends **/

  /** Features section starts **/
  .features-image-pill {
    width: 180px;
    height: 320px;
  }

  .feature-item-row {
    padding: 14px 0;
    gap: 12px;
  }

  .feature-item-mini-icon svg {
    width: 14px;
    height: 14px;
  }

  .feature-item-content h4 {
    font-size: 0.95rem;
  }

  .feature-item-content p {
    font-size: 0.8rem;
  }

  .stat-number {
    font-size: 2.2rem;
  }
  /** Features section ends **/

  /** FAQ section starts **/
  .faq-question {
    font-size: 0.84rem;
    padding: 12px 14px;
  }

  .faq-icon {
    width: 24px;
    height: 24px;
    font-size: 1rem;
  }

  .faq-answer p {
    font-size: 0.82rem;
  }
  /** FAQ section ends **/

  /** CTA banner starts **/
  .cta-banner {
    padding: 60px 5%;
  }

  .cta-banner h2 {
    font-size: 1.6rem;
    letter-spacing: -1px;
  }

  .cta-banner p {
    font-size: 0.95rem;
  }

  .btn-cta-main {
    font-size: 0.85rem;
    padding: 12px 20px;
    width: 100%;
    justify-content: center;
  }
  /** CTA banner ends **/

  /** Testimonials section starts **/
  .testimonial-card {
    width: 88vw;
    min-width: 260px;
    padding: 24px 18px;
  }

  .testimonial-final-text {
    width: 85vw;
    min-width: 260px;
  }
  /** Testimonials section ends **/

  /** Footer section starts **/
  footer {
    padding: 48px 4% 24px;
  }

  .footer-desc,
  .footer-col ul li a {
    font-size: 0.82rem;
  }
  /** Footer section ends **/
}
/** Bootstrap sm and down styles end **/

/** Responsive styles end **/
