/* Consolidated DS responsive layer: legacy media.css + product responsive overrides. */
/* Desktop */
@media (min-width: 1024px) {
  .container {
    padding-left: var(--landing-space-responsive-container-inline-desktop, 48px);
    padding-right: var(--landing-space-responsive-container-inline-desktop, 48px);
  }

  .reviews-track {
    justify-content: center;
  }

  .section-hero h2 {
    font-size: var(--landing-type-responsive-hero-title-desktop-size, 48px);
  }

  .section-hero .container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    column-gap: var(--landing-space-responsive-hero-columns-gap, 56px);
    row-gap: 0;
    padding-left: var(--landing-space-responsive-container-inline-desktop, 48px);
    padding-right: var(--landing-space-responsive-container-inline-desktop, 48px);
  }

  .section-hero .content {
    grid-column: 1;
  }

  .section-hero .img.desk {
    grid-column: 2;
    width: min(100%, var(--landing-size-hero-media-max-width, 34rem));
  }

  .section-hero .hero-media.desk {
    grid-column: 2;
  }
}

/* Tablet */
@media (min-width: 601px) and (max-width: 1023px) {
  section:not(.section-hero) h2 {
    font-size: var(--landing-type-responsive-section-h2-tablet-size, 32px);
  }

  .container {
    padding-left: clamp(24px, 4vw, 40px);
    padding-right: clamp(24px, 4vw, 40px);
  }

  .section-hero h2 {
    font-size: var(--landing-type-responsive-hero-title-tablet-size, 44px);
  }

  .section-hero .container {
    padding-left: var(--landing-space-responsive-container-inline-tablet, 24px);
    padding-right: var(--landing-space-responsive-container-inline-tablet, 24px);
    gap: 0;
  }

  .section-hero .img {
    margin-top: var(--landing-space-responsive-hero-image-margin-top, 32px);
  }

  #divflex {
    flex-wrap: nowrap;
  }

}

@media (max-width: 768px) {
  #divflex {
    flex-direction: column;
  }
}

