/* ===========================
   ABOUT
=========================== */

.about {
  padding: 40px 0 80px;
}

.about__container {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
}

/* ===========================
   BREADCRUMB
=========================== */

.cart-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid #d9d9d9;
  font-size: 14px;
}

.cart-breadcrumb a,
.cart-breadcrumb span {
  color: #8a8a8a;
}

.cart-breadcrumb a {
  text-decoration: none;
}

/* ===========================
   TITLE
=========================== */

.about__title {
  margin: 0 0 48px;
  color: #000;
  font-family: "Poppins", sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 48px;
}

/* ===========================
   SECTIONS
=========================== */

.about__section {
  display: flex;
  justify-content: space-between;
  gap: 70px;
  margin-bottom: 70px;
}

.about__section--first {
  align-items: center;
}

.about__section--second {
  align-items: flex-start;
}

.about__content {
  flex: 1;
}

.about__image {
  flex: 0 0 738px;
  width: 738px;
  height: 389px;
  overflow: hidden;
  border-radius: 10px;
}

.about__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__item:not(:last-child) {
  margin-bottom: 40px;
}

.about__item h2 {
  margin: 0 0 20px;
  color: #304d2c;
  font-family: "Roboto", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 24px;
}

.about__item p {
  margin: 0;
  color: #000;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
}

/* ===========================
   TABLET
=========================== */

@media (max-width: 992px) {
  .about {
    padding: 30px 0 60px;
  }

  .about__section {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  .about__section--first .about__image,
  .about__section--second .about__image {
    order: -1;
  }

  .about__image {
    flex: none;
    width: 100%;
    height: auto;
  }

  .about__image img {
    width: 100%;
    height: auto;
    aspect-ratio: 738 / 389;
    object-fit: cover;
  }

  .about__item h2 {
    font-size: 26px;
  }
}

/* ===========================
   MOBILE
=========================== */

@media (max-width: 390px) {
  .about__container {
    width: calc(100% - 24px);
  }

  .cart-breadcrumb {
    margin-bottom: 24px;
    font-size: 12px;
  }

  .about__title {
    margin-bottom: 24px;
  }

  .about__section {
    gap: 24px;
    margin-bottom: 40px;
  }

  .about__item:not(:last-child) {
    margin-bottom: 24px;
  }

  .about__item h2 {
    margin-bottom: 12px;
    font-size: 22px;
  }

  .about__item p {
    line-height: 1.7;
  }

  .about__image {
    border-radius: 8px;
  }
}