.ua-product-detail {
  overflow: visible;
  background: var(--cream-50);
}

.ua-product-main {
  padding-top: 1.5rem;
  background: var(--paper);
}

.ua-product-main__grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.ua-product-gallery {
  position: sticky;
  top: calc(var(--header-height) + 1rem);
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  margin: 0;
  overflow: hidden;
  background: var(--sage-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}

.ua-product-gallery img,
.pd-gallery__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
}

.ua-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--botanical-500);
}

.ua-placeholder .material-icons {
  font-size: 4rem;
}

.ua-product-info {
  padding: clamp(1.2rem, 3vw, 2rem);
  background: var(--cream-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.ua-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.ua-tag-row a {
  padding: 0.38rem 0.65rem;
  color: var(--forest-700);
  background: var(--sage-100);
  border: 1px solid #d1ddcc;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
}

.ua-product-info h1 {
  color: var(--forest-950);
}

.ua-product-info .ua-lead {
  margin: 1rem 0 0;
}

.ua-option-panel {
  margin-top: 1.3rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.ua-option-panel h2 {
  margin-bottom: 0.8rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
}

.ua-option-panel > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pd-price-option {
  min-width: 120px;
  display: grid;
  gap: 0.15rem;
  padding: 0.75rem 0.85rem;
  text-align: left;
  color: var(--forest-900);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.pd-price-option:hover,
.pd-price-option.is-selected {
  background: var(--sage-100);
  border-color: var(--botanical-500);
  box-shadow: 0 0 0 2px rgba(77, 144, 103, 0.08);
}

.pd-price-option span {
  color: var(--muted);
  font-size: 0.78rem;
}

.pd-price-option strong {
  font-size: 1rem;
}

.ua-product-actions {
  margin-top: 1.5rem;
}

.ua-product-actions .ua-btn--call {
  border-radius: 999px;
}

.ua-product-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.2rem;
  align-items: start;
}

.ua-spec-table,
.ua-usage-board {
  padding: 1.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.ua-spec-table h2,
.ua-usage-board > h2 {
  margin-bottom: 1rem;
  font-size: 1.45rem;
}

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

.ua-spec-table th,
.ua-spec-table td {
  padding: 0.75rem 0.65rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
  vertical-align: top;
}

.ua-spec-table th {
  width: 38%;
  color: var(--forest-900);
  text-align: left;
}

.ua-spec-table td {
  color: var(--muted);
  text-align: justify;
  text-align-last: left;
}

.ua-usage-board {
  display: grid;
  gap: 1rem;
}

.ua-usage-board article {
  padding: 1rem;
  background: var(--sage-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.ua-usage-board h3 {
  margin-bottom: 0.65rem;
  font-size: 1rem;
}

.ua-usage-board ul {
  display: grid;
  gap: 0.45rem;
  margin: 0;
}

.ua-usage-board li {
  position: relative;
  padding-left: 1rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
  text-align: justify;
  text-align-last: left;
}

.ua-usage-board li::before {
  content: "";
  position: absolute;
  top: 0.68rem;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}

@media (max-width: 820px) {
  .ua-product-main__grid,
  .ua-product-content-grid {
    grid-template-columns: 1fr;
  }

  .ua-product-gallery {
    position: static;
    max-width: 520px;
    margin-inline: auto;
  }
}
