.product-detail-page > .flow-main.container {
  width: min(1500px, calc(100% - clamp(32px, 8vw, 128px)));
  max-width: none;
  padding-inline: 0;
}

.product-detail-page #productView {
  padding-inline: 16px;
}

@media (max-width: 575px) {
  .product-detail-page > .flow-main.container {
    width: calc(100% - 24px);
  }

  .product-detail-page #productView {
    padding-inline: 8px;
  }
}

#productView .product-expert-intro {
  margin: 0 0 18px;
  color: #526579;
  font-size: 15px;
  line-height: 2.1;
}

#productView .product-expert-note {
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid #e8dcc1;
  border-radius: 14px;
  background: linear-gradient(135deg, #fffaf0, #fff);
}

#productView .product-expert-note strong {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #17365d;
  font-size: 14px;
  font-weight: 800;
}

#productView .product-expert-note strong i {
  color: #a77a24;
}

#productView .product-expert-note p {
  margin: 7px 0 0;
  color: #526579;
  font-size: 14px;
  line-height: 2;
}

/* Keep every product breadcrumb segment visible on narrow screens. */
@media (max-width: 575px) {
  .inner-page .product-detail-hero .cart-breadcrumb {
    width: 100%;
    max-width: 100%;
    overflow: visible;
    touch-action: auto;
  }

  .inner-page .product-detail-hero .cart-breadcrumb ol {
    display: flex;
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
    gap: 2px 4px;
    box-sizing: border-box;
  }

  .inner-page .product-detail-hero .cart-breadcrumb ol > li {
    min-width: 0;
    max-width: 100%;
    flex: 0 1 auto;
    white-space: normal;
    overflow-wrap: anywhere;
    box-sizing: border-box;
  }

  .inner-page .product-detail-hero .cart-breadcrumb ol > li:last-child {
    flex: 1 1 100%;
  }

  .inner-page .product-detail-hero .cart-breadcrumb ol > li:last-child > [aria-current] {
    display: flex;
    min-width: 0;
    max-width: 100%;
    flex: 1 1 0;
    flex-wrap: nowrap;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
  }

  .inner-page .product-detail-hero .cart-breadcrumb ol > li:last-child > [aria-current] > .product-breadcrumb-label {
    display: block;
    min-width: 0;
    flex: 1 1 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .inner-page .product-detail-hero .cart-breadcrumb ol > li:last-child > [aria-current] > i,
  .inner-page .product-detail-hero .cart-breadcrumb ol > li:last-child > .bi-chevron-left {
    flex: 0 0 auto;
  }

  .product-detail-hero > .container > p,
  #productView .product-expert-note > p {
    text-align: justify;
    text-align-last: right;
    text-justify: inter-word;
    overflow-wrap: break-word;
    word-break: normal;
  }
}
