.brand-logo-wrap {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.brand-logo-wrap .brand-mark {
  position: relative;
  z-index: 2;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.brand-fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  color: var(--accent-dark);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-logo-wrap .brand-mark:not([src]),
.brand-logo-wrap .brand-mark[src=""] {
  display: none;
}

.brand-copy strong {
  font-size: 1.06rem;
  line-height: 1.15;
  font-weight: 700;
}

.brand-copy span {
  max-width: 360px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.25;
}

.product-entity {
  padding: 34px 0 0;
}

.entity-breadcrumb {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.entity-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.entity-breadcrumb a:hover {
  color: var(--orange);
}

.entity-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(330px, 0.58fr);
  gap: 22px;
  align-items: stretch;
}

.entity-copy,
.entity-media,
.entity-card {
  border: 1px solid var(--line);
  border-radius: var(--r-md, 24px);
  background: rgba(255, 252, 246, 0.9);
  box-shadow: 0 18px 50px rgba(43, 32, 18, 0.08);
}

.entity-copy {
  padding: clamp(28px, 4vw, 44px);
  display: grid;
  align-content: center;
  min-height: clamp(500px, 50vw, 590px);
}

.entity-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--orange);
  font-weight: 650;
}

.entity-kicker::before {
  content: "";
  width: 38px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

.entity-title {
  max-width: 760px;
  margin: 0 0 20px;
  color: var(--ink);
  font-size: clamp(1.95rem, 3.1vw, 2.9rem);
  font-weight: 680;
  line-height: 1.08;
  letter-spacing: 0;
}

.entity-lead {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.75;
  font-weight: 500;
}

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

.entity-highlight-list li {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--ink);
  font-weight: 560;
  line-height: 1.55;
}

.entity-highlight-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.55em;
  border-radius: 999px;
  background: var(--orange);
}

.entity-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
}

.entity-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 246, 230, 0.9);
  color: var(--orange-dark);
  font-weight: 650;
}

.entity-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.entity-actions .button {
  font-weight: 650;
}

.entity-media {
  margin: 0;
  overflow: hidden;
  min-height: clamp(500px, 50vw, 590px);
  align-self: stretch;
}

.entity-main-image {
  display: block;
  width: 100%;
  height: 410px;
  object-fit: cover;
  background: #fff;
}

.entity-main-image.entity-garment-image {
  height: 100%;
  min-height: clamp(500px, 50vw, 590px);
  object-fit: contain;
  object-position: center;
  background: #efece3;
}

.entity-media.hero-only {
  display: flex;
  background: #efece3;
}

.entity-media-note {
  padding: 18px 22px 22px;
}

.entity-media-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 650;
}

.entity-media-note span {
  color: var(--muted);
  line-height: 1.65;
  font-weight: 500;
}

.entity-section {
  margin-top: 28px;
}

.entity-section .section-head {
  margin-bottom: 20px;
}

.product-entity .section-head h2 {
  font-weight: 650;
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  line-height: 1.16;
}

.entity-card {
  padding: clamp(24px, 3vw, 34px);
}

.reference-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
  align-items: stretch;
}

.reference-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  min-height: 240px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.reference-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.72;
  font-weight: 500;
}

.reference-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.reference-points span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffaf2;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
}

.reference-matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.reference-matrix article {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 190px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.reference-matrix strong {
  color: var(--orange);
  font-size: 0.9rem;
  font-weight: 700;
}

.reference-matrix h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.06rem;
  line-height: 1.35;
  font-weight: 650;
}

.reference-matrix p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 500;
}

.spec-grid,
.entity-grid {
  display: grid;
  gap: 16px;
}

.spec-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.entity-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.spec-item,
.direction-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  padding: 18px;
}

.spec-item strong,
.direction-card h3 {
  display: block;
  margin: 0 0 10px;
  color: var(--ink);
  font-weight: 700;
}

.spec-item span,
.direction-card p,
.entity-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 500;
}

.application-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;
}

.application-image-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.application-image-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.application-focus {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.focus-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.focus-card strong:first-child {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: #fff4e7;
  color: var(--orange-dark);
  font-size: 0.95rem;
  font-weight: 750;
}

.focus-card h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 1.04rem;
  font-weight: 650;
  line-height: 1.35;
}

.focus-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 500;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.related-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  background: #fffaf2;
}

.related-links a:hover {
  color: var(--orange);
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .entity-hero,
  .spec-grid,
  .entity-grid,
  .reference-layout,
  .application-focus,
  .reference-matrix,
  .application-showcase {
    grid-template-columns: 1fr;
  }

  .entity-main-image {
    height: auto;
    max-height: 520px;
  }

  .entity-main-image.entity-garment-image {
    height: auto;
    min-height: 0;
    max-height: 620px;
  }

  .application-image-card img {
    min-height: 280px;
  }
}

@media (max-width: 640px) {
  .product-entity {
    padding-top: 24px;
  }

  .entity-title {
    font-size: 2.05rem;
  }

  .entity-copy,
  .entity-media,
  .entity-card {
    padding: 22px;
    border-radius: 20px;
    min-height: 0;
  }

  .focus-card {
    grid-template-columns: 1fr;
  }
}
