/**
 * YPG pressure spray dryer · compact catalog layout
 */

.mos-product-detail {
  background: #fff;
}

.ypg-detail__product-intro {
  padding: clamp(54px, 6vw, 82px) 0 clamp(56px, 6vw, 88px);
  background: #fff;
}

.ypg-detail__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 28px;
  color: #7b8793;
  font-family: var(--font-mono);
  font-size: .68rem;
  line-height: 1.5;
}

.ypg-detail__breadcrumb a {
  color: #756459;
  text-decoration: none;
}

.ypg-detail__breadcrumb a:hover {
  color: #bf4d0a;
}

.ypg-detail__product-grid {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: clamp(44px, 7vw, 104px);
  align-items: start;
}

.ypg-detail__product-media {
  min-width: 0;
}

.ypg-detail__main-image {
  margin: 0;
  padding: clamp(18px, 2vw, 30px);
  border-radius: 18px;
  background: #faf7f5;
}

.ypg-detail__main-image-viewport {
  position: relative;
  min-height: 400px;
}

.ypg-detail__zoom-trigger {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 400px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.ypg-detail__zoom-trigger img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 400px;
  max-height: 520px;
  object-fit: contain;
  transition: opacity 180ms ease, transform 420ms ease;
}

.ypg-detail__zoom-trigger:hover img {
  transform: scale(1.018);
}

.ypg-detail__main-image figcaption {
  margin-top: 12px;
  color: #71808e;
  font-family: var(--font-body);
  font-size: .78rem;
  text-align: center;
}

.ypg-detail__related-images {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.ypg-detail__thumb {
  display: block;
  width: 100%;
  height: 82px;
  padding: 4px;
  overflow: hidden;
  border: 1px solid #ebe2dc;
  border-radius: 9px;
  background: #faf7f5;
  cursor: pointer;
  opacity: .7;
  transition: border-color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.ypg-detail__thumb:hover,
.ypg-detail__thumb.is-active {
  border-color: #bf4d0a;
  opacity: 1;
  transform: translateY(-1px);
}

.ypg-detail__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: cover;
}

.ypg-detail__gallery-nav {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.ypg-detail__gallery-nav button {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid #eae1db;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 7px 20px rgba(65, 40, 23, .1);
  color: #bf4d0a;
  cursor: pointer;
  pointer-events: auto;
}

.ypg-detail__gallery-nav button:hover {
  border-color: #bf4d0a;
  background: #bf4d0a;
  color: #fff;
}

.ypg-detail__gallery-nav span {
  align-self: end;
  margin-bottom: 4px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(46, 33, 24, .78);
  color: #fff;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
}

.mos-product-detail main .mos-product-detail__breadcrumb {
  font-family: var(--font-body);
  font-size: .82rem;
}

.ypg-detail__product-summary {
  min-width: 0;
}

.ypg-detail__product-summary h2 {
  max-width: 700px;
  margin: 12px 0 18px;
  color: #2e2118;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 3.8vw, 4.25rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .98;
}

.mos-product-detail main .eyebrow,
.mos-product-detail main .mos-product-detail__eyebrow,
.ypg-detail__related-card > p {
  margin: 0;
  color: #bf4d0a;
  font-family: var(--font-body);
  font-size: .94rem;
  font-weight: 700;
  letter-spacing: .055em;
  line-height: 1.4;
  text-transform: uppercase;
}

.mos-product-detail main .ypg-detail__summary-lede {
  max-width: 680px;
  margin: 0;
  color: #56616d;
  font-size: 1.125rem;
  line-height: 1.65;
}

.ypg-detail__overview-copy {
  display: grid;
  max-width: 700px;
  gap: 12px;
  margin: 0 0 24px;
}

.mos-product-detail main .ypg-detail__overview-copy p {
  margin: 0;
  color: #56616d;
  font-size: 1.04rem;
  line-height: 1.65;
}

.ypg-detail__summary-points {
  display: grid;
  gap: 9px;
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
}

.ypg-detail__summary-points li {
  position: relative;
  padding-left: 20px;
  color: #3c2e24;
  font-size: 1rem;
  line-height: 1.5;
}

.ypg-detail__summary-points li::before {
  position: absolute;
  top: .62em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #bf4d0a;
  content: "";
}

.ypg-detail__quick-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 30px;
}

.ypg-detail__quick-facts > div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-areas: "icon title" "icon value";
  column-gap: 11px;
  min-height: 70px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid #efe8e3;
  border-radius: 8px;
  background: #fdfbfa;
}

