/* BreakPoint — optional professional product information, 2026-10-16.
   Keeps existing product images, variant controls and Buy Now styling intact. */
#product-detailed-information {
  margin: 14px 0 18px;
  padding: 18px;
  border: 1px solid #e8e6e2;
  border-radius: 20px;
  background: #f8f8f6;
}
#product-detailed-information h3 { margin: 0 0 6px; font-size: 1.12rem; }
#product-detailed-information > p { margin: 0 0 16px; color: #777; line-height: 1.5; font-size: 0.9rem; }
#product-detailed-information .owner-grid { gap: 14px; }
#product-detailed-information textarea { min-height: 86px; resize: vertical; }
#product-detailed-information small { display: block; color: #777; font-size: .8rem; line-height: 1.35; margin-top: 5px; }
#product-detailed-information .bp-info-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
#product-detailed-information .bp-info-metrics .owner-field { min-width: 0; }
#product-detailed-information .bp-info-metrics input { width: 100%; box-sizing: border-box; }
.rc8-product-step #product-detailed-information { margin: 0; padding: 12px; background: #fff; border-color: #eee; }
@media (max-width: 600px) {
  #product-detailed-information { padding: 14px; }
  #product-detailed-information .bp-info-metrics { grid-template-columns: 1fr; }
}
#bp-detailed-product-info { margin: 6px 0 20px; padding: 0; color: #333; }
#bp-detailed-product-info[hidden] { display: none !important; }
#bp-detailed-product-info .bp-product-more-toggle {
  display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0;
  border: 0; background: transparent; color: #e86a21; font: inherit;
  font-weight: 700; font-size: .95rem; cursor: pointer;
}
#bp-detailed-product-info .bp-product-more-toggle:focus-visible { outline: 2px solid #e86a21; outline-offset: 4px; border-radius: 3px; }
#bp-detailed-product-info .bp-product-more-body[hidden] { display: none !important; }
#bp-detailed-product-info .bp-product-more-body { padding: 7px 0 0; }
#bp-detailed-product-info .bp-product-info-section { border-top: 1px solid #ebebeb; padding: 14px 0; }
#bp-detailed-product-info .bp-product-info-section h3 { margin: 0 0 7px; color: #282828; font-size: .98rem; font-weight: 750; }
#bp-detailed-product-info .bp-product-info-section p { margin: 0; color: #555; font: inherit; font-size: .92rem; line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; }
#bp-detailed-product-info .bp-product-info-section.bp-product-precautions { background: #f7f7f5; margin: 4px 0 0; padding: 13px; border-radius: 12px; border: 1px solid #e6e4e1; }
#bp-detailed-product-info .bp-product-details-metrics { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
#bp-detailed-product-info .bp-product-details-metrics span { border-radius: 99px; background: #f5f4f2; padding: 5px 10px; font-size: .8rem; color: #424242; }

