/* ========================================
   United Textile - Products
   Structure: Gore Outerwear rhythm
   Style: shared with About (ns-*) + home blue
   ======================================== */

/* Banner — centered title, safe side padding */
.page-products .inner-banner--ow {
  min-height: min(78vh, 720px);
  background: #eef1f3;
}

.page-products .inner-banner--ow .inner-banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  min-height: min(78vh, 720px);
  padding: calc(var(--header-h) + 48px) var(--page-pad) 80px;
  max-width: 920px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-products .inner-banner--ow .inner-banner-title {
  max-width: 16ch;
  font-size: clamp(40px, 6.5vw, 72px);
  letter-spacing: 0.04em;
  margin: 0 auto 16px;
  text-shadow: 0 2px 24px rgba(18, 31, 74, 0.35);
}

.page-products .inner-banner--ow .inner-banner-lead {
  max-width: 34rem;
  margin: 0 auto 22px;
  color: rgba(255, 255, 255, 0.82);
}

.page-products .inner-banner--ow .inner-breadcrumb {
  justify-content: center;
}

.page-products .inner-banner--ow .inner-banner-shade {
  background: linear-gradient(
    180deg,
    rgba(18, 31, 74, 0.28) 0%,
    rgba(18, 31, 74, 0.18) 45%,
    rgba(18, 31, 74, 0.42) 100%
  );
}

/* Intro — centered, wide heading (1–2 lines) */
.pd-intro {
  background: var(--white);
  padding: clamp(88px, 12vw, 140px) 0;
}

.pd-intro .wrap {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.pd-intro .ns-heading {
  max-width: none;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 28px;
  font-size: clamp(32px, 4.8vw, 52px);
  line-height: 1.12;
  letter-spacing: 0.06em;
}

.pd-intro .ns-text {
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-muted);
}

.pd-intro .ns-link {
  margin-top: 36px;
}

/* Partner logo wall — below applications */
.pd-partners {
  background: var(--white);
  padding: clamp(72px, 10vw, 120px) 0;
}

.pd-partners > .wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.pd-partners .pd-section-head {
  margin-bottom: 40px;
}

.pd-partners .ns-heading {
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(28px, 3.6vw, 40px);
}

.pd-logo-wall {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.pd-logo-wall li {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  min-height: 0;
  padding: 8%;
  background: #f5f6f7;
  border: 0;
}

.pd-logo-wall img {
  display: block;
  max-width: 88%;
  max-height: 74%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.55;
  filter: grayscale(1);
  transition: opacity 0.25s ease, filter 0.25s ease;
}

.pd-logo-wall li:hover img {
  opacity: 1;
  filter: grayscale(0);
}

@media (max-width: 960px) {
  .pd-logo-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .pd-logo-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Section head */
.pd-section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.pd-section-head .ns-heading {
  margin-bottom: 16px;
  margin-left: auto;
  margin-right: auto;
}

.pd-section-head .ns-text {
  color: var(--text-muted);
  font-size: clamp(16px, 1.4vw, 19px);
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Product grid ---- */
.pd-grid-band {
  background: #f5f6f7;
  padding: clamp(88px, 12vw, 140px) 0;
}

.pd-grid-band > .wrap {
  max-width: 1280px;
  margin: 0 auto;
}

.pd-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.pd-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: min(58vh, 520px);
  color: var(--white);
  background: #e8eaed;
}

.pd-card img {
  width: 100%;
  height: 100%;
  min-height: min(58vh, 520px);
  object-fit: cover;
  display: block;
  transition: transform 0.85s ease;
}

.pd-card:hover img {
  transform: scale(1.04);
}

.pd-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(18, 31, 74, 0.82) 0%,
    rgba(18, 31, 74, 0.22) 50%,
    rgba(18, 31, 74, 0.1) 100%
  );
  pointer-events: none;
}

.pd-card-body {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 0;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  transform: translateX(-50%);
  padding: clamp(28px, 4vw, 44px) clamp(28px, 4vw, 48px) clamp(32px, 4.5vw, 48px);
  text-align: center;
  box-sizing: border-box;
}