/* Mobile */
@media (max-width: 600px) {
  section:not(.section-hero) h2 {
    font-size: var(--landing-type-responsive-section-h2-mobile-size, 30px);
    text-align: center;
  }

  section:not(.section-hero) h3 {
    font-size: var(--landing-type-responsive-section-h3-mobile-size, 20px);
    line-height: var(--landing-line-body-soft, 1.45);
    font-weight: 500;
    color: var(--landing-color-text-section-heading);
    margin-bottom: var(--landing-space-section-heading-margin-bottom, 24px);
  }

  .section-addon-results-subtitle {
    margin-bottom: 0;
  }

  .container {
    padding-left: var(--landing-space-responsive-container-inline-mobile, 20px);
    padding-right: var(--landing-space-responsive-container-inline-mobile, 20px);
  }

  .desk {
    display: none !important;
  }

  .mob {
    display: block !important;
  }

  .section-hero .img.mob {
    position: relative;
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    border-radius: var(--landing-radius-responsive-hero-image, 24px);
    margin-top: var(--landing-space-responsive-hero-image-margin-top, 32px);
    background: transparent;
  }

  .section-hero .img {
    width: 100%;
    max-width: 448px;
    margin-left: auto;
    margin-right: auto;
  }

  .video-embed__play {
    width: 64px;
    height: 64px;
  }

  .video-embed__label {
    font-size: 13px;
  }

  .section-hero h2 {
    font-size: var(--landing-type-responsive-hero-title-mobile-size, 30px);
    line-height: var(--landing-type-hero-h2-line-height, 1.1);
    margin-top: var(--landing-space-responsive-hero-title-margin-top-compact, 16px);
  }

  .section-hero h4 {
    font-size: var(--landing-type-responsive-hero-subtitle-mobile-size, 18px);
    line-height: var(--landing-line-body-soft, 1.45);
    margin-top: var(--landing-space-responsive-hero-subtitle-margin-top-compact, 12px);
    text-align: center;
  }

  .hero-badge {
    align-self: center;
    margin-inline: auto;
  }

  .hero-highlights {
    gap: var(--landing-space-responsive-hero-highlights-gap, 12px);
    margin-top: var(--landing-space-responsive-hero-highlights-margin-top, 8px);
    align-items: center;
  }

  .hero-highlights__title {
    text-align: center;
    font-size: var(--landing-type-responsive-hero-benefit-item-mobile-size, 16px);
  }

  .hero-highlights__chips {
    justify-content: center;
    gap: var(--landing-space-responsive-hero-highlights-gap, 12px);
  }

  .hero-highlights__chips span {
    font-size: var(--landing-type-responsive-proof-badge-mobile-size, 13px);
    padding: var(--landing-space-responsive-chip-padding, 6px 9px);
  }

  .hero-highlights__note {
    text-align: center;
    font-size: var(--landing-type-responsive-proof-quote-mobile-size, 15px);
  }

  .section-hero .content,
  .section-hero p,
  .section-hero .price,
  .section-hero .price span {
    text-align: center;
  }

  .section-hero .price span {
    font-size: var(--landing-type-responsive-hero-emphasis-mobile-size, 28px);
  }

  .section-hero .price .price-old {
    font-size: var(--landing-type-responsive-hero-price-old-mobile-size, 22px);
  }

  .section-hero .price .price-discount-badge,
  .section-offer .price .price-discount-badge {
    top: -8px;
    right: -36px;
    padding: 5px 9px;
    font-size: 13px;
  }

  .section-hero .promo-note,
  .section-offer .promo-note {
    gap: 8px;
    font-size: var(--landing-type-responsive-hero-price-note-mobile-size, 17px);
    justify-content: center;
    text-align: center;
    align-items: center;
  }

  .section-hero .promo-note__label,
  .section-offer .promo-note__label {
    font-size: 17px;
    line-height: 1.3;
  }

  .section-hero .promo-timer,
  .section-offer .promo-timer {
    font-size: var(--landing-type-responsive-hero-emphasis-mobile-size, 28px);
  }

  .section-hero #divprice .openModal {
    width: 100%;
    max-width: 100%;
    padding: var(--landing-space-responsive-cta-padding, 10px 32px);
    border-radius: var(--landing-radius-responsive-cta, 14px);
    font-size: var(--landing-type-responsive-cta-mobile-size, 18px);
    min-height: var(--landing-type-responsive-cta-mobile-min-height, 40px);
  }

  #menu .openModal {
    width: 100%;
    max-width: 100%;
    padding: var(--landing-space-responsive-cta-padding, 10px 32px);
    border-radius: var(--landing-radius-responsive-cta, 14px);
    font-size: var(--landing-type-responsive-cta-mobile-size, 18px);
    min-height: var(--landing-type-responsive-cta-mobile-min-height, 40px);
    font-weight: 700;
    line-height: var(--landing-line-heading, 1.2);
    box-shadow: none;
  }

  #menu {
    padding-left: var(--landing-space-responsive-sticky-inline, 16px);
    padding-right: var(--landing-space-responsive-sticky-inline, 16px);
  }

  .section-hero .container {
    padding-left: var(--landing-space-responsive-container-inline-mobile, 20px);
    padding-right: var(--landing-space-responsive-container-inline-mobile, 20px);
    gap: 0;
  }

  .section-hero #divprice {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--landing-space-responsive-hero-highlights-margin-top, 8px);
  }

  .section-hero #divprice p {
    font-size: var(--landing-type-responsive-inline-note-mobile-size, 12px);
    white-space: normal;
    text-align: center;
    margin-top: 0;
    display: block;
    width: 100%;
  }

  #divflex {
    flex-direction: column;
  }

  .section-solution h2 {
    margin-bottom: var(--landing-space-rhythm-24);
  }

  .bluebg h3,
  .bluebg strong {
    min-height: 0;
  }

  .bluebg h3 {
    margin-bottom: var(--landing-space-rhythm-20);
  }

  .section-format .items {
    padding: var(--landing-space-responsive-card-padding, 18px);
    gap: var(--landing-space-responsive-card-gap, 16px);
  }

  .help-why {
    width: calc(100% - (var(--landing-space-responsive-container-inline-mobile, 20px) * 2));
    max-width: calc(100% - (var(--landing-space-responsive-container-inline-mobile, 20px) * 2));
    margin-left: auto;
    margin-right: auto;
    padding: var(--landing-space-responsive-card-padding, 18px);
  }

  .reviews-track {
    gap: var(--landing-space-responsive-card-gap, 16px);
    padding: var(--landing-space-proof-reviews-track-padding-mobile, 0 20px);
  }

  .reviews-item {
    width: min(100%, 280px);
    max-width: min(100%, 280px);
  }

  .carousel-btn.prev {
    left: 4px;
  }

  .carousel-btn.next {
    right: 4px;
  }

  .section-offer .container {
    width: calc(100% - (var(--landing-space-responsive-container-inline-mobile, 20px) * 2));
    max-width: calc(100% - (var(--landing-space-responsive-container-inline-mobile, 20px) * 2));
    margin-left: auto;
    margin-right: auto;
    padding: var(--landing-space-responsive-card-padding, 18px);
    gap: var(--landing-space-responsive-card-gap, 16px);
  }

  .grid-item {
    width: 100%;
  }


  #iframe {
    width: 100%;
    height: var(--landing-size-responsive-iframe-height, 300px);
  }

  .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--landing-space-responsive-card-gap, 16px);
  }

  .footer {
    padding-bottom: var(--landing-space-responsive-footer-padding-bottom, 64px);
    padding-top: var(--landing-space-responsive-footer-padding-bottom, 64px);
  }

  .footer-section {
    width: auto;
    margin-bottom: 0;
  }

  #footer-left {
    flex-direction: column;
    align-items: center;
    gap: var(--landing-space-footer-social-gap, 12px);
  }

  #footer-center,
  #footer-right {
    text-align: center;
  }

  .footer-logo-payments {
    flex-direction: column;
    align-items: center;
    gap: var(--landing-space-responsive-footer-logo-gap, 10px);
  }

  .footer #footer-right .item {
    display: flex;
    justify-content: center;
    gap: var(--landing-space-footer-social-gap, 12px);
    margin-top: var(--landing-space-responsive-footer-item-margin-top, 10px);
  }

  .footer #footer-right .item a {
    display: inline-flex;
    align-items: center;
  }

  .footer #footer-right .item img {
    width: var(--landing-size-responsive-footer-social-icon, 32px);
    height: var(--landing-size-responsive-footer-social-icon, 32px);
    display: block;
  }


  .precheckout-modal__panel {
    width: min(100%, 520px);
    margin: 0;
    border-radius: var(--landing-radius-responsive-modal-panel, 20px);
    max-height: calc(100dvh - 24px);
    padding: var(--landing-space-responsive-modal-panel-padding, 24px 20px 22px);
  }

  .precheckout-modal h3 {
    font-size: var(--landing-type-responsive-precheckout-title-mobile-size, 28px);
  }

  .precheckout-modal__subtitle {
    font-size: var(--landing-type-responsive-precheckout-subtitle-mobile-size, 20px);
    margin-bottom: var(--landing-space-responsive-modal-subtitle-margin-bottom, 12px);
  }

  .precheckout-modal__submit {
    min-height: var(--landing-type-responsive-precheckout-submit-mobile-min-height, 46px);
    font-size: var(--landing-type-responsive-precheckout-submit-mobile-size, 16px);
  }
}


