* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial;
}

.span {
  margin-left: 25px;
}

.largebox {
  width: 100%;
  height: 342px;
  background-image: url("/static/images/cover.jpg");
  background-position: center;
  background-size: cover;
  display: flex;
  position: relative;
}

.breadcrumb {
  padding: 37px 0;
  padding-left: 20px;
  font-size: 18px;
  color: #555;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #e0e0e0;
}

.breadcrumb-link {
  color: #555;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  position: relative;
}

.breadcrumb-link:hover {
  color: #555;
}

.breadcrumb-separator {
  color: #b30000;
  font-weight: bold;
}

.breadcrumb-current {
  color: #333;
  font-weight: 400;
  font-size: 15px;
}

.description {
  max-width: 1349px;
  margin: 0 auto;
  padding: 0 15px 15px;
  border-bottom: 9px solid #2c3545;
}

.first__content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 30px 15px;
}

.first__img {
  flex: 1 1 300px;
  max-width: 500px;
}

.product__info {
  flex: 1 1 300px;
  padding: 0 20px;
}

.first__title {
  font-size: 40px;
  margin-bottom: 25px;
  color: #2c3545;
}

.first__text,
.second__text,
.moreinfo__firsttext,
.moreinfo__secondtext {
  font-size: 17px;
  text-align: justify;
  margin-bottom: 30px;
  line-height: 1.5;
}

.product-detail-characteristics {
  padding: 60px 30px;
  display: flex;
  justify-content: center;
}

.characteristics-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  width: 100%;
}

.machine-images {
  flex: 1 1 300px;
  display: flex;
  gap: 20px;
}

.machine-image {
  max-height: 300px;
}

.specs-block {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
}

.specs-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 24px;
  border-bottom: 2px solid #2c3545;
  display: inline-block;
}

.specs-extra-wrapper {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.3s ease;
  pointer-events: none;
}

.specs-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.specs-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #333;
}

.specs-toggle {
  margin-top: 24px;
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  font-weight: 600;
}

.specs-toggle:hover {
    color: #2c3545;
}

.instruction-button {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 32px;
  padding: 10px 20px;
  background: #111;
  color: white;
  border-radius: 999px;
  text-decoration: none;
}

.instruction-button:hover {
    background-color: #2c3545;
}

.price {
  text-align: center;
  margin-top: 32px;
  padding: 10px 20px;
  background: #2c3545;
  color: white;
  border-radius: 999px;
}

@media (max-width: 992px) {
  .first__content {
    flex-direction: column;
    align-items: center;
  }

  .first__img {
    max-width: 100%;
    margin-top: 20px;
  }

  .product__info {
    padding: 0;
  }

  .first__title {
    font-size: 28px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .largebox {
    height: 200px;
  }

  .first__title {
    font-size: 24px;
  }

  .first__text,
  .second__text {
    font-size: 15px;
  }

  .breadcrumb {
    font-size: 14px;
  }
}