.ypg-detail__quick-facts span {
  grid-area: icon;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 7px;
  background: #fff2ea;
  color: #bf4d0a;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 700;
}

.ypg-detail__quick-facts dt,
.ypg-detail__quick-facts dd {
  margin: 0;
}

.ypg-detail__quick-facts dt {
  grid-area: title;
  align-self: end;
  color: #72808d;
  font-size: .8rem;
  line-height: 1.3;
}

.ypg-detail__quick-facts dd {
  grid-area: value;
  align-self: start;
  margin-top: 2px;
  color: #2e2118;
  font-size: .94rem;
  font-weight: 600;
  line-height: 1.35;
}

.ypg-detail__product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ypg-detail__product-actions .button,
.ypg-detail__outline-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 21px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
}

.ypg-detail__outline-button {
  border: 1px solid #e8ba9b;
  background: #fff;
  color: #bf4d0a;
}

.ypg-detail__outline-button:hover {
  border-color: #bf4d0a;
  background: #fff7f2;
}

.ypg-detail__essentials {
  scroll-margin-top: 86px;
  padding: clamp(58px, 7vw, 96px) 0;
  border-top: 1px solid #f4f0ed;
  background: #fff;
}

.ypg-detail__section-title,
.ypg-detail__related-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 30px;
}

.ypg-detail__section-title h2,
.ypg-detail__related-heading h2 {
  margin: 8px 0 0;
  color: #2e2118;
  font-size: clamp(1.9rem, 3vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.06;
}

.ypg-detail__section-title > p {
  max-width: 500px;
  margin: 0;
  color: #66727d;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.ypg-detail__essentials-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.ypg-detail__tabs-nav {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 2px;
  padding: 10px;
  border: 1px solid #f0eae6;
  border-radius: 10px;
  background: #fbf9f7;
}

.ypg-detail__tab {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #6c5d53;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.ypg-detail__tab:hover {
  background: #fff;
  color: #bf4d0a;
}

.ypg-detail__tab.is-active,
.ypg-detail__tab[aria-selected="true"] {
  background: #fff;
  box-shadow: 0 4px 14px rgba(65, 40, 23, .07);
  color: #bf4d0a;
  font-weight: 600;
}

.ypg-detail__tab:focus-visible {
  outline: 3px solid rgba(144, 60, 5, .22);
  outline-offset: 2px;
}

.ypg-detail__tab-panels {
  min-width: 0;
}

.ypg-detail__tab-panel[hidden] {
  display: none;
}

.ypg-detail__panel-heading {
  max-width: 820px;
  margin-bottom: 24px;
}

.ypg-detail__panel-heading h3 {
  margin: 8px 0 10px;
  color: #2e2118;
  font-size: clamp(1.65rem, 2.5vw, 2.55rem);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.08;
}

.ypg-detail__panel-heading > p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: #66727d;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.ypg-detail__equipment-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(230px, .65fr);
  gap: 12px;
}

.ypg-detail__model-stage {
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 0;
  padding: 12px;
  border: 1px solid #eee7e2;
  border-radius: 12px;
  background: #fbf9f7;
}

.ypg-engineering-viewer {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  height: clamp(440px, 30vw, 680px);
  min-height: 440px;
  overflow: hidden;
  border-radius: 8px;
  background: #f5f1ee;
}

.ypg-detail__model-viewer {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border-radius: inherit;
  background: #f5f1ee;
  --poster-color: #f5f1ee;
  --progress-bar-color: #934612;
  --progress-bar-height: 0px;
  cursor: grab;
  contain: layout paint;
}

.ypg-engineering-viewer.is-model-loading .ypg-detail__model-viewer {
  --progress-bar-height: 2px;
}

.ypg-engineering-viewer.is-model-interacting .ypg-detail__model-viewer {
  cursor: grabbing;
}

.ypg-engineering-viewer.is-model-loading::after {
  position: absolute;
  z-index: 11;
  left: 14px;
  bottom: 14px;
  padding: 6px 9px;
  border: 1px solid rgba(224, 211, 203, .9);
  border-radius: 6px;
  background: rgba(255, 255, 255, .9);
  color: #6d5b4f;
  content: "Loading 3D model…";
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.ypg-detail__model-viewer:not(:defined) {
  display: grid;
  place-items: center;
}

.ypg-detail__model-fallback {
  display: none;
  max-width: 380px;
  padding: 16px;
  color: #66727d;
  font-size: .92rem;
  text-align: center;
}

.ypg-detail__model-viewer:not(:defined) .ypg-detail__model-fallback {
  display: grid;
  gap: 10px;
}

.ypg-engineering-viewer.is-model-pending .ypg-detail__model-fallback {
  width: 100%;
  max-width: none;
  height: 100%;
  padding: 0;
}

.ypg-engineering-viewer.is-model-pending .ypg-detail__model-fallback img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ypg-engineering-viewer.is-model-pending .ypg-detail__model-fallback p {
  display: none;
}

.ypg-detail__model-fallback img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
}

