/* Product detail page — Figma node 48:4327 */

.page-product-detail {
  font-family: "Inter", "Hanken Grotesk", system-ui, sans-serif;
  background: #f8f9fa;
}

.pd-main {
  min-height: 60vh;
}

/* ---------- Breadcrumb ---------- */
.pd-breadcrumb {
  background: #f8f9fa;
  padding: 24px 24px 0;
}

.pd-breadcrumb__inner {
  max-width: var(--container-content);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pd-breadcrumb a {
  font-size: 14px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #191c1d;
  transition: color 0.2s ease;
}

.pd-breadcrumb a:hover {
  color: #ba0013;
}

.pd-breadcrumb img {
  width: 4.317px;
  height: 7px;
  flex-shrink: 0;
}

.pd-breadcrumb__current {
  font-size: 16px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #ba0013;
}

/* ---------- Product Overview ---------- */
.pd-overview {
  background: #fff;
  padding: 32px 24px;
}

.pd-overview__inner {
  max-width: var(--container-content);
  margin: 0 auto;
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.pd-gallery {
  width: 42%;
  max-width: 520px;
  min-width: 0;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pd-gallery-main {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #edeeef;
  box-shadow: none;
  background: #fff;
}

.pd-gallery-main .swiper-slide {
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.pd-gallery-main img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
}

.pd-gallery-thumbs {
  width: 100%;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.pd-gallery-thumbs .swiper-slide {
  height: auto;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.pd-gallery-thumbs .swiper-slide:hover,
.pd-gallery-thumbs .swiper-slide-thumb-active {
  opacity: 1;
}

.pd-gallery-thumbs__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: #fff;
  border-radius: 4px;
  border: 1px solid #edeeef;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pd-gallery-thumbs .swiper-slide-thumb-active .pd-gallery-thumbs__item {
  border-color: #ba0013;
  box-shadow: 0 0 0 1px rgba(186, 0, 19, 0.12);
}

.pd-gallery-thumbs img {
  display: block;
  width: 100%;
  height: 100px;
  object-fit: contain;
  object-position: center;
  border-radius: 2px;
  background: transparent;
  user-select: none;
  -webkit-user-drag: none;
}

/* Product info */
.pd-info {
  flex: 1;
  min-width: 0;
  padding-top: 8px;
}

.pd-info__header {
  padding-bottom: 24px;
}

.pd-info__title {
  font-size: 32px;
  font-weight: 700;
  line-height: 38px;
  letter-spacing: -0.8px;
  color: #191c1d;
  margin-bottom: 4px;
}

.pd-info__sku {
  display: inline-block;
  margin-top: 4px;
  padding: 9px 17px;
  background: rgba(186, 0, 19, 0.05);
  border: 1px solid rgba(186, 0, 19, 0.1);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  color: #ba0013;
}

.pd-info__body {
  padding-bottom: 32px;
}

.pd-info__subtitle {
  font-size: 14px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #ba0013;
  margin-bottom: 12px;
}

.pd-info__desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: #545962;
  margin-bottom: 20px;
}

.pd-info__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: auto;
  max-width: 100%;
  min-width: 220px;
  padding: 14px 28px;
  background: #ba0013;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  box-shadow:
    0 12px 20px -6px rgba(186, 0, 19, 0.2),
    0 4px 8px -4px rgba(186, 0, 19, 0.15);
  transition: background 0.2s ease, transform 0.2s ease;
}

.pd-info__cta:hover {
  background: #e31e24;
}

.pd-info__features {
  border-top: 1px solid #e1e3e4;
  padding-top: 33px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pd-info__feature {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pd-info__feature img {
  flex-shrink: 0;
}

.pd-info__feature span {
  font-family: "Hanken Grotesk", "Inter", sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #5d3f3c;
}

/* ---------- Product Details ---------- */
.pd-details {
  background: #f8f9fa;
  padding: 32px 24px;
}

.pd-details__inner {
  max-width: var(--container-content);
  margin: 0 auto;
}

.pd-details__title {
  font-family: "Hanken Grotesk", "Inter", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: -0.24px;
  color: #191c1d;
  padding-bottom: 12px;
  border-bottom: 1px solid #e1e3e4;
  margin-bottom: 24px;
}

.pd-details__content {
  color: #545962;
  font-size: 16px;
  line-height: 26px;
}

.pd-details__content p {
  margin-bottom: 0;
}

.pd-details__content p + p {
  margin-top: 20px;
}

.pd-details__content ul,
.pd-details__content ol {
  margin: 24px 0 0;
  padding-left: 1.25em;
}

.pd-details__content li + li {
  margin-top: 8px;
}

.pd-details__content img {
  max-width: 100%;
  height: auto;
  margin: 24px 0 0;
}

.pd-details__content a {
  color: #e31e24;
  text-decoration: underline;
}

.pd-details__content h2,
.pd-details__content h3,
.pd-details__content h4 {
  color: #111827;
  font-weight: 700;
  margin: 32px 0 12px;
}

.pd-details__content blockquote {
  margin: 24px 0 0;
  padding-left: 16px;
  border-left: 3px solid #e31e24;
  color: #6b7280;
}

/* ---------- Applications + OE ---------- */
.pd-specs {
  background: #fff;
  border-top: 1px solid #edeeef;
  padding: 32px 24px 40px;
}

.pd-specs__inner {
  max-width: var(--container-content);
  margin: 0 auto;
  display: flex;
  gap: 0;
}

.pd-specs__col {
  flex: 1;
  min-width: 0;
}

.pd-specs__col--apps {
  padding-bottom: 7.5px;
}

.pd-specs__col--oe {
  border-left: 1px solid #edeeef;
  padding-left: 32px;
}

.pd-specs__heading {
  font-family: "Hanken Grotesk", "Inter", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #191c1d;
  margin-bottom: 20px;
}

.pd-specs__subheading {
  font-family: "Hanken Grotesk", "Inter", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: #191c1d;
  margin-bottom: 16px;
}

.pd-specs__brand {
  margin-bottom: 8px;
}

.pd-specs__brand strong {
  display: block;
  font-family: "Hanken Grotesk", "Inter", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: #191c1d;
}

.pd-specs__brand ul {
  list-style: none;
}

.pd-specs__brand li {
  font-size: 14px;
  line-height: 20px;
  color: #5d3f3c;
}

.pd-specs__note {
  margin-top: 16px;
  font-size: 14px;
  font-style: italic;
  line-height: 20px;
  color: #5d3f3c;
}

.pd-oe-list {
  list-style: none;
  margin-bottom: 23.5px;
}

.pd-oe-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0 5px;
  border-bottom: 1px solid #f3f4f5;
}

.pd-oe-list__num {
  font-size: 14px;
  line-height: 19.5px;
  color: #191c1d;
}

.pd-oe-list__copy {
  padding: 4px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.pd-oe-list__copy:hover {
  opacity: 1;
}

.pd-oe-list__copy img {
  width: 12.75px;
  height: 15px;
}

.pd-oe-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Hanken Grotesk", "Inter", sans-serif;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #ba0013;
  transition: opacity 0.2s ease;
}

.pd-oe-link:hover {
  opacity: 0.85;
}

.pd-oe-link img {
  width: 12px;
  height: 12px;
}

/* ---------- More Recommendations ---------- */
.pd-recommend {
  background: #f3f4f5;
  padding: 32px 24px;
}

.pd-recommend__inner {
  max-width: var(--container-content);
  margin: 0 auto;
}

.pd-recommend__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
}

.pd-recommend__title {
  font-family: "Hanken Grotesk", "Inter", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: -0.4px;
  color: #191c1d;
}

.pd-recommend__nav {
  display: flex;
  gap: 8px;
}

.pd-recommend__btn {
  width: 32px;
  height: 32px;
  padding: 8px;
  background: #f8f9fa;
  border-radius: 12px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.pd-recommend__btn:hover {
  background: #e7e8e9;
}

.pd-recommend__btn img {
  width: 16px;
  height: 16px;
}

.pd-recommend-swiper {
  overflow: hidden;
}

/* Recommendation product cards (Figma card style) */
a.pd-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.pd-card {
  background: #fff;
  border: 1px solid rgba(225, 227, 228, 0.1);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  height: auto;
  display: flex;
  flex-direction: column;
}

.pd-card__img {
  background: #fff;
  border-bottom: 1px solid #edeeef;
  height: 220px;
  overflow: hidden;
}

.pd-card__img img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.pd-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pd-card__sku {
  font-size: 14px;
  font-weight: 900;
  line-height: 18px;
  color: #ba0013;
  margin-bottom: 4px;
}

.pd-card__name {
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  color: #191c1d;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-height: 48px;
}

.pd-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-end;
  font-size: 14px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #191c1d;
  transition: color 0.2s ease;
}

.pd-card__link:hover {
  color: #ba0013;
}

.pd-card__link img {
  width: 19px;
  height: 9px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .pd-overview__inner {
    flex-direction: column;
  }

  .pd-gallery {
    width: 100%;
    max-width: 560px;
  }

  .pd-gallery-main,
  .pd-gallery-main .swiper-slide {
    height: 360px;
  }

  .pd-gallery-thumbs img {
    height: 88px;
  }
}

@media (max-width: 992px) {
  .pd-specs__inner {
    flex-direction: column;
    gap: 32px;
  }

  .pd-specs__col--oe {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid #edeeef;
    padding-top: 32px;
  }

  .pd-info__title {
    font-size: 28px;
    line-height: 34px;
  }

  .pd-details__content {
    font-size: 15px;
    line-height: 24px;
  }
}

@media (max-width: 640px) {
  .pd-overview {
    padding: 32px 16px;
  }

  .pd-breadcrumb {
    padding: 16px 16px 0;
  }

  .pd-gallery-main,
  .pd-gallery-main .swiper-slide {
    height: 300px;
  }

  .pd-gallery-thumbs img {
    height: 80px;
  }

  .pd-gallery {
    gap: 16px;
  }

  .pd-info__title {
    font-size: 28px;
    line-height: 34px;
  }

  .pd-info__cta {
    font-size: 14px;
    padding: 14px 24px;
    width: 100%;
    min-width: 0;
  }

  .pd-details,
  .pd-specs,
  .pd-recommend {
    padding: 32px 16px;
  }

  .pd-recommend__head {
    margin-bottom: 24px;
  }

  .pd-recommend__title {
    font-size: 24px;
    line-height: 32px;
  }
}
