.ypde-product-link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  text-decoration: none;
}

.ypde-product-link img {
  display: block;
  transition: transform 180ms ease;
}

.ypde-product-link:hover img {
  transform: scale(1.025);
}

.ypde-view-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 6px;
  background: rgba(15, 118, 110, 0.94);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.ypde-page {
  --ypde-ink: #172426;
  --ypde-muted: #667275;
  --ypde-line: rgba(23, 36, 38, 0.12);
  --ypde-accent: #0f766e;
  --ypde-soft: #f4f7f7;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 68px;
  color: var(--ypde-ink);
}

.ypde-breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 18px;
  color: var(--ypde-muted);
  font-size: 13px;
}

.ypde-breadcrumb a {
  color: var(--ypde-accent);
  text-decoration: none;
  font-weight: 700;
}

.ypde-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 34px;
  align-items: center;
  margin: 0 0 30px;
}

.ypde-gallery {
  overflow: hidden;
  border: 1px solid var(--ypde-line);
  border-radius: 8px;
  background: #fff;
}

.ypde-gallery img,
.ypde-image-fallback {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.ypde-image-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ypde-soft);
  color: var(--ypde-accent);
  font-weight: 800;
}

.ypde-eyebrow {
  margin: 0 0 8px;
  color: var(--ypde-accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.ypde-summary h1 {
  margin: 0;
  color: var(--ypde-ink);
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1.05;
  letter-spacing: 0;
}

.ypde-category {
  margin: 12px 0 0;
  color: var(--ypde-accent);
  font-weight: 800;
}

.ypde-intro {
  margin: 16px 0 0;
  color: var(--ypde-muted);
  font-size: 17px;
  line-height: 1.65;
}

.ypde-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
}

.ypde-primary,
.ypde-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 15px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
}

.ypde-primary {
  background: var(--ypde-accent);
  color: #fff;
}

.ypde-secondary {
  border: 1px solid rgba(15, 118, 110, 0.24);
  color: var(--ypde-accent);
  background: #fff;
}

.ypde-contact {
  margin: 12px 0 0;
  color: var(--ypde-muted);
  font-size: 14px;
}

.ypde-section {
  margin: 24px 0 0;
  padding: 24px;
  border: 1px solid var(--ypde-line);
  border-radius: 8px;
  background: #fff;
}

.ypde-section h2 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.2;
}

.ypde-highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ypde-highlight-grid li,
.ypde-list li {
  padding: 14px;
  border-radius: 6px;
  background: var(--ypde-soft);
  color: var(--ypde-muted);
  line-height: 1.55;
}

.ypde-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 22px;
}

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

.ypde-spec-table th,
.ypde-spec-table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--ypde-line);
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}

.ypde-spec-table th {
  width: 34%;
  color: var(--ypde-ink);
}

.ypde-spec-table td {
  color: var(--ypde-muted);
}

.ypde-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ypde-amazon-style p {
  margin: 0 0 12px;
  color: var(--ypde-muted);
  line-height: 1.65;
}

@media (max-width: 820px) {
  .ypde-hero,
  .ypde-two-col {
    grid-template-columns: 1fr;
  }

  .ypde-highlight-grid {
    grid-template-columns: 1fr;
  }
}