.ypg-detail__model-fallback p {
  margin: 0;
}

.ypg-detail__model-fallback a {
  color: #bf4d0a;
}

.ypg-engineering-toolbar {
  position: absolute;
  z-index: 12;
  top: 12px;
  right: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  max-width: calc(100% - 24px);
  pointer-events: none;
}

.ypg-engineering-control,
.ypg-engineering-views {
  min-height: 34px;
  border: 1px solid #e4dcd6;
  border-radius: 7px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 4px 14px rgba(58, 40, 28, .08);
  pointer-events: auto;
}

.ypg-engineering-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  color: #3c2c22;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.ypg-engineering-control:hover,
.ypg-engineering-control:focus-visible,
.ypg-engineering-control[aria-pressed="true"] {
  border-color: #934612;
  background: #fdf6f1;
  color: #843805;
}

.ypg-engineering-control:focus-visible,
.ypg-engineering-views button:focus-visible,
.ypg-engineering-hotspot:focus-visible,
.ypg-engineering-info button:focus-visible {
  outline: 2px solid #934612;
  outline-offset: 2px;
}

.ypg-engineering-control:disabled {
  opacity: .48;
  cursor: not-allowed;
}

.ypg-engineering-control__dot {
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.ypg-engineering-control--fullscreen svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.ypg-engineering-views {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
}

.ypg-engineering-views__label {
  padding: 0 6px;
  color: #6a7681;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.ypg-engineering-views button {
  min-height: 26px;
  padding: 0 7px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #5d4e44;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.ypg-engineering-views button:hover,
.ypg-engineering-views button:focus-visible,
.ypg-engineering-views button[aria-pressed="true"] {
  background: #fbf1ea;
  color: #843805;
}

.ypg-engineering-hotspot {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #8c3b05;
  box-shadow: 0 3px 10px rgba(52, 30, 16, .28);
  color: #fff;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  transform: scale(.84);
  transition: opacity 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.ypg-engineering-viewer.are-hotspots-visible .ypg-engineering-hotspot {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.ypg-engineering-viewer.is-exploding-transition .ypg-engineering-hotspot {
  opacity: 0;
  pointer-events: none;
}

.ypg-engineering-hotspot:hover,
.ypg-engineering-hotspot:focus-visible,
.ypg-engineering-hotspot.is-active {
  background: #e56516;
  transform: scale(1.12);
}

.ypg-engineering-info {
  position: absolute;
  z-index: 11;
  bottom: 14px;
  left: 14px;
  width: min(330px, calc(100% - 28px));
  padding: 16px 42px 16px 17px;
  border: 1px solid #e7ded8;
  border-radius: 9px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 12px 30px rgba(57, 38, 25, .14);
  color: #4d3e34;
}

.ypg-engineering-info[hidden] {
  display: none;
}

.ypg-engineering-info > button {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #65727d;
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
}

.ypg-engineering-info > button:hover {
  background: #f7f2ee;
  color: #2e2016;
}

.ypg-engineering-info > p {
  margin: 0 0 5px;
  color: #934612;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.ypg-engineering-info h4 {
  margin: 0 0 7px;
  color: #2d1e14;
  font-size: 17px;
  line-height: 1.25;
}

.ypg-engineering-info div {
  color: #736359;
  font-size: 14px;
  line-height: 1.5;
}

.ypg-detail__model-stage:fullscreen {
  width: 100%;
  height: 100%;
  padding: 16px;
  border: 0;
  border-radius: 0;
  background: #f5f1ee;
}

.ypg-detail__model-stage:fullscreen .ypg-engineering-viewer {
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
  border-radius: 10px;
}

.ypg-detail__model-stage:fullscreen .ypg-detail__model-hint {
  margin-bottom: 0;
}

.ypg-detail__model-hint {
  margin: 10px 2px 0;
  color: #7a8793;
  font-family: var(--font-body);
  font-size: .8rem;
  line-height: 1.4;
}

.ypg-detail__equipment-photos {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-height: 0;
}

.ypg-detail__equipment-photos--compact {
  align-self: start;
  height: clamp(440px, 30vw, 680px);
}

.ypg-detail__equipment-photos--compact figure:last-child img {
  padding: 14px;
  background: #fff;
  object-fit: contain;
}

.ypg-detail__equipment-photos figure {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #f9f6f4;
}

.ypg-detail__equipment-photos img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ypg-detail__equipment-photos figcaption {
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  padding: 7px 8px;
  border-radius: 6px;
  background: rgba(43, 29, 20, .78);
  color: #fff;
  font-size: .8rem;
  line-height: 1.35;
}

.ypg-detail__compact-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 44px;
  margin: 34px 0 0;
}

.ypg-detail__compact-specs > div {
  display: grid;
  grid-template-columns: minmax(110px, .75fr) minmax(0, 1.25fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #f1ece8;
}

.ypg-detail__compact-specs dt,
.ypg-detail__compact-specs dd {
  margin: 0;
  font-size: .95rem;
  line-height: 1.45;
}

.ypg-detail__compact-specs dt {
  color: #73808c;
}

.ypg-detail__compact-specs dd {
  color: #2e2118;
  font-weight: 600;
}

.ypg-detail__table-wrap {
  overflow-x: auto;
  border: 1px solid #ece4df;
  border-radius: 9px;
  background: #fff;
}

.ypg-detail__spec-table {
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
  color: #2e2118;
  font-size: .95rem;
}

.ypg-detail__spec-table--compact {
  min-width: 0;
}

.ypg-detail__spec-table--compact tbody th {
  width: 34%;
  min-width: 180px;
}

.ypg-detail__spec-table--compact td:not(:first-child) {
  min-width: 0;
  text-align: left;
}

.ypg-detail__spec-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.ypg-detail__spec-table th,
.ypg-detail__spec-table td {
  padding: 13px 14px;
  border-right: 1px solid #ede7e3;
  border-bottom: 1px solid #ede7e3;
  text-align: left;
  vertical-align: middle;
  line-height: 1.45;
}

.ypg-detail__spec-table thead th {
  background: #f8f4f1;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  white-space: nowrap;
}

.ypg-detail__spec-table tbody th {
  width: 240px;
  min-width: 240px;
  background: #fbf9f8;
  font-weight: 600;
}

.ypg-detail__spec-table td:not(:first-child) {
  min-width: 104px;
  text-align: center;
}

.ypg-detail__spec-table.ypg-detail__spec-table--compact {
  min-width: 0;
}

.ypg-detail__spec-table.ypg-detail__spec-table--compact tbody th {
  width: 34%;
  min-width: 180px;
}

.ypg-detail__spec-table.ypg-detail__spec-table--compact td:not(:first-child) {
  min-width: 0;
  text-align: left;
}

.ypg-detail__spec-table--matrix {
  min-width: 1080px;
  table-layout: fixed;
}

.ypg-detail__spec-table--matrix thead th,
.ypg-detail__spec-table--matrix tbody td {
  text-align: center;
}

.ypg-detail__spec-table--matrix thead th:first-child,
.ypg-detail__spec-table--matrix tbody th {
  width: 220px;
  min-width: 220px;
  text-align: center;
}

.ypg-detail__spec-table--matrix tbody th span {
  white-space: nowrap;
}

#ypg-panel-specs .ypg-detail__spec-table--matrix tbody th span {
  white-space: normal;
}

.ypg-detail__spec-table--matrix tfoot td {
  padding: 12px 16px;
  border-right: 0;
  border-bottom: 0;
  background: #fbf9f8;
  color: #72808d;
  font-size: .88rem;
  line-height: 1.5;
  text-align: center;
}

.ypg-detail__spec-table--matrix tr > :last-child {
  border-right: 0;
}

@media (max-width: 64rem) {
  .ypg-detail__spec-table--matrix thead th:first-child,
  .ypg-detail__spec-table--matrix tbody th {
    position: sticky;
    left: 0;
    z-index: 1;
    box-shadow: 1px 0 0 #ede7e3;
  }

  .ypg-detail__spec-table--matrix thead th:first-child {
    z-index: 2;
  }
}

@media (max-width: 48rem) {
  .ypg-detail__spec-table.ypg-detail__spec-table--compact {
    width: 100%;
    table-layout: fixed;
  }

  .ypg-detail__spec-table.ypg-detail__spec-table--compact thead th:first-child,
  .ypg-detail__spec-table.ypg-detail__spec-table--compact tbody th {
    width: 42%;
    min-width: 0;
  }

  .ypg-detail__spec-table.ypg-detail__spec-table--compact th,
  .ypg-detail__spec-table.ypg-detail__spec-table--compact td {
    padding: 11px 10px;
    overflow-wrap: anywhere;
  }
}

.ypg-detail__table-note {
  margin: 12px 0 0;
  color: #72808d;
  font-size: .88rem;
  line-height: 1.5;
}

.pld-config-comparison {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid #ece4df;
}

.pld-family-variants {
  padding: 72px 0;
  background: #f9f6f4;
}

.pld-family-variants__heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.pld-family-variants__heading h2 {
  margin: 8px 0 12px;
  color: #2d2017;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.18;
}

.pld-family-variants__heading > p:last-child {
  margin: 0;
  color: #7e6e63;
  line-height: 1.7;
}

.pld-family-variants__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pld-family-variants__grid article {
  padding: 26px;
  border: 1px solid #e9e1dc;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(45, 32, 23, 0.06);
}

.pld-family-variants__grid article > span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  background: #126b54;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
}

.pld-family-variants__grid h3 {
  margin: 0 0 10px;
  color: #2e2118;
  font-size: 1.1rem;
}

.pld-family-variants__grid p {
  margin: 0;
  color: #817065;
  line-height: 1.65;
}

.pld-config-comparison__heading {
  margin-bottom: 16px;
}

.pld-config-comparison__heading h4 {
  margin: 0 0 8px;
  color: #2e2118;
  font-size: 1.18rem;
  line-height: 1.35;
}

.pld-config-comparison__heading p {
  margin: 0;
  color: #817065;
  line-height: 1.65;
}

.pld-config-comparison .pld-config__check {
  color: #126b54;
  font-size: 1.1rem;
  font-weight: 800;
}

.pld-config-comparison .pld-config__empty {
  color: #a6b0b9;
}

.pld-config-comparison .pld-config__details-row td {
  text-align: left;
}

.pld-config-comparison .ypg-detail__table-note {
  margin-bottom: 0;
}

@media (max-width: 840px) {
  .pld-family-variants {
    padding: 52px 0;
  }

  .pld-family-variants__grid {
    grid-template-columns: 1fr;
  }
}

.ypg-detail__application-grid,
.ypg-detail__process-grid,
.ypg-detail__feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pyg-detail__principle-figure {
  margin: 0 0 24px;
  padding: clamp(14px, 2vw, 22px);
  border: 1px solid #efe8e3;
  border-radius: 10px;
  background: #fbf9f7;
}

.zlpg-detail__principle-figure,
.ypg-detail__principle-figure {
  margin: 0;
  padding: clamp(14px, 2vw, 24px);
  border: 1px solid #efe8e3;
  border-radius: 10px;
  background: #fbf9f7;
}

.zlpg-detail__principle-figure img,
.ypg-detail__principle-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
}

/* Keep the portrait herbal-extract principle image compact and centered. */
.mos-product-detail--herbal-extracts main .dryer-detail__principle-figure {
  margin: 0;
  padding: clamp(14px, 2vw, 24px);
  border: 1px solid #efe8e3;
  border-radius: 10px;
  background: #fbf9f7;
}

.mos-product-detail--herbal-extracts main .dryer-detail__principle-figure img {
  display: block;
  width: auto;
  max-width: 100%;
  height: min(420px, 68vh);
  object-fit: contain;
  margin-inline: auto;
}

.mos-product-detail--herbal-extracts main .dryer-detail__principle-figure figcaption {
  margin: 14px 0 0;
  color: #72808d;
  font-size: .88rem;
  line-height: 1.5;
  text-align: center;
}

/* Let the continuous vibrating dryer use the full gallery width for its 3D model. */
.mos-product-detail--model-only .ypg-detail__equipment-gallery {
  grid-template-columns: minmax(0, 1fr);
}

.mos-product-detail main .zlpg-detail__principle-figure figcaption,
.mos-product-detail main .ypg-detail__principle-figure figcaption {
  margin: 14px 0 0;
  color: #72808d;
  font-size: .88rem;
  line-height: 1.5;
  text-align: center;
}

.pyg-detail__principle-figure img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: contain;
}

