.notice-card {
  --accent:#d26d73; --bg:#fffdf9; --text:#66514a; --muted:#9b847c;
  width:min(100%, 720px);
  margin:14px auto 16px;
  padding:18px 22px 20px;
  background:var(--bg);
  border:1px solid #efcec8;
  border-radius:18px;
  color:var(--text);
  box-shadow:none;
  box-sizing:border-box;
  font-family:"Microsoft JhengHei","PingFang TC","Noto Sans TC",sans-serif;
}
.notice-card h2{
  margin:0 0 14px;
  text-align:center;
  color:var(--accent);
  font-size:18px;
  line-height:1.45;
  font-weight:800;
  letter-spacing:.03em;
}
.notice-card .important{
  margin:0 0 16px;
  padding:10px 12px;
  border:1px dashed var(--accent);
  border-radius:12px;
  background:#fff8f6;
  color:var(--accent);
  font-weight:800;
  font-size:14px;
  line-height:1.55;
  text-align:center;
}
.notice-card ul{list-style:none; margin:0; padding:0;}
.notice-card li{
  display:grid;
  grid-template-columns:10px minmax(0,1fr);
  column-gap:12px;
  align-items:start;
  padding:9px 0;
  border-bottom:1px solid rgba(231,214,205,.7);
  color:var(--text);
  font-size:14px;
  line-height:1.7;
  word-break:normal;
  overflow-wrap:normal;
  box-sizing:border-box;
}
.notice-card li:last-child{border-bottom:none;}
.notice-card li::before{
  content:"";
  width:7px;
  height:7px;
  margin-top:.7em;
  border-radius:50%;
  background:var(--accent);
}
.notice-card li > .notice-copy{
  display:block;
  min-width:0;
  max-width:100%;
  word-break:normal;
  overflow-wrap:normal;
  line-break:auto;
}
.notice-card b,
.notice-card strong{
  font-weight:800;
}
.notice-card .notice-date,
.notice-card .nowrap { white-space:nowrap; }
.notice-card small{display:block; margin-top:12px; color:var(--muted); font-size:13px; line-height:1.6;}
@media (max-width:560px){
  .notice-card{width:100%; margin:10px auto 14px; padding:16px 16px 18px; border-radius:16px;}
  .notice-card h2{font-size:16px; line-height:1.45;}
  .notice-card .important{font-size:13px; padding:9px 10px;}
  .notice-card li{grid-template-columns:8px minmax(0,1fr); font-size:13px; line-height:1.68; column-gap:10px;}
}

/* Administrator text may contain long words/URLs; never widen the product layout. */
html body.goods_body .ni-v43-promo-details.ni-purchase-notice .notice-card li > .notice-copy,
.ni-purchase-notice h2,.ni-purchase-notice .important,.ni-purchase-notice small,
.ni-purchase-notice .ni-v43-promo-details__label{overflow-wrap:anywhere;}
.ni-purchase-notice [hidden]{display:none!important;}
/* Legacy product CSS provides the outer card; these defaults are only for Smarty 5. */
.ni-smarty5-goods .ni-v43-promo-row{padding:0 0 22px;min-width:0;}
.ni-smarty5-goods .ni-purchase-notice{border:1px solid #efcec8;border-radius:18px;background:linear-gradient(180deg,#fffdf9,#fff7f1);overflow:hidden;}
.ni-smarty5-goods .ni-purchase-notice summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;min-height:48px;padding:14px 18px;color:#7a625b;font-weight:800;line-height:1.55;list-style:none;}
.ni-smarty5-goods .ni-purchase-notice summary::-webkit-details-marker{display:none;}
.ni-smarty5-goods .ni-purchase-notice summary:focus-visible{outline:2px solid #b75c70;outline-offset:-3px;}
.ni-smarty5-goods .ni-purchase-notice .ni-v43-promo-details__label{min-width:0;flex:1 1 auto;}
.ni-smarty5-goods .ni-purchase-notice .ni-toggle-caret{width:0;height:0;flex:0 0 auto;border-left:5px solid transparent;border-right:5px solid transparent;border-top:6px solid currentColor;transform:rotate(0deg);}
.ni-smarty5-goods .ni-purchase-notice[open] .ni-toggle-caret{transform:rotate(180deg);}
.ni-smarty5-goods .ni-purchase-notice .notice-card{width:calc(100% - 24px);max-width:720px;}
.ni-purchase-notice .notice-card li > .notice-copy{overflow-wrap:anywhere;}
