@import url(/CSS/header,footer-styles.css);

.titleprice {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 15px;
}

.titleprice h2 {
  font-family: Open Sans, sans-serif;
  font-size: 40px;
  font-weight: 700;
}

.prices-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 20px;
  padding: 20px;
}

.prices-cards article {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.prices-cards article:hover {
  transform: translateY(-5px);
  box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.15);
}

.service-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  padding-bottom: 10px;
}

.service-info-img {
  max-width: 30px;
}

.service-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px solid #ddd;
}

.service-price:last-child {
  border-bottom: none;
}

.service-price p:last-child {
  max-width: 200px;
  text-align: right;
}

@media (max-width: 768px) {
  .prices-cards {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
}