.mos-product-detail main .pyg-detail__principle-figure figcaption {
  margin: 12px 0 0;
  color: #72808d;
  font-size: .88rem;
  line-height: 1.5;
  text-align: center;
}

.ypg-detail__application-grid article,
.ypg-detail__process-grid article,
.ypg-detail__feature-grid article,
.ypg-detail__configuration-grid article {
  padding: 22px;
  border: 1px solid #efe8e3;
  border-radius: 9px;
  background: #fdfbfa;
}

.ypg-detail__process-grid article span {
  color: #bf4d0a;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
}

.ypg-detail__application-grid h4,
.ypg-detail__process-grid h4,
.ypg-detail__feature-grid h4,
.ypg-detail__configuration-grid h4 {
  margin: 8px 0 9px;
  color: #2e2118;
  font-size: 1.08rem;
  line-height: 1.3;
}

.ypg-detail__application-grid p,
.ypg-detail__process-grid p,
.ypg-detail__feature-grid p,
.ypg-detail__configuration-grid p,
.ypg-detail__configuration-grid li {
  margin: 0;
  color: #64717d;
  font-size: 1rem;
  line-height: 1.6;
}

.ypg-detail__configuration-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ypg-detail__configuration-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.ypg-detail__inquiry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.ypg-detail__selection-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ypg-detail__selection-list span {
  display: flex;
  min-height: 58px;
  align-items: center;
  padding: 13px 15px;
  border: 1px solid #efe8e3;
  border-radius: 8px;
  background: #fdfbfa;
  color: #3c2e24;
  font-size: 1rem;
  line-height: 1.45;
}

