:root {
  color: #15213a;
  font-family: "Vazirmatn", Tahoma, ui-sans-serif, system-ui, sans-serif;
  background: #f5f8ff;
}

* {
  box-sizing: border-box;
}

body {
  background: #f5f8ff;
  color: #15213a;
  margin: 0;
}

a {
  color: inherit;
}

.seo-topbar {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid #e1e8f4;
  display: flex;
  justify-content: space-between;
  min-height: 66px;
  padding: 10px clamp(16px, 4vw, 48px);
}

.seo-brand {
  align-items: center;
  color: #15213a;
  display: inline-flex;
  gap: 9px;
  text-decoration: none;
}

.seo-brand-mark {
  align-items: center;
  background: #005cff;
  border-radius: 12px;
  color: #fff;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  letter-spacing: -0.04em;
  width: 34px;
}

.seo-brand strong {
  font-size: 20px;
  letter-spacing: -0.04em;
}

.seo-brand strong span {
  color: #005cff;
}

.seo-topbar-link,
.secondary-button,
.listing-detail-buy-button {
  align-items: center;
  border-radius: 10px;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 7px;
  min-height: 38px;
  padding: 0 14px;
  text-decoration: none;
}

.seo-topbar-link,
.secondary-button {
  background: #eaf2ff;
  border: 1px solid #c9dbfb;
  color: #005cff;
}

.seo-page {
  margin: 0 auto;
  max-width: 1180px;
  padding: 22px clamp(16px, 4vw, 48px) 48px;
}

.listing-detail-breadcrumb {
  align-items: center;
  color: #6c7ead;
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 8px;
  margin: 0 0 14px;
}

.listing-detail-breadcrumb a {
  color: #005cff;
  font-weight: 800;
  text-decoration: none;
}

.listing-detail-breadcrumb strong {
  font-weight: 500;
}

.listing-detail-shell {
  display: grid;
  gap: 20px;
  margin: 0 auto;
  max-width: 1150px;
}

.listing-detail-hero,
.listing-detail-parts-section,
.listing-contact-section {
  background: #fff;
  border: 1px solid #e1e8f4;
  border-radius: 26px;
  box-shadow: 0 14px 36px rgba(15, 54, 105, 0.08);
}

.listing-detail-hero {
  display: grid;
  gap: 28px;
  grid-template-columns: 320px minmax(0, 1fr);
  padding: 24px;
}

.listing-detail-photo {
  aspect-ratio: 1;
  background: #eaf2ff;
  border-radius: 22px;
  display: block;
  height: auto;
  justify-self: center;
  max-width: 320px;
  object-fit: contain;
  width: min(100%, 320px);
}

.listing-detail-placeholder {
  align-items: center;
  color: #536683;
  display: flex;
  font-size: 14px;
  font-weight: 800;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.listing-detail-summary {
  min-width: 0;
}

.listing-detail-summary h1 {
  color: #15213a;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.45;
  margin: 0 0 16px;
}

.listing-detail-info-table,
.listing-detail-parts-table {
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  width: 100%;
}

.listing-detail-info-table {
  background: #f8fbff;
  border: 1px solid #dbe5f4;
  border-radius: 14px;
  margin: 0 0 12px;
}

.listing-detail-info-table th,
.listing-detail-info-table td {
  border-bottom: 1px solid #e5edf8;
  padding: 10px 12px;
  text-align: right;
}

.listing-detail-info-table tr:last-child th,
.listing-detail-info-table tr:last-child td {
  border-bottom: 0;
}

.listing-detail-info-table th {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  width: 38%;
}

.listing-detail-info-table td {
  color: #15213a;
  font-size: 13px;
  font-weight: 800;
}

.listing-detail-description-field {
  background: #f8fbff;
  border: 1px solid #dbe5f4;
  border-radius: 14px;
  margin-top: 12px;
  padding: 12px 14px;
}

.listing-detail-description-field h2,
.listing-detail-description-field h3,
.listing-detail-description-field h4 {
  font-size: 14px;
  margin: 0 0 6px;
}

.listing-detail-description-field p {
  color: #536683;
  line-height: 1.9;
  margin: 0;
  white-space: pre-wrap;
}

.listing-detail-hero-contact,
.listing-contact-section {
  align-items: center;
  background: #f4f8ff;
  border: 1px solid #dbe5f4;
  border-radius: 14px;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-top: 12px;
  padding: 11px 13px;
}

.listing-detail-hero-contact > div,
.listing-contact-section > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.listing-detail-hero-contact strong,
.listing-contact-section h2 {
  font-size: 14px;
  margin: 0;
}

.listing-detail-hero-contact small,
.listing-contact-section p {
  color: #64748b;
  font-size: 11px;
  line-height: 1.7;
  margin: 0;
}

.listing-detail-hero-contact .secondary-button,
.listing-contact-section .secondary-button {
  background: #005cff;
  border-color: #005cff;
  color: #fff;
  flex: 0 0 auto;
}

.listing-detail-parts-section {
  padding: 20px;
}

.listing-detail-parts-section h2 {
  font-size: 19px;
  margin: 0 0 14px;
}

.listing-detail-table-wrapper {
  overflow-x: auto;
}

.listing-detail-parts-table {
  min-width: 520px;
}

.listing-detail-parts-table th,
.listing-detail-parts-table td {
  border-bottom: 1px solid #e5edf8;
  padding: 12px 10px;
  text-align: right;
}

.listing-detail-parts-table th {
  background: #f4f8ff;
  color: #64748b;
  font-size: 12px;
}

.listing-detail-parts-table td {
  color: #15213a;
  font-size: 13px;
}

.listing-detail-parts-table tr:last-child td {
  border-bottom: 0;
}

.listing-detail-part-name,
.listing-detail-price {
  font-weight: 900;
}

.listing-detail-part-status {
  color: #64748b;
}

.listing-detail-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.listing-detail-buy-button {
  background: #005cff;
  border: 1px solid #005cff;
  color: #fff;
}

.listing-contact-section {
  margin-top: 0;
}

.listing-contact-section h2 {
  font-size: 15px;
}

@media (max-width: 720px) {
  .seo-topbar {
    min-height: 58px;
    padding-inline: 16px;
  }

  .seo-topbar-link {
    font-size: 11px;
    min-height: 34px;
    padding-inline: 10px;
  }

  .seo-brand strong {
    font-size: 18px;
  }

  .seo-page {
    padding: 16px 12px 32px;
  }

  .listing-detail-hero {
    gap: 16px;
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .listing-detail-photo {
    max-width: min(100%, 300px);
  }

  .listing-detail-parts-section {
    padding: 14px;
  }

  .listing-detail-hero-contact,
  .listing-contact-section {
    align-items: stretch;
    flex-direction: column;
  }

  .listing-detail-hero-contact .secondary-button,
  .listing-contact-section .secondary-button,
  .listing-detail-buy-button {
    justify-content: center;
    width: 100%;
  }
}
