/* BMD product detail: imported technical specifications are intentionally
   isolated from the legacy product-detail stylesheet. */
.bmd-product-detail-page {
  background: #fff;
  color: #151515;
}

html {
  scroll-behavior: smooth;
}

.bmd-product-detail__specifications {
  scroll-margin-top: calc(var(--bmd-header-offset, 177px) + 16px);
}

.bmd-product-detail-page .bmd-product-detail__breadcrumb {
  background: #111;
  /* Header is fixed. This is the legacy header's actual desktop offset,
     retained without inheriting .section-title-page's 200px hero height. */
  margin-top: var(--bmd-header-offset, 177px);
}

.bmd-product-detail-page .bmd-product-detail__breadcrumb .bg-grey {
  background: #171717;
}

.bmd-product-detail-page .bmd-product-detail__breadcrumb .breadcrumb,
.bmd-product-detail-page .bmd-product-detail__breadcrumb .breadcrumb a,
.bmd-product-detail-page .bmd-product-detail__breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, .7);
}

.bmd-product-detail-page .bmd-product-detail__breadcrumb .breadcrumb-item.active {
  color: #fff;
}

.bmd-product-detail-page .bmd-product-detail__breadcrumb .breadcrumb {
  align-items: center;
  background: transparent;
  display: flex;
  justify-content: flex-start;
  margin: 0;
  padding: 12px 0;
}

.bmd-product-detail-page .bmd-product-detail__breadcrumb .breadcrumb-item,
.bmd-product-detail-page .bmd-product-detail__breadcrumb .breadcrumb-item a,
.bmd-product-detail-page .bmd-product-detail__breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  font-size: 13px !important;
  line-height: 20px;
}

.bmd-product-detail-page .bmd-product-detail__breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  padding: 0 11px;
}

/* The fallback values match the measured header heights.  The detail view
   also synchronizes this variable from the real header because tablet
   navigation can wrap and become taller than the desktop layout. */
@media (max-width: 991px) {
  .bmd-product-detail-page .bmd-product-detail__breadcrumb {
    margin-top: var(--bmd-header-offset, 263px);
  }
}
@media (max-width: 767px) {
  .bmd-product-detail-page .bmd-product-detail__breadcrumb {
    margin-top: var(--bmd-header-offset, 212px);
  }
}

.bmd-product-detail {
  font-family: "Noto Sans TC", sans-serif;
}

.bmd-product-detail__hero {
  padding: 40px 0 0;
}

.bmd-product-detail__hero .row {
  align-items: flex-start !important;
}

.bmd-product-detail__hero .swiper-container {
  height: auto;
  overflow: hidden;
}

.bmd-product-detail__hero .swiper-slide {
  align-items: center;
  display: flex;
  justify-content: center;
}

.bmd-product-detail__hero .swiper-slide img {
  background: transparent;
  height: auto;
  max-height: 360px;
  max-width: 100%;
  object-fit: contain;
  padding: 0 20px;
  width: 100%;
}

.bmd-product-detail__hero .swiper-pagination-bullet-active {
  background: #d01817;
}

.bmd-product-detail__eyebrow,
.bmd-product-detail__section-heading p {
  color: #d01817;
  font-family: "Play", "Noto Sans TC", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.5;
  margin: 0 0 13px;
}