.ypg-detail__panel-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.ypg-detail__panel-media-grid--single {
  grid-template-columns: minmax(0, 1fr);
}

.ypg-detail__panel-media-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid #efe5df;
  border-radius: 10px;
  background: #faf7f5;
}

.ypg-detail__panel-media-grid img {
  display: block;
  width: 100%;
  height: clamp(240px, 24vw, 390px);
  padding: 10px;
  background: #fff;
  object-fit: contain;
}

.ypg-detail__panel-media-grid--single img {
  height: auto;
  max-height: 520px;
}

.ypg-detail__panel-media-grid figcaption {
  padding: 12px 15px;
  border-top: 1px solid #f0e9e5;
  color: #64717d;
  font-size: .88rem;
  line-height: 1.45;
}

.ypg-detail__flow-diagram {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ypg-detail__flow-workspace {
  display: grid;
  grid-template-columns: minmax(280px, .65fr) minmax(0, 1.35fr);
  gap: 24px;
  align-items: stretch;
}

.ypg-detail__flow-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 20px;
  border: 1px solid #efe5df;
  border-radius: 9px;
  background: #faf7f5;
}

.ypg-detail__flow-figure img {
  display: block;
  width: min(100%, 300px);
  height: auto;
  border-radius: 5px;
}

.ypg-detail__flow-figure figcaption {
  margin-top: 12px;
  color: #64717d;
  font-size: .88rem;
  line-height: 1.45;
  text-align: center;
}

