.vb-age-products,
.vb-age-products *,
.vb-age-products *::before,
.vb-age-products *::after {
  box-sizing: border-box;
}

.vb-age-products {
  padding: 96px 20px 96px;
  background: #f5f5f5;
}

.vb-age-products__inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.vb-age-products__section + .vb-age-products__section {
  margin-top: 60px;
}

.vb-age-products__section {
  padding: 32px;
  border-radius: 32px;
  background: #ffffff99;
}

.vb-age-products__section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.vb-age-products__title,
.vb-age-products__title-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: #4b3f3b;
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}

.vb-age-products__title-icon {
  width: 20px;
  height: 20px;
  color: #4b3f3b;
}

.vb-age-products__title-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.vb-age-products__tabs {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.vb-age-products__tab {
  min-height: 25px;
  padding: 10px 16px;
  border: 0;
  border-radius: 100px;
  background: #eeeae1;
  color: #4b3f3b;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    opacity 0.2s ease;
}

.vb-age-products__tab.is-active {
  background: #4b3f3b;
  color: #ffffff;
}

.vb-age-products__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: start;
}

.vb-age-products__media {
  overflow: hidden;
  border-radius: 22px;
  background: #efe6e0;
}

.vb-age-products__image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 0.92;
  object-fit: cover;
}

.vb-age-products__panel {
  display: block;
}

.vb-age-products__panel[hidden] {
  display: none !important;
}

.vb-age-products__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.vb-age-products__list--large {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.vb-age-products__list--small {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.vb-age-products__list li.product.vb-product-card {
  width: 100%;
  max-width: none;
  margin: 0;
  justify-self: stretch;
}

.vb-age-products__list li.product.vb-product-card .vb-product-card__inner,
.vb-age-products__list li.product.vb-product-card .vb-product-card__media,
.vb-age-products__list li.product.vb-product-card .vb-product-card__image-link,
.vb-age-products__list li.product.vb-product-card .vb-product-card__cta {
  width: 100%;
  max-width: 100%;
}

.vb-age-products__list li.product.vb-product-card .vb-product-card__title {
  max-width: 100%;
}

.vb-age-products__list--large
  li.product.vb-product-card
  .vb-product-card__image-link {
  aspect-ratio: 1 / 0.93;
}

.vb-age-products__list--small
  li.product.vb-product-card
  .vb-product-card__image-link {
  aspect-ratio: 1 / 1;
}

.vb-age-products__list--large
  li.product.vb-product-card
  .vb-product-card__content {
  padding-inline: 4px;
}

.vb-age-products__list--small
  li.product.vb-product-card
  .vb-product-card__inner {
  gap: 8px;
}

.vb-age-products__list--small
  li.product.vb-product-card
  .vb-product-card__cta
  .button,
.vb-age-products__list--small
  li.product.vb-product-card
  .vb-product-card__cta
  .vb-product-card__button {
  min-height: 30px;
  padding: 8px 10px;
  font-size: 11px;
}

.vb-age-products__list--small
  li.product.vb-product-card
  .vb-product-card__cta
  .button::before,
.vb-age-products__list--small
  li.product.vb-product-card
  .vb-product-card__cta
  .vb-product-card__button::before {
  width: 12px;
  height: 12px;
}

.vb-age-products__list--small
  li.product.vb-product-card
  .vb-product-card__title {
  font-size: 15px;
  line-height: 1.25;
}

.vb-age-products__list--small li.product.vb-product-card .price {
  font-size: 15px;
}

.vb-age-products__list--small li.product.vb-product-card .price .amount {
  font-size: 15px;
}

@media (max-width: 1024px) {
  .vb-age-products__section {
    padding: 24px 20px 24px;
  }

  .vb-age-products__layout {
    grid-template-columns: 1fr;
  }

  .vb-age-products__media {
    max-width: 520px;
  }

  .vb-age-products__list--small {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .vb-age-products {
    padding: 24px 20px 20px;
  }

  .vb-age-products__section {
    padding: 18px 12px 18px;
    border-radius: 28px;
  }

  .vb-age-products__section + .vb-age-products__section {
    margin-top: 32px;
  }

  .vb-age-products__section-head {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-bottom: 14px;
  }

  .vb-age-products__title,
  .vb-age-products__title-link {
    justify-content: space-between;
    width: 100%;
    font-size: 24px;
  }

  .vb-age-products__tabs {
    justify-content: flex-start;
    gap: 10px;
  }

  .vb-age-products__tab {
    min-height: 40px;
    padding: 10px 16px;
    font-size: 16px;
  }

  .vb-age-products__layout {
    gap: 18px;
  }

  .vb-age-products__media {
    max-width: none;
    border-radius: 18px;
  }

  .vb-age-products__image {
    aspect-ratio: 1 / 0.75;
  }

  .vb-age-products__list--large {
    gap: 10px;
  }

  .vb-age-products__list--small {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
  }

  .vb-age-products__list--large
    li.product.vb-product-card
    .vb-product-card__title {
    font-size: 16px;
    line-height: 1.25;
  }

  .vb-age-products__list--large li.product.vb-product-card .price {
    font-size: 16px;
  }

  .vb-age-products__list--small
    li.product.vb-product-card
    .vb-product-card__title {
    font-size: 15px;
  }

  .vb-age-products__list--small li.product.vb-product-card .price,
  .vb-age-products__list--small li.product.vb-product-card .price .amount {
    font-size: 15px;
  }
}