.bmd-product-detail__hero h2.tcolor1 {
  color: #111;
  font-family: "Play", "Noto Sans TC", sans-serif;
  font-size: clamp(32px, 3.2vw, 49px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.08;
  margin: 0;
  padding: 0;
}

.bmd-product-detail__intro {
  color: #4b4b4b;
  font-size: 16px;
  line-height: 1.9;
  margin: 25px 0 0;
  max-width: 540px;
}

.bmd-product-detail__facts {
  border-left: 3px solid #d01817;
  margin: 26px 0 0;
  padding: 2px 0 2px 18px;
}

.bmd-product-detail__facts > div {
  align-items: baseline;
  display: flex;
  gap: 14px;
}

.bmd-product-detail__facts span {
  color: #777;
  flex: 0 0 auto;
  font-size: 12px;
}

.bmd-product-detail__facts strong {
  color: #161616;
  font-size: 15px;
  font-weight: 700;
}

.bmd-product-detail__price {
  align-items: baseline;
  border-left: 3px solid #d01817;
  display: flex;
  gap: 14px;
  margin-top: 27px;
  padding: 6px 0 7px 15px;
}

.bmd-product-detail__price span {
  color: #777;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.3;
}

.bmd-product-detail__price strong {
  color: #171717;
  font-family: "Play", "Noto Sans TC", sans-serif;
  font-size: clamp(24px, 2.2vw, 31px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1;
}

.bmd-product-detail__official-link,
.bmd-product-detail__specs-link {
  color: #111;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 9px;
  margin-top: 30px;
  text-decoration: none;
}

.bmd-product-detail__official-link::after,
.bmd-product-detail__specs-link::after {
  background: #d01817;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  top: calc(100% + 6px);
  transition: width .2s ease;
  width: 45px;
}

.bmd-product-detail__official-link,
.bmd-product-detail__specs-link {
  position: relative;
}

.bmd-product-detail__official-link:hover,
.bmd-product-detail__official-link:focus,
.bmd-product-detail__specs-link:hover,
.bmd-product-detail__specs-link:focus {
  color: #d01817;
  text-decoration: none;
}

.bmd-product-detail__official-link:hover::after,
.bmd-product-detail__official-link:focus::after,
.bmd-product-detail__specs-link:hover::after,
.bmd-product-detail__specs-link:focus::after {
  width: 100%;
}

.bmd-product-detail__official-footer {
  border-top: 1px solid #e2e2e2;
  padding: 48px 0 72px;
  text-align: center;
}

.bmd-product-detail__official-footer .bmd-product-detail__official-link {
  margin-top: 0;
}

.bmd-product-detail__description {
  border-top: 1px solid #e2e2e2;
  color: #3e3e3e;
  line-height: 1.9;
  margin: 32px auto 40px;
  max-width: 960px;
  padding: 38px 0;
}

.bmd-product-detail__description img,
.bmd-product-detail__description iframe,
.bmd-product-detail__description table {
  max-width: 100%;
}

.bmd-product-detail .p-highlight {
  padding: 0 0 54px;
}

.bmd-product-detail .p-highlight .row {
  border-top: 1px solid #e7e7e7;
  margin: 0;
  padding: 23px 0 0 !important;
}

.bmd-product-detail .p-highlight .p-col {
  margin-bottom: 20px !important;
  padding: 0 24px 0 0;
}

.bmd-product-detail .p-highlight-item {
  align-items: flex-start;
  gap: 14px;
}

.bmd-product-detail .p-highlight i {
  color: #d01817;
  padding: 5px 0 0;
}

.bmd-product-detail .p-highlight h6 {
  color: #1f1f1f;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 6px;
}

.bmd-product-detail .p-highlight p {
  color: #666;
  line-height: 1.65;
  margin: 0;
}

/* Legacy /product BMD records retain their original specification data, but
   use the same quiet, technical presentation as imported BMD product pages. */
.bmd-product-detail .p-spec {
  background: #f4f4f2;
  margin-top: 0;
  padding: 70px 0 80px !important;
}

.bmd-product-detail .p-spec .container {
  max-width: 960px;
}

.bmd-product-detail .p-spec h2.tcolor1 {
  color: #141414;
  font-family: "Play", "Noto Sans TC", sans-serif;
  font-size: clamp(29px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin: 0 0 28px;
  padding: 0 !important;
  text-align: left !important;
}

.bmd-product-detail .p-spec .ppp {
  background: #fff;
  margin: 0;
  padding: 9px 30px 0 !important;
}

.bmd-product-detail .p-spec .ppp ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bmd-product-detail .p-spec .ppp li {
  border-bottom: 1px solid #e7e7e7;
  color: #252525;
  line-height: 1.75;
  padding: 14px 0;
}

.bmd-product-detail .p-spec .ppp li:last-child {
  border-bottom: 0;
}

.bmd-product-detail__series {
  background: #f4f4f2 !important;
  padding: 76px 0 84px !important;
}

.bmd-product-detail__series .container {
  text-align: left !important;
}

.bmd-product-detail__series-heading {
  margin-bottom: 30px;
}

.bmd-product-detail__series-heading p {
  color: #d01817;
  font-family: "Play", "Noto Sans TC", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.5;
  margin: 0 0 10px;
}

.bmd-product-detail__series h3.tcolor1 {
  color: #151515;
  font-family: "Play", "Noto Sans TC", sans-serif;
  font-size: clamp(27px, 2.5vw, 36px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.15;
  margin: 0;
  padding: 0;
}

.bmd-product-detail__series .row {
  align-items: stretch;
  display: flex !important;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin: -12px;
}

.bmd-product-detail__series .series-item {
  display: flex;
  flex: 0 0 25%;
  float: none;
  left: auto;
  margin: 0 !important;
  max-width: 25%;
  order: 0;
  padding: 12px;
  width: 25%;
}

.bmd-product-detail__series .series-item > a {
  display: block !important;
  min-width: 0;
  width: 100% !important;
}

.bmd-product-detail__series .panel {
  background: #fff;
  border: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  height: auto;
  margin: 0;
  overflow: hidden;
  text-align: left;
  transition: box-shadow .2s ease;
  width: 100% !important;
}

.bmd-product-detail__series .series-item a:hover .panel,
.bmd-product-detail__series .series-item a:focus .panel,
.bmd-product-detail__series .panel:hover {
  border: 0 !important;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
  margin: 0 !important;
  transform: none;
}

.bmd-product-detail__series .panel-imgbox {
  background: #fff;
  box-sizing: border-box;
  flex: 0 0 auto;
  padding: 18px !important;
}

.bmd-product-detail__series .panel-heading {
  background-color: #fff;
  background-size: contain !important;
  height: auto;
  padding-top: 78% !important;
}

.bmd-product-detail__series .panel-body {
  background: #fff;
  box-sizing: border-box;
  display: block;
  flex: 0 0 128px;
  height: 128px;
  margin: 0;
  min-height: 128px;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.bmd-product-detail__series .panel:hover .panel-body {
  background: #fff;
}

.bmd-product-detail__series .panel-body .panel-title {
  color: #171717;
  display: -webkit-box;
  font-size: 16px;
  left: 20px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.35;
  margin: 0;
  min-height: 43px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  right: 20px;
  top: 17px;
}

.bmd-product-detail__series .panel-body p {
  bottom: 19px;
  color: #6d6d6d;
  font-size: 13px;
  height: auto;
  left: 20px;
  line-height: 1.5;
  margin: 0;
  position: absolute;
  right: 20px;
}

@media (max-width: 991px) {
  .bmd-product-detail__series .series-item {
    flex-basis: 50%;
    max-width: 50%;
    width: 50%;
  }
}

.bmd-product-detail__series > .container > .btn {
  border-color: #242424;
  color: #242424;
  font-size: 13px;
  font-weight: 700;
  margin-top: 42px !important;
  padding: 10px 18px;
}

.bmd-product-detail__series > .container > .btn:hover,
.bmd-product-detail__series > .container > .btn:focus {
  background: #242424;
  color: #fff;
}

.bmd-product-detail__notice {
  background: #fff8eb;
  border-bottom: 1px solid #f2e4c4;
  border-top: 1px solid #f2e4c4;
  color: #654b15;
  font-size: 14px;
  line-height: 1.7;
  padding: 14px 0;
}

.bmd-product-detail__notice .container {
  align-items: flex-start;
  display: flex;
  gap: 10px;
}

.bmd-product-detail__notice span {
  border: 1px solid currentColor;
  border-radius: 50%;
  flex: 0 0 18px;
  font-family: Georgia, serif;
  font-size: 12px;
  font-weight: 700;
  height: 18px;
  line-height: 17px;
  margin-top: 3px;
  text-align: center;
}

.bmd-product-detail__specifications {
  background: #f4f4f2;
  padding: 76px 0 88px;
}

.bmd-product-detail__section-heading {
  margin-bottom: 28px;
}

.bmd-product-detail__section-heading h2 {
  color: #141414;
  font-family: "Play", "Noto Sans TC", sans-serif;
  font-size: clamp(29px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin: 0;
  padding: 0;
}

.bmd-product-detail__specification-grid {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bmd-specification-group {
  align-self: start;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04);
  min-width: 0;
  padding: 27px 30px;
}

.bmd-specification-group h3 {
  border-bottom: 2px solid #d01817;
  color: #151515;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  padding: 0 0 15px;
}

.bmd-specification-group dl {
  display: grid;
  grid-template-columns: 34% minmax(0, 1fr);
  margin: 0;
}

.bmd-specification-group dt,
.bmd-specification-group dd {
  border-bottom: 1px solid #e7e7e7;
  margin: 0;
  overflow-wrap: anywhere;
  padding: 13px 0;
}

.bmd-specification-group dt {
  color: #737373;
  float: none;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.65;
  padding-right: 18px;
  width: auto;
}

.bmd-specification-group dd {
  color: #202020;
  font-size: 14px;
  line-height: 1.65;
  margin-left: 0;
  min-height: 0;
}

.bmd-specification-group dt:last-of-type,
.bmd-specification-group dd:last-of-type {
  border-bottom: 0;
}

@media (max-width: 767px) {
  .bmd-product-detail-page .bmd-product-detail__breadcrumb .breadcrumb {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 10px 0;
    white-space: nowrap;
  }

  .bmd-product-detail-page .bmd-product-detail__breadcrumb .breadcrumb-item,
  .bmd-product-detail-page .bmd-product-detail__breadcrumb .breadcrumb-item a,
  .bmd-product-detail-page .bmd-product-detail__breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    font-size: 12px !important;
  }

  .bmd-product-detail__hero {
    padding: 32px 0 0;
  }

  .bmd-product-detail__hero .row {
    display: flex;
    flex-wrap: wrap !important;
  }

  .bmd-product-detail__hero .row > [class*="col-"] {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    min-width: 0;
    width: 100% !important;
  }

  .bmd-product-detail__hero .row > .container-fluid {
    min-width: 0;
  }

  .bmd-product-detail__hero .swiper-container {
    margin-bottom: 22px;
  }

  .bmd-product-detail__hero .swiper-slide img {
    max-height: 270px;
    padding: 0 10px;
  }

  .bmd-product-detail__hero h2.tcolor1 {
    font-size: 32px;
  }

  .bmd-product-detail__intro {
    font-size: 15px;
    line-height: 1.8;
    margin-top: 18px;
  }

  .bmd-product-detail__facts {
    margin-top: 21px;
  }

  .bmd-product-detail__price {
    gap: 11px;
    margin-top: 22px;
    padding-left: 13px;
  }

  .bmd-product-detail__price strong {
    font-size: 25px;
  }

  .bmd-product-detail__description {
    margin: 26px auto 28px;
    padding: 28px 0;
  }

  .bmd-product-detail .p-highlight {
    padding-bottom: 37px;
  }

  .bmd-product-detail .p-highlight .p-col {
    padding-right: 0;
  }

  .bmd-product-detail .p-spec {
    padding: 48px 0 55px !important;
  }

  .bmd-product-detail .p-spec h2.tcolor1 {
    margin-bottom: 22px;
  }

  .bmd-product-detail .p-spec .ppp {
    padding: 5px 19px 0 !important;
  }

  .bmd-product-detail__series {
    padding: 52px 0 58px !important;
  }

  .bmd-product-detail__series-heading {
    margin-bottom: 22px;
  }

  .bmd-product-detail__series .panel-body {
    height: 112px;
    min-height: 112px;
  }

  .bmd-product-detail__series .panel-body .panel-title {
    font-size: 14px;
    left: 14px;
    right: 14px;
    top: 14px;
  }

  .bmd-product-detail__series .panel-imgbox {
    padding: 10px !important;
  }

  .bmd-product-detail__series .panel-body .panel-title {
    min-height: 38px;
  }

  .bmd-product-detail__series .panel-body p {
    bottom: 16px;
    left: 14px;
    right: 14px;
  }

  .bmd-product-detail__notice {
    font-size: 13px;
  }

  .bmd-product-detail__specifications {
    padding: 48px 0 55px;
  }

  .bmd-product-detail__specification-grid {
    grid-template-columns: 1fr;
  }

  .bmd-specification-group {
    padding: 23px 19px;
  }

  .bmd-specification-group h3 {
    font-size: 18px;
  }

  .bmd-specification-group dt,
  .bmd-specification-group dd {
    float: none;
    width: auto;
  }

  .bmd-specification-group dl {
    grid-template-columns: 1fr;
  }

  .bmd-specification-group dt {
    border-bottom: 0;
    padding: 13px 0 2px;
  }

  .bmd-specification-group dd {
    margin-left: 0;
    min-height: 0;
    padding: 2px 0 13px;
  }
}