.ypg-detail__flow-workspace .ypg-detail__flow-diagram {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ypg-detail__flow-workspace .ypg-detail__flow-diagram li:not(:last-child)::after {
  content: none;
}

.ypg-detail__flow-diagram li {
  position: relative;
  display: flex;
  min-height: 126px;
  flex-direction: column;
  justify-content: center;
  padding: 20px 17px;
  border: 1px solid #efe5df;
  border-top: 3px solid #9c4309;
  border-radius: 9px;
  background: #fdfbfa;
}

.ypg-detail__flow-diagram li:not(:last-child)::after {
  content: "\2192";
  position: absolute;
  top: 50%;
  right: -20px;
  color: #9c4309;
  font-size: 1.2rem;
  line-height: 1;
  transform: translateY(-50%);
}

.ypg-detail__flow-diagram span {
  margin-bottom: 9px;
  color: #9c4309;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.ypg-detail__flow-diagram strong {
  color: #2e2118;
  font-size: 1rem;
  line-height: 1.45;
}

@media (max-width: 80rem) {
  .ypg-detail__flow-workspace {
    grid-template-columns: minmax(0, 1fr);
  }

  .ypg-detail__flow-diagram {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .ypg-detail__flow-diagram li:not(:last-child)::after {
    content: none;
  }
}

.ypg-detail__related-products {
  padding: clamp(56px, 7vw, 94px) 0 clamp(76px, 8vw, 112px);
  border-top: 1px solid #f4f0ed;
  background: #fff;
}

.ypg-detail__related-heading > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #bf4d0a;
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
}

.ypg-detail__related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ypg-detail__related-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 14px 14px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ypg-detail__related-card:hover {
  border-color: #ede3dc;
  box-shadow: 0 14px 34px rgba(65, 40, 23, .08);
  transform: translateY(-3px);
}

.ypg-detail__related-media {
  display: grid;
  min-height: 245px;
  margin-bottom: 18px;
  place-items: center;
  overflow: hidden;
  border-radius: 9px;
  background: #faf7f5;
}

.ypg-detail__related-media img {
  display: block;
  width: 100%;
  height: 245px;
  object-fit: contain;
  transition: transform 320ms ease;
}

.ypg-detail__related-card:hover .ypg-detail__related-media img {
  transform: scale(1.025);
}

.ypg-detail__related-card > p {
  font-size: .78rem;
}

.ypg-detail__related-card h3 {
  margin: 8px 0 14px;
  color: #2e2118;
  font-size: 1.18rem;
  line-height: 1.3;
}

.ypg-detail__related-card dl {
  display: grid;
  gap: 6px;
  margin: 0 0 18px;
}

.ypg-detail__related-card dl > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #697682;
  font-size: .95rem;
  line-height: 1.4;
}

