﻿section {
  scroll-margin-top: 182px;
}

.gallery .picture-card img {
  height: 225px;
}

.info-icon {
  width: 46px;
  height: 46px;
  aspect-ratio: 1 / 1;
}

.how-intake img {
  height: 177px;
  object-fit: cover;
}

.como-age-content p {
  font-family: var(--font-inter-tight);
  font-size: var(--s16px);
  line-height: 1.3;
  color: var(--font3);
}

.card-how-works {
  height: 106px;
}

  .how-intake .divider,
  .card-how-works .divider {
    width: 80px;
  }

  .card-how-works img {
    height: 100%;
  }

.product-spec-header {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s32px);
  text-align: left;
}

  .product-spec-header i {
    transition: transform .25s ease;
  }

.points-btn-container {
  padding-block-end: var(--s18px);
}

.points-value {
  top: 108px;
  left: 64px;
}

@media (min-width: 48em) {
  .info-icon {
    width: 66px;
    height: 66px;
    aspect-ratio: 1 / 1;
  }

  .points-btn-container {
    padding-block-end: var(--s28px);
    padding-inline-end: var(--s38px);
  }

  .points-value {
    top: 204px;
    left: 110px;
  }
}

@media (min-width: 62em) {
  .overview {
    max-width: 490px;
  }

  .section-nav {
    width: calc(100% + 16px);
    margin-left: -8px;
    position: sticky;
    top: 120px;
    padding: 24px 8px;
    background-color: var(--offwhite);
    border-radius: 8px;
    z-index: 9;
  }

    .section-nav .section-nav-list {
      border-bottom: 1px solid var(--magenta-ternary-3);
    }

      .section-nav .section-nav-list .section-nav-link {
        font-weight: var(--light);
        text-decoration: none;
        padding-block: var(--s8px);
      }

        .section-nav .section-nav-list .section-nav-link.active {
          font-weight: var(--semi-bold);
          position: relative;
        }

          .section-nav .section-nav-list .section-nav-link.active::before {
            content: "";
            width: 100%;
            border-bottom: 3px solid var(--magenta-primary-2);
            display: block;
            bottom: -2px;
            position: absolute;
            border-radius: 2px;
          }

  .product-spec-header:not(.desktop) {
    display: none;
  }

  /* Accordion fechado */
  .product-spec-section.desktop:not(.is-open) > :not(.product-spec-header) {
    display: none;
  }

  /* Accordion aberto */
  .product-spec-section.desktop.is-open .product-spec-header .plus-icon,
  .product-spec-section.desktop:not(.is-open) .product-spec-header .minus-icon {
    display: none;
  }

  .product-spec-section.desktop.is-open .product-spec-header .minus-icon,
  .product-spec-section.desktop:not(.is-open) .product-spec-header .plus-icon {
    display: block;
  }


  .gallery {
    max-width: 330px;
    height: fit-content;
    position: sticky;
    top: 120px;
    align-self: self-start;
  }

  .how-intake h3 {
    width: 120px;
  }

  .how-intake img {
    height: 232px;
  }

  .como-age-content p {
    font-size: var(--s18px);
  }

  .card-how-works {
    min-height: 262px;
    height: auto;
  }

    .card-how-works img {
      height: 132px;
    }

  .points-btn-container {
    padding-block-end: var(--s18px);
    padding-inline-end: var(--s22px);
  }

  .points-value {
    top: 130px;
    left: 80px;
  }
}

@media (min-width: 75em) {
  .overview {
    max-width: 600px;
  }

  .gallery {
    max-width: unset;
  }

    .gallery .picture-card img {
      height: 450px;
    }

  .points-value {
    top: 165px;
    left: 94px;
  }

  .points-btn-container {
    padding-block-end: var(--s24px);
    padding-inline-end: var(--s30px);
  }
}

/* Mobile */
@media (max-width: calc(62em - 1px)) {
  /* Accordion fechado */
  .product-spec-section:not(.is-open) > :not(.product-spec-header) {
    display: none;
  }

  /* Accordion aberto */
  .product-spec-section.is-open .product-spec-header .plus-icon,
  .product-spec-section:not(.is-open) .product-spec-header .minus-icon {
    display: none;
  }

  .product-spec-section.is-open .product-spec-header .minus-icon,
  .product-spec-section:not(.is-open) .product-spec-header .plus-icon {
    display: block;
  }

  .product-spec-section {
    border-bottom: 3px solid #F0F0F0;
  }

    .product-spec-section:last-of-type {
      border-bottom: none;
    }
}
