/* seedz1 product detail — aligned with products-list / Smith tokens */

.product-detail-page .hero--pd .hero__headline {
  word-break: break-word;
}

.product-detail-page .pd {
  padding: 40px 0 80px;
  background: #fff;
}

.pd-breadcrumb {
  margin-bottom: 28px;
}

.pd-breadcrumb__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 0;
  color: #6d7586;
  font-size: 14px;
}

.pd-breadcrumb__item {
  display: inline-flex;
  align-items: center;
}

.pd-breadcrumb__item:not(:last-child)::after {
  content: "/";
  margin: 0 10px;
  color: #91AFC9;
}

.pd-breadcrumb__item a {
  color: #063363;
  text-decoration: none;
}

.pd-breadcrumb__item a:hover {
  text-decoration: underline;
}

.pd-breadcrumb__item [aria-current="page"] {
  color: #030305;
  font-weight: 600;
}

.pd-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
}

.pd-main {
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 24px;
  border: 1px solid #EBEDF0;
  background: #fff;
}

.pd-media {
  background: #F5F6F8;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.pd-media__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  box-sizing: border-box;
}

.pd-media__img--empty {
  background: linear-gradient(135deg, #EBEDF0 0%, #F5F6F8 50%, #E4E8EE 100%);
}

.pd-props {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pd-prop {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #EBEDF0;
}

.pd-prop:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.pd-prop dt {
  margin: 0;
  color: #6d7586;
  font-size: 14px;
}

.pd-prop dd {
  margin: 0;
  color: #030305;
  font-size: 15px;
  word-break: break-word;
}

.pd-link {
  color: #063363;
  text-decoration: none;
  font-weight: 600;
}

.pd-link:hover {
  text-decoration: underline;
}

.pd-sheets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.pd-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 28px;
}

.product-detail-page .ia-button--ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid #063363;
  background: transparent;
  color: #063363;
  text-decoration: none;
  font-family: Gilroy, Eina03, Helvetica, Arial, sans-serif;
  font-weight: 700;
  transition: background 0.15s ease, color 0.15s ease;
}

.product-detail-page .ia-button--ghost:hover {
  background: #063363;
  color: #fff;
}

.pd-aside__card {
  border: 1px solid #EBEDF0;
  background: #F8FAFC;
  padding: 24px;
}

.pd-aside__stock,
.pd-aside__moq,
.pd-aside__price-main {
  margin: 0 0 14px;
}

.pd-aside__label {
  display: block;
  color: #6d7586;
  font-size: 13px;
  margin-bottom: 4px;
}

.pd-aside__stock-num {
  font-family: Gilroy, Eina03, Helvetica, Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #063363;
}

.pd-aside__stock-num.is-out {
  color: #6d7586;
}

.pd-aside__price-value {
  font-family: Gilroy, Eina03, Helvetica, Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #030305;
}

.pd-steps {
  margin-top: 20px;
  border-top: 1px solid #EBEDF0;
  padding-top: 16px;
}

.pd-steps__head,
.pd-steps__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  font-size: 14px;
}

.pd-steps__head {
  color: #6d7586;
  margin-bottom: 8px;
  font-weight: 600;
}

.pd-steps__row {
  padding: 8px 0;
  border-bottom: 1px solid #EBEDF0;
  color: #030305;
}

.pd-steps__row:last-child {
  border-bottom: 0;
}

.pd-section {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid #EBEDF0;
}

.pd-section__title {
  margin: 0 0 20px;
  color: #030305;
}

.pd-attrs {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #EBEDF0;
}

.pd-attrs__row {
  display: grid;
  grid-template-columns: minmax(160px, 280px) minmax(0, 1fr);
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid #EBEDF0;
}

.pd-attrs__row:nth-child(odd) {
  background: #F8FAFC;
}

.pd-attrs__row:last-child {
  border-bottom: 0;
}

.pd-attrs__name {
  color: #6d7586;
}

.pd-attrs__val {
  color: #030305;
  word-break: break-word;
}

.pd-content {
  color: #3C404A;
  line-height: 1.7;
}

.pd-content img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 1024px) {
  .pd-layout {
    grid-template-columns: 1fr;
  }

  .pd-aside,
  .pd-aside__card {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .product-detail-page .pd {
    padding: 24px 0 56px;
  }

  .pd-main {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 20px;
  }

  .pd-prop {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .pd-attrs__row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .pd-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .product-detail-page .ia-button--ghost,
  .product-detail-page .ia-button--accent {
    width: 100%;
    text-align: center;
  }
}