.ypg-detail__related-card dt,
.ypg-detail__related-card dd {
  margin: 0;
}

.ypg-detail__related-card dd {
  color: #3e3026;
  font-weight: 600;
  text-align: right;
}

.ypg-detail__related-card > span {
  margin-top: auto;
  color: #bf4d0a;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
}

.ypg-image-lightbox[hidden] {
  display: none;
}

.ypg-image-lightbox {
  position: fixed;
  z-index: 3000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
}

.ypg-image-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(38, 21, 9, .86);
}

.ypg-image-lightbox__panel {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: min(1180px, 94vw);
  max-height: 90vh;
  place-items: center;
}

.ypg-image-lightbox__panel img {
  display: block;
  max-width: 100%;
  max-height: 86vh;
  object-fit: contain;
  background: #fff;
}

.ypg-image-lightbox__close {
  position: absolute;
  z-index: 2;
  top: -16px;
  right: -16px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #bf4d0a;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

/* Keep the page readable against the shared technical-detail defaults. */
.mos-product-detail main p.ypg-detail__summary-lede {
  font-size: 18px;
}

.mos-product-detail main .ypg-detail__summary-points li,
.mos-product-detail main .ypg-detail__section-title > p,
.mos-product-detail main .ypg-detail__panel-heading > p:not(.eyebrow) {
  font-size: 17px;
  line-height: 1.65;
}

.mos-product-detail main .ypg-detail__quick-facts dt {
  font-size: 15px;
}

.mos-product-detail main .ypg-detail__quick-facts dd {
  font-size: 17px;
}

.mos-product-detail main .ypg-detail__compact-specs dt,
.mos-product-detail main .ypg-detail__compact-specs dd,
.mos-product-detail main .ypg-detail__application-grid p,
.mos-product-detail main .ypg-detail__process-grid p,
.mos-product-detail main .ypg-detail__feature-grid p,
.mos-product-detail main .ypg-detail__configuration-grid li,
.mos-product-detail main .ypg-detail__selection-list span {
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 64rem) {
  .ypg-detail__product-grid {
    gap: 42px;
  }

  .ypg-detail__product-summary h2 {
    font-size: clamp(2.3rem, 5vw, 3.6rem);
  }

  .ypg-detail__essentials-layout {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 30px;
  }

  .ypg-detail__equipment-gallery {
    grid-template-columns: minmax(0, 1fr);
  }

  .ypg-detail__equipment-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .ypg-detail__equipment-photos--compact {
    height: auto;
    align-items: start;
  }

  .ypg-detail__equipment-photos--compact figure {
    height: clamp(210px, 32vw, 300px);
    min-height: 0;
  }

  .ypg-detail__equipment-photos figure {
    min-height: 210px;
  }

  .ypg-detail__compact-specs {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 48rem) {
  .ypg-detail__product-intro {
    padding-top: 42px;
  }

  .ypg-detail__breadcrumb {
    margin-bottom: 18px;
  }

  .ypg-detail__product-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .ypg-detail__main-image {
    padding: 14px;
    border-radius: 12px;
  }

  .ypg-detail__thumb {
    height: 64px;
  }

  .ypg-detail__main-image-viewport,
  .ypg-detail__zoom-trigger,
  .ypg-detail__zoom-trigger img {
    min-height: 290px;
  }

  .ypg-detail__zoom-trigger img {
    max-height: 360px;
  }

  .ypg-detail__product-summary h2 {
    margin-top: 9px;
    font-size: clamp(2.15rem, 11vw, 3.1rem);
  }

  .ypg-detail__quick-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .ypg-detail__product-actions > * {
    flex: 1 1 auto;
  }

  .ypg-detail__section-title,
  .ypg-detail__related-heading {
    display: block;
  }

  .ypg-detail__section-title > p {
    margin-top: 13px;
  }

  .ypg-detail__related-heading > a {
    margin-top: 15px;
  }

  .ypg-detail__essentials-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .ypg-detail__tabs-nav {
    position: static;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 7px;
    border-radius: 9px;
    scrollbar-width: thin;
  }

  .ypg-detail__tab {
    flex: 0 0 auto;
    width: auto;
    min-height: 38px;
    white-space: nowrap;
  }

  .ypg-engineering-viewer {
    height: 330px;
    min-height: 330px;
  }

  .ypg-engineering-toolbar {
    top: 8px;
    right: 8px;
    gap: 5px;
    max-width: calc(100% - 16px);
  }

  .ypg-engineering-control {
    min-height: 31px;
    padding: 0 8px;
    font-size: 11px;
  }

  .ypg-engineering-views {
    order: 2;
    min-height: 31px;
  }

  .ypg-engineering-views__label,
  .ypg-engineering-control--fullscreen span {
    display: none;
  }

  .ypg-engineering-views button {
    padding-inline: 6px;
    font-size: 10px;
  }

  .ypg-engineering-info {
    bottom: 10px;
    left: 10px;
    width: calc(100% - 20px);
  }

  .ypg-detail__equipment-photos {
    grid-template-columns: minmax(0, 1fr);
  }

  .ypg-detail__equipment-photos figure {
    min-height: 220px;
  }

  .ypg-detail__equipment-photos--compact figure {
    height: 220px;
    min-height: 0;
  }

  .ypg-detail__compact-specs > div {
    grid-template-columns: minmax(100px, .8fr) minmax(0, 1.2fr);
  }

  .ypg-detail__application-grid,
  .ypg-detail__process-grid,
  .ypg-detail__feature-grid,
  .ypg-detail__configuration-grid,
  .ypg-detail__selection-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .ypg-detail__panel-media-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ypg-detail__panel-media-grid img {
    height: auto;
    max-height: none;
  }

  .ypg-detail__flow-diagram {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .ypg-detail__flow-workspace .ypg-detail__flow-diagram {
    grid-template-columns: minmax(0, 1fr);
  }

  .ypg-detail__flow-diagram li {
    min-height: 96px;
  }

  .ypg-detail__flow-diagram li:not(:last-child)::after {
    content: "\2193";
    top: auto;
    right: 50%;
    bottom: -20px;
    transform: translateX(50%);
  }

  .ypg-detail__flow-workspace .ypg-detail__flow-diagram li:not(:last-child)::after {
    content: "\2193";
  }

  .ypg-detail__related-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ypg-detail__related-media,
  .ypg-detail__related-media img {
    min-height: 230px;
    height: 230px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ypg-detail__zoom-trigger img,
  .ypg-detail__related-card,
  .ypg-detail__related-media img {
    transition: none;
  }
}

/* Compact spacing for the pressure-spray detail panel at homepage content widths. */
.dryer-detail__essentials{padding-block:40px;}
.dryer-detail__essentials-layout{gap:28px;align-items:start;}
.dryer-detail__essentials .dryer-detail__section-title{margin-bottom:24px;}
.dryer-detail__essentials .dryer-detail__panel-heading{margin-bottom:18px;}
.dryer-detail__equipment-gallery{grid-template-columns:minmax(0,1.5fr) minmax(180px,.75fr);align-items:start;}
.dryer-detail__model-stage:not(:fullscreen) .dryer-engineering-viewer{height:clamp(300px,25vw,420px);min-height:300px;}
.dryer-detail__equipment-photos{height:clamp(300px,25vw,420px);min-height:0;}
.dryer-detail__equipment-photos figure{min-height:0;overflow:hidden;margin:0;}
.dryer-detail__equipment-photos img{width:100%;height:100%;min-height:0;object-fit:contain;}
@media(max-width:767px){.dryer-detail__essentials{padding-block:30px;}.dryer-detail__equipment-gallery{grid-template-columns:1fr;}.dryer-detail__equipment-photos{height:200px;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:1fr;}}

/* Edge-to-edge product photography, for both static and gallery images. */
html body .ypg-detail__main-image { padding:0; overflow:hidden; }
html body .ypg-detail__main-image-viewport { height:clamp(320px,36vw,520px); min-height:0; overflow:hidden; }
html body .ypg-detail__main-image .ypg-detail__zoom-trigger { height:100%; min-height:0; padding:0; }
html body .ypg-detail__main-image-viewport img { display:block; width:100%; height:100%; min-height:0; max-height:none; object-fit:cover; object-position:center; padding:0; margin:0; }
html body .ypg-detail__main-image figcaption { margin:0; padding:14px 18px; }
@media(max-width:600px){html body .ypg-detail__main-image-viewport{height:300px;}}