/* Product responsive overrides */
@media (min-width: 64rem) {
  .section-hero .container {
    max-width: var(--ds-container-max);
  }
}

@media (min-width: 37.5625rem) and (max-width: 63.9375rem) {
  .section-program,
  .section-format,
  .section-proof,
  .section-expert,
  .section-offer,
  .section-faq,
  .section-addon-results,
  .section-addon-foundations,
  .section-addon-protocol {
    padding-inline: var(--ds-space-4);
  }

  .section-program .grid-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .section-problem .items {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 48rem) {
  .section-expert .section-expert-grid {
    grid-template-columns: 1fr;
  }

  .section-addon-protocol .items {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 37.5rem) {
  .section-hero .openModal,
  .section-offer .openModal,
  [data-sticky-menu] .openModal {
    width: 100%;
  }

  .section-problem .items {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--landing-space-responsive-problem-gap, 12px);
  }

  .section-expert .section-expert-text {
    text-align: left;
    padding-right: 0;
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .section-expert .section-expert-image {
    position: relative;
    width: 100%;
    max-width: 360px;
    right: 0;
    top: auto;
    transform: none;
    display: block;
  }

  .section-expert h2 {
    text-align: center;
    display: block;
  }

  .section-expert p,
  .section-expert ul {
    text-align: left;
  }

  .section-program .lesson {
    padding: var(--landing-space-responsive-lesson-padding, 5px 10px);
    font-size: var(--landing-type-responsive-program-lesson-mobile-size, 14px);
  }

  .section-program .items {
    padding: var(--landing-space-responsive-card-padding, 18px);
    width: 100%;
    max-width: 100%;
  }

  .section-program .grid-container {
    grid-template-columns: 1fr;
    gap: var(--landing-space-responsive-card-gap, 16px);
  }

  .section-addon-foundations .grid-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--landing-space-responsive-grid-gap-xs, 10px);
  }

  .section-addon-foundations .grid-item {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: var(--landing-space-responsive-foundations-item-padding, 16px 10px);
  }

  .section-addon-foundations .divicon {
    width: var(--landing-size-responsive-foundations-icon, 68px);
    height: var(--landing-size-responsive-foundations-icon, 68px);
  }

  .section-addon-foundations .divp {
    font-size: var(--landing-type-responsive-addon-foundations-mobile-size, 14px);
    line-height: var(--landing-line-caption, 1.35);
  }
}
