/* Hurda Fiyatlari sayfasina ozel stiller */

.prices-page {
  background: #f7f9fb;
}

.prices-hero {
  position: relative;
  min-height: 320px;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.prices-hero__bg {
  position: absolute;
  inset: 0;
}

.prices-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(12, 32, 10, 0.92) 0%, rgba(35, 72, 20, 0.88) 50%, rgba(55, 95, 32, 0.82) 100%);
}

.prices-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prices-hero__content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 40px 0;
}

.prices-hero__content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.prices-hero__content p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.94);
}

.prices-main {
  padding: 46px 0 64px;
}

.prices-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.prices-card {
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 10px;
  padding: 24px;
}

.prices-note {
  background: #edf7e8;
  border: 1px solid #d3e7c9;
  color: #8bc34a;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 20px;
  font-size: 14px;
}

.prices-content h2 {
  font-size: 2rem;
  margin: 34px 0 16px;
  color: #8bc34a;
  font-weight: 800;
}

.prices-content h3 {
  font-size: 1.12rem;
  margin: 16px 0 8px;
  color: #2f2f2f;
}

.prices-content p {
  color: #585858;
  margin: 0 0 12px;
}

.price-table-wrap {
  overflow-x: auto;
  margin: 14px 0 24px;
}

.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 10px 10px;
  min-width: 520px;
}

.price-table th,
.price-table td {
  border: 0;
  padding: 10px 12px;
  font-size: 14px;
}

.price-table th {
  background: #e6f5e8;
  color: #8bc34a;
  text-align: left;
  border-left: 4px solid #8bc34a;
  border-radius: 8px;
  font-size: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 800;
}

.price-table th + th {
  display: none;
}

.price-table tbody {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.price-table tbody tr {
  background: #edf6ef;
  border: 1px solid #dcece0;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 84px;
  text-align: center;
  padding: 6px 10px;
}

.price-table tbody td:first-child {
  font-weight: 700;
  color: #8bc34a;
  font-size: 15px;
}

.price-table td:last-child {
  white-space: nowrap;
  font-weight: 700;
  color: #8bc34a;
  font-size: 20px;
  line-height: 1.1;
}

.metal-intro {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 12px;
}

.metal-intro img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 14px;
  border: 3px solid #d6e8da;
}

.metal-intro__text p {
  margin-bottom: 10px;
}

.prices-content h2[id],
.prices-content h2 + .metal-intro {
  scroll-margin-top: 110px;
}

.prices-content .metal-heading {
  border: 1px solid #d9e8dd;
  border-radius: 16px 16px 0 0;
  padding: 16px 18px 0;
  margin-bottom: 0;
}

.prices-content .metal-heading + .metal-intro,
.prices-content .metal-heading + p,
.prices-content .metal-heading + .price-table-wrap {
  border-left: 1px solid #d9e8dd;
  border-right: 1px solid #d9e8dd;
  padding-left: 18px;
  padding-right: 18px;
}

.prices-content .metal-heading + .metal-intro + .price-table-wrap,
.prices-content .metal-heading + p + .price-table-wrap,
.prices-content .metal-heading + .metal-intro + h3 {
  border-bottom: 1px solid #d9e8dd;
  padding-bottom: 18px;
  border-radius: 0 0 16px 16px;
}

.prices-image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.prices-image-grid img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
}

.prices-highlight {
  border-left: 4px solid #8bc34a;
  background: #f8fff5;
  padding: 12px 14px;
  margin: 12px 0 16px;
}

@media (max-width: 992px) {
  .price-table tbody {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metal-intro {
    grid-template-columns: 1fr;
  }

  .metal-intro img {
    height: 210px;
  }

  .prices-image-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .prices-page .top-bar {
    display: none;
  }

  .prices-hero {
    min-height: 210px;
  }

  .prices-hero__content {
    padding: 22px 0;
  }

  .prices-hero__content h1 {
    font-size: 1.7rem;
    margin-bottom: 6px;
  }

  .prices-hero__content p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .prices-main {
    padding: 18px 0 44px;
  }

  .prices-card {
    padding: 14px;
    border-radius: 8px;
  }

  .prices-content h2 {
    font-size: 1.55rem;
    margin: 22px 0 10px;
  }

  .prices-content h3 {
    font-size: 1rem;
  }

  .prices-content .metal-heading {
    padding: 12px 12px 0;
    border-radius: 10px 10px 0 0;
  }

  .prices-content .metal-heading + .metal-intro,
  .prices-content .metal-heading + p,
  .prices-content .metal-heading + .price-table-wrap {
    padding-left: 12px;
    padding-right: 12px;
  }

  .prices-content .metal-heading + .metal-intro + .price-table-wrap,
  .prices-content .metal-heading + p + .price-table-wrap,
  .prices-content .metal-heading + .metal-intro + h3 {
    padding-bottom: 12px;
    border-radius: 0 0 10px 10px;
  }

  .metal-intro {
    gap: 10px;
    margin-bottom: 8px;
  }

  .metal-intro img {
    height: 150px;
  }

  .price-table tbody {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .price-table th {
    font-size: 16px;
    letter-spacing: 0.3px;
  }

  .price-table {
    min-width: 0;
    border-spacing: 8px;
  }

  .price-table td:last-child {
    font-size: 18px;
  }

  .prices-image-grid {
    grid-template-columns: 1fr;
  }
}