.pd-card-body em {
  display: block;
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 10px;
}

.pd-card-body strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 14px;
}

.pd-card-body span {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.72);
  max-width: 36rem;
  margin: 0 auto;
}

/* Flagship 2-up */
.pd-feature {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.pd-feature-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 420px;
  color: var(--white);
  background: #e8eaed;
}

.pd-feature-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.85s ease;
}

.pd-feature-card:hover img {
  transform: scale(1.05);
}

.pd-feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(18, 31, 74, 0.78) 0%,
    rgba(18, 31, 74, 0.16) 55%,
    rgba(18, 31, 74, 0.2) 100%
  );
}

.pd-feature-body {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 1;
  width: 100%;
  transform: translateX(-50%);
  padding: clamp(28px, 3.5vw, 40px);
  text-align: center;
  box-sizing: border-box;
}

.pd-feature-body em {
  display: block;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 8px;
}

.pd-feature-body strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.pd-feature-body p {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  max-width: 32rem;
  margin: 0 auto 14px;
}

.pd-feature-body span {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  padding-bottom: 2px;
}

/* Technology — image + copy zigzag */
.pd-tech {
  background: var(--white);
  padding: clamp(88px, 12vw, 140px) 0;
}

.pd-tech > .wrap {
  max-width: 1200px;
  margin: 0 auto;
}

.pd-tech-rows {
  list-style: none;
  display: grid;
  gap: clamp(48px, 7vw, 88px);
}

.pd-tech-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.pd-tech-row--flip .pd-tech-media {
  order: 2;
}

.pd-tech-row--flip .pd-tech-copy {
  order: 1;
  text-align: right;
}

.pd-tech-row--flip .pd-tech-copy .ns-link {
  margin-left: auto;
}

.pd-tech-media {
  display: block;
  overflow: hidden;
  background: #eef1f3;
  min-height: 320px;
}

.pd-tech-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  max-height: 460px;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.pd-tech-media:hover img {
  transform: scale(1.04);
}

.pd-tech-copy {
  padding: 8px 8px 8px 0;
}

.pd-tech-copy em {
  display: block;
  font-style: normal;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--blue-light);
  margin-bottom: 12px;
}

.pd-tech-copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 38px);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.15;
}

.pd-tech-copy p {
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 34rem;
  margin: 0 0 8px;
}

.pd-tech-row--flip .pd-tech-copy p {
  margin-left: auto;
}

/* Applications */
.pd-apps {
  background: #f5f6f7;
  padding: clamp(88px, 12vw, 140px) 0;
}

.pd-apps > .wrap {
  max-width: 1280px;
  margin: 0 auto;
}

.pd-apps-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.pd-app-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 340px;
  color: var(--white);
  background: #e8eaed;
}

.pd-app-card img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.pd-app-card:hover img {
  transform: scale(1.05);
}

.pd-app-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(18, 31, 74, 0.72) 0%,
    rgba(18, 31, 74, 0.12) 55%,
    transparent 100%
  );
}

.pd-app-card strong {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 22px;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}

@media (max-width: 1100px) {
  .pd-apps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .pd-grid,
  .pd-feature {
    grid-template-columns: 1fr;
  }

  .pd-card,
  .pd-card img {
    min-height: 420px;
  }

  .pd-tech-row,
  .pd-tech-row--flip {
    grid-template-columns: 1fr;
  }

  .pd-tech-row--flip .pd-tech-media,
  .pd-tech-row--flip .pd-tech-copy {
    order: initial;
    text-align: left;
  }

  .pd-tech-row--flip .pd-tech-copy .ns-link {
    margin-left: 0;
  }

  .pd-tech-row--flip .pd-tech-copy p {
    margin-left: 0;
  }

  .pd-tech-media img {
    min-height: 280px;
    max-height: 360px;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .pd-card img,
  .pd-feature-card img,
  .pd-app-card img,
  .pd-tech-media img {
    transition: none;
  }
}