/* Rich copy/paste enhancements scoped to Show More only; existing card and dock styles unchanged. */
#product-detailed-information .bp-legacy-rich-fields[hidden] { display: none !important; }
.bp-rich-editor-wrap { display: grid; gap: 10px; }
.bp-rich-toolbar { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.bp-rich-toolbar button { border: 1px solid #dedbd8; border-radius: 9px; background: #fff; padding: 6px 10px; min-height: 34px; font: 650 13px/1.2 system-ui, sans-serif; color: #333; cursor: pointer; }
.bp-rich-toolbar label { display: inline-flex; align-items: center; gap: 5px; font: 500 12px/1.2 system-ui, sans-serif; color: #555; }
.bp-rich-toolbar input[type="color"] { width: 28px; height: 28px; padding: 2px; border: 1px solid #ddd; background: #fff; border-radius: 6px; }
#bp-show-more-editor { min-height: 170px; max-height: 55vh; overflow-y: auto; padding: 14px; border: 1px solid #d4d1ce; background: #fff; color: #303030; border-radius: 14px; font: 400 15px/1.55 system-ui, sans-serif; outline-offset: 3px; white-space: normal; overflow-wrap: anywhere; }
#bp-show-more-editor:empty::before { content: attr(data-placeholder); color: #aaa; pointer-events: none; }
.bp-rich-content { overflow-wrap: anywhere; font-size: .94rem; line-height: 1.65; }
.bp-rich-content h2, .bp-rich-content h3, .bp-rich-content h4, .bp-rich-content h5 { margin: 16px 0 7px; font-family: inherit; line-height: 1.32; color: inherit; font-weight: 750; }
.bp-rich-content h2 { font-size: 1.2em; }
.bp-rich-content h3 { font-size: 1.09em; }
.bp-rich-content h4, .bp-rich-content h5 { font-size: 1.01em; }
.bp-rich-content p { margin: 0 0 12px; color: inherit; font: inherit; white-space: normal; }
.bp-rich-content p:last-child { margin-bottom: 0; }
.bp-rich-content ul, .bp-rich-content ol { margin: 8px 0 14px; padding-inline-start: 22px; }
.bp-rich-content li { margin: 3px 0; }
.bp-rich-content blockquote { margin: 12px 0; border-inline-start: 3px solid #e6a36e; padding: 8px 12px; background: #faf6f1; }
.bp-rich-content mark { padding: 1px 4px; border-radius: 4px; background: #fff0d8; }
.bp-rich-content .bp-rich-pill { display: inline-flex; vertical-align: baseline; max-width: 100%; padding: 3px 10px; margin: 1px 3px 1px 0; border-radius: 999px; background: #f6ece4; color: inherit; font-size: .88em; line-height: 1.5; font-weight: 650; }
#bp-detailed-product-info .bp-rich-content { padding-top: 7px; }
#bp-detailed-product-info .bp-rich-content > :first-child { margin-top: 0; }
#bp-detailed-product-info .bp-rich-content p { color: inherit; }

/* BreakPoint two-field descriptions: no nested card, explanations or format controls. */
.rc8-product-step-descriptions .rc8-product-step-content { gap: 18px; margin-top: 0; }
.rc8-product-step-descriptions .rc8-product-step-content .owner-field > span {
  display: block; color: #232323; font-size: 15px; font-weight: 750; line-height: 1.3;
}
#product-detailed-information,
.rc8-product-step #product-detailed-information {
  padding: 0; margin: 0; border: 0; border-radius: 0; background: transparent;
}
#product-detailed-information .bp-legacy-rich-fields[hidden],
#product-detailed-information .bp-info-metrics[hidden] { display: none !important; }
.bp-rich-editor-wrap { gap: 9px; }
.bp-rich-editor-label { display: block; font-size: 15px; font-weight: 750; line-height: 1.3; color: #232323; }
.rc8-product-step-descriptions #bp-show-more-editor {
  width: 100%; min-height: 180px; max-height: 50dvh;
  box-sizing: border-box; border: 1.5px solid #d9d7d2; border-radius: 22px;
  padding: 16px 18px; font: 400 16px/1.65 system-ui, sans-serif;
}
.rc8-product-step-descriptions #bp-show-more-editor:focus {
  border-color: #222; box-shadow: 0 0 0 3px rgba(0,0,0,.06);
}

/* User-pasted titles are rendered as authored inside Show More only. */
.bp-rich-content h1 { margin: 16px 0 9px; font: 800 1.35em/1.25 system-ui, sans-serif; color: inherit; }
.bp-rich-content h6 { margin: 13px 0 6px; font: 750 1em/1.3 system-ui, sans-serif; color: inherit; }

/* iPhone paste/delete reliability: let the document, not a nested box, scroll. */
.bp-rich-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.bp-rich-clear { border: 0; padding: 5px 0; background: transparent; color: #777; font: 600 13px/1.35 system-ui, sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bp-rich-clear[hidden] { display: none !important; }
.rc8-product-step-descriptions #bp-show-more-editor {
  max-height: none;
  height: auto;
  overflow-y: visible;
  -webkit-user-select: text;
  user-select: text;
  scroll-margin-bottom: calc(120px + env(safe-area-inset-bottom));
}

/* Bottom of the expanded guest description: easy one-tap return to the product. */
#bp-detailed-product-info .bp-product-more-bottom-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  margin: 20px auto 6px;
  padding: 7px 16px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #e86a21;
  font: 700 16px/1.4 system-ui, sans-serif;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
#bp-detailed-product-info .bp-product-more-bottom-toggle:focus-visible {
  outline: 2px solid #e86a21;
  outline-offset: 3px;
}


/* Guest Hub only: cap oversized fonts inherited from copied rich HTML.
   Keep bold, colors, background highlights, bullets and pills unchanged. */
#bp-detailed-product-info .bp-product-more-body .bp-rich-content {
  font-size: 15px !important;
  line-height: 1.6 !important;
}
#bp-detailed-product-info .bp-product-more-body .bp-rich-content * {
  font-size: inherit !important;
  line-height: inherit !important;
}
#bp-detailed-product-info .bp-product-more-body .bp-rich-content h1,
#bp-detailed-product-info .bp-product-more-body .bp-rich-content h2 {
  font-size: 18px !important;
  line-height: 1.4 !important;
}
#bp-detailed-product-info .bp-product-more-body .bp-rich-content h3,
#bp-detailed-product-info .bp-product-more-body .bp-rich-content h4,
#bp-detailed-product-info .bp-product-more-body .bp-rich-content h5,
#bp-detailed-product-info .bp-product-more-body .bp-rich-content h6 {
  font-size: 16px !important;
  line-height: 1.45 !important;
}
