.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.detail-header {
  margin-bottom: 4px;
}

.detail-main {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  gap: 16px;
  align-items: start;
}

.detail-content {
  display: grid;
  gap: 16px;
}

.service-hero {
  padding: 28px;
}

.service-short {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 1rem;
  max-width: 70ch;
}

.service-hero-media {
  margin: 16px 0 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.74);
}

.service-hero-media img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.detail-block {
  padding: 26px;
}

.step-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.step-card {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.68);
  padding: 14px;
}

.step-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 142, 180, 0.12);
  color: #0d607f;
}

.step-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-card h3 {
  margin-top: 10px;
  font-size: 1.03rem;
}

.step-card p {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.price-table-wrap {
  margin-top: 14px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.78);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
}

.price-table th,
.price-table td {
  padding: 12px 14px;
  text-align: left;
}

.price-table th {
  background: rgba(15, 129, 167, 0.12);
  color: #0c5d7a;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.price-table td {
  border-top: 1px solid rgba(8, 70, 94, 0.1);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.stock-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.stock-item {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.74);
}

.stock-item img {
  width: 100%;
  height: 166px;
  object-fit: cover;
}

.related-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.related-card {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.74);
  padding: 14px;
}

.related-card h3 {
  font-size: 1rem;
}

.related-card p {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.related-link {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: #0a6282;
  font-weight: 600;
}

.contact-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.contact-grid article {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.74);
  padding: 14px;
}

.contact-grid h3 {
  font-size: 1rem;
}

.contact-grid p {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.booking-sticky {
  position: sticky;
  top: 16px;
}

.detail-footer {
  margin-top: 16px;
  padding: 14px 18px;
}

.detail-footer p {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.service-picker-row {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-pill {
  border-radius: 999px;
  border: 1px solid rgba(11, 107, 141, 0.2);
  background: rgba(255, 255, 255, 0.8);
  color: #0c607f;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 6px 10px;
}

.service-pill.is-active {
  background: linear-gradient(135deg, rgba(14, 141, 184, 0.2), rgba(44, 194, 224, 0.2));
  border-color: rgba(11, 107, 141, 0.38);
}

@media (max-width: 1100px) {
  .detail-main {
    grid-template-columns: 1fr;
  }

  .booking-sticky {
    position: static;
  }

  .step-grid,
  .stock-grid,
  .related-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .service-hero,
  .detail-block {
    padding: 18px;
  }

  .service-hero-media img {
    height: 220px;
  }

  .step-grid,
  .stock-grid,
  .related-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .price-table th,
  .price-table td {
    padding: 10px;
    font-size: 0.85rem;
  }
}
