

@media (min-width: 768px) {
  .lp { --lp-gutter: 24px; }
}
@media (min-width: 1200px) {
  .lp { --lp-gutter: 40px; }
}


@media (max-width: 1300px) {
  .lp-compare__cell--logo img{ height:17px; }
  .lp-compare__cell--age { padding-left: 20px; }
  .lp-compare__cell--tags { padding-left: 10px; padding-block: 5px; }
  .lp-compare__cell--desc { padding: 0 20px 0 20px; }
  .lp-compare__head span:first-child { padding-left: 10px; }
  .lp-compare__head span + span {
    padding-left: 20px;
  }
}

@media (max-width: 1199px) {
  .lp-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 42%); }
  .lp-compare__panel { padding-inline: 24px; }
}

@media (max-width: 991px) {
  /* hero */
  .lp-hero__inner { padding-bottom: 56px; }
  .lp-hero__content { margin-top: 48px; padding-left: 0; }
  .lp-features { margin-top: 48px; padding-left: 0; gap: 16px 20px; }
  .lp-features__item + .lp-features__item::before { margin-right: 10px; }

  /* karuzela produktów */
  .lp-products { padding-top: 0; }
  .lp-products::before { top: -40px; height: 742px; }
  .lp-products__track {
    display: flex;
    gap: 21px;
    margin-inline: calc(-1 * var(--lp-gutter));
    padding: 30px var(--lp-gutter) 40px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--lp-gutter);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .lp-products__track::-webkit-scrollbar { display: none; }
  .lp-product {
    flex: 0 0 min(354px, calc(100vw - 2 * var(--lp-gutter) - 8px));
    scroll-snap-align: start;
  }
  .lp-kv { aspect-ratio: 354 / 245; }
  .lp-progress {
    display: block;
    position: relative;
    width: 111px;
    height: 5px;
    margin: 10px auto 0;
    overflow: hidden;
    border-radius: 1000px;
    background: var(--lp-gray);
  }
  .lp-progress__thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 46px;
    height: 100%;
    border-radius: inherit;
    background: var(--lp-navy);
    transform: translateX(calc(var(--lp-progress, 0) * 65px));
  }
  .lp-products__note { margin-top: 12px; }

  /* tabela -> lista */
  .lp-compare { padding: 31px 0; }
  .lp-compare__panel { padding: 52px 0 26px; }
  .lp-compare__head { display: none; }
  .lp-compare__group { padding-top: 0; border-top: 0; }
  .lp-compare__group + .lp-compare__group { margin-top: 40px; }
  .lp-compare__row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    min-height: 0;
    padding-inline: 20px;
    text-align: center;
  }
  .lp-compare__cell {
    justify-content: center;
    padding: 0;
    border: 0;
    font-size: 14px;
  }
  .lp-compare__cell--desc { max-width: 316px; padding: 0; }
  .lp-compare__cell--tags { padding: 20px 0 0; }
  .lp-tags { justify-content: center; max-width: 300px; }
  .lp-compare__cell--btn { padding-top: 20px; }
  .lp-compare__note { margin-top: 0; padding: 20px 20px 0; font-size: 10px; }
  .lp-compare__note--mobile { display: block; }
  .lp-compare__note--desktop { display: none; }
  .lp-variants,
  .lp-product--neo .lp-variants,
  .lp-product--benzy .lp-variants { margin-top: 0; }
  .lp .lp-variants__toggle { padding: 20px 0; font-size: 12px; }

  
  .lp-variants__list {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 24px;
    padding: 10px 20px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    scrollbar-width: none;
  }
  .lp-variants__list::-webkit-scrollbar { display: none; }
  .lp-variant { scroll-snap-align: start; }
  .lp-variant:only-child,
  .lp-variant:first-child:nth-last-child(2) { scroll-snap-align: center; }
  .lp-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 16px 0 8px;
  }
  .lp .lp-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border-radius: 50%;
    background: #d9dee4;
    transition: background .2s;
  }
  .lp .lp-dots button[aria-current="true"] { background: var(--lp-navy); }

  
  .lp-dots[hidden],
  .lp-progress[hidden] { display: none; }

  
  .lp-variant:first-child { margin-left: auto; }
  .lp-variant:last-child { margin-right: auto; }


  .lp-compare__cell--logo img{ height:32px; }
}

/* ----- mobile ----- */
@media (max-width: 767px) {
  .lp-hero { background-image: url("../img/bg-hero-mobile.svg"); }
  .lp-hero__inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    justify-items: center;
    padding-top: 6px;
    padding-bottom: 44px;
    text-align: center;
  }
  .lp-hero__media {
    grid-column: 1;
    grid-row: 1;
    width: 350px;
    margin: 0;
  }
  .lp-hero__content {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 18px;
  }
  .lp-hero__title { font-size: 42px; }
  .lp-hero__lead { margin-top: 14px; font-size: 18px; }
  .lp-hero__text { margin-top: 14px; font-size: 18px; }
  .lp-btn--teal {
    min-height: 38px;
    margin-top: 23px;
    padding: 10px 26px 10px 32px;
    font-size: 18px;
    gap: 7px;
  }
  .lp-btn--teal .lp-btn__icon { width: 5px; height: 9px; }
  .lp-features {
    grid-column: 1;
    grid-row: 3;
    justify-content: center;
    gap: 10px 20px;
    margin-top: 24px;
  }
  .lp-features__item { gap: 7px; font-size: 14px; }
  .lp-features__item img { width: 36px; height: 36px; }
  .lp-features__item + .lp-features__item::before { width: 1px; height: 40px; margin-right: 10px;}

  .lp-intro { padding: 0 0 18px; }
  .lp-intro__inner { gap: 26px; }
  .lp-intro__title { font-size: 32px; line-height: 1.36; }
  .lp-intro__text { font-size: 16px; }

  .lp-legal { padding: 10px 0; }
  .lp-legal p { margin-bottom: 10px; }
  .lp-legal__owner { padding-block: 20px; text-align: left; }
  .lp .lp-legal__warning { margin-bottom: 20px; }

  .lp-card__age{ font-size:13px; }
  .lp-symptoms li{ font-size:11.5px; }
  .lp-symptoms img{ width:56px; height:56px; }
  .lp .lp-acc__btn{ font-size:14px; }
  .lp-btn{ font-size:14px; min-height:48px; }
  .lp-products__note{ font-size:10px; }

  .lp-compare__cell--logo img{ height:20px; }


  .lp .lp-legal__warning{ font-size:16px; }
}


@media (max-width: 700px) {

  .lp-features__item { font-size: 12px; }

}

@media (max-width: 605px) {

  .lp-features__item:last-of-type { flex-basis: 100%; justify-content: center; }
  .lp-features__item:last-of-type::before { display: none; }

}


@media (max-width: 500px) {
  .lp-hero__media{ width:60%; }
  .lp-hero__title { font-size: 36px; }
  .lp-hero__lead { font-size: 16px; }
  .lp-hero__text { font-size: 16px; }
  .lp-btn--teal { font-size:14px; }
  .lp-features__item { font-size: 10px; }

  .lp-features__item img{ width:33px; height:33px; }
  .lp-features__item{ gap:5px; }
  .lp-features{ gap:10px 12px; }
  .lp-features__item + .lp-features__item::before{ margin-right:4px; height:35px; }
}

@media (prefers-reduced-motion: reduce) {
  .lp *,
  .lp *::before,
  .lp *::after {
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
