/* Product-group notice: presentation only; group text and visibility are data-driven. */
#bc-purchase .bc-group-notice,
#bly-order-page .bc-group-notice {
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid #f4dbad;
  border-radius: 2px;
  background: #fff8eb;
  color: #4b5563;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  text-align: left;
  overflow-wrap: anywhere;
  word-break: normal;
  box-shadow: none;
}

#bc-purchase .bc-group-notice[hidden],
#bly-order-page .bc-group-notice[hidden],
#bc-purchase .bc-group-notice [hidden],
#bly-order-page .bc-group-notice [hidden] {
  display: none !important;
}

#bc-purchase .bc-group-notice-icon,
#bly-order-page .bc-group-notice-icon {
  display: block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: #9c650c;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#bc-purchase .bc-group-notice-icon svg,
#bly-order-page .bc-group-notice-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

#bc-purchase .bc-group-notice-content,
#bly-order-page .bc-group-notice-content {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
}

#bc-purchase .bc-group-notice-title,
#bly-order-page .bc-group-notice-title {
  display: inline;
  margin: 0 10px 0 0;
  padding: 0;
  color: #9c650c;
  font-family: inherit;
  font-size: inherit;
  font-weight: 600;
  line-height: inherit;
  white-space: normal;
}

#bc-purchase .bc-group-notice-text,
#bly-order-page .bc-group-notice-text {
  display: inline;
  margin: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: normal;
}

#bc-purchase .bc-group-notice-text strong,
#bly-order-page .bc-group-notice-text strong {
  color: #9c650c;
  font-weight: 600;
}

#bc-purchase .bc-group-notice-help,
#bly-order-page .bc-group-notice-help {
  display: block;
  margin: 4px 0 0;
  padding: 0;
  color: #6b7280;
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

@media (max-width: 600px) {
  #bc-purchase .bc-group-notice,
  #bly-order-page .bc-group-notice {
    gap: 10px;
    padding: 12px;
  }

  #bc-purchase .bc-group-notice-title,
  #bly-order-page .bc-group-notice-title {
    display: block;
    margin: 0 0 3px;
  }
}

/* The independent product configuration page has no label-column wrapper. */
#bly-order-page .bc-group-notice {
  margin: 14px 0 16px;
}

/* Reuse the existing label column so the notice aligns with the package grid. */
#bc-purchase .bc-group-notice-row > .bc-group-notice { grid-column: 2; }
@media (max-width: 480px) {
  #bc-purchase .bc-group-notice-row > .bc-group-notice { grid-column: 1; }
}
