/* * 商品頁 CSS 正式分區收斂入口。 * 規則：主圖、資訊、規格、購買、描述、RWD 需分區處理；禁止整檔批次刪權重。 */
/* NobodyInJP 商品詳情頁 精品 RWD 升級 * Scope: goods.dwt only. 以 .ni- / .ni--* 隔離，避免污染其他頁面。 */

/* 商品頁 CSS 以分區標記維護，不再使用尾端疊加補丁。 */

:root{
  --ni-v43-bg:#fdfbf8;
  --ni-v43-card:#fffdf9;
  --ni-v43-soft:#f8efe8;
  --ni-v43-line:#eadbd0;
  --ni-v43-line-strong:#ddc8ba;
  --ni-v43-text:#4e3932;
  --ni-v43-muted:#8c756d;
  --ni-v43-rose:#cf6f75;
  --ni-v43-rose-deep:#b95c64;
  --ni-v43-rose-soft:#fff1f1;
  --ni-v43-green:#539267;
  --ni-v43-shadow:0 18px 42px rgba(120,91,72,.10);
  --ni-v43-shadow-soft:0 10px 26px rgba(120,91,72,.08);
  --ni-v43-radius-image-main:24px;
  --ni-v43-radius-image-thumb:14px;
  --ni-v43-radius-image-desc:18px;
  --ni-v43-radius-image-card:18px;
}

.goods_body{
  background:#fdfbf8 !important;
  color:var(--ni-v43-text);
}
.goods_body .block{
  width:min(1180px, calc(100% - 36px)) !important;
  max-width:1180px;
}
.goods_body a{transition:color .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;}
.goods_body img{max-width:100%;}
.goods_body .AreaR1.ni-v43-area,
.goods_body .AreaR1{
  float:none !important;
  width:100% !important;
  min-height:0 !important;
}

.ni-v43-product{
  width:100%;
  box-sizing:border-box;
  margin:0 auto 22px;
  border:1px solid var(--ni-v43-line);
  border-radius:28px;
  background:rgba(255,253,249,.92);
  box-shadow:var(--ni-v43-shadow);
  overflow:hidden;
  color:var(--ni-v43-text);
}
.ni-v43-product *{box-sizing:border-box;}
.ni-v43-hero{
  display:grid;
  grid-template-columns:minmax(0, 1.02fr) minmax(380px, .98fr);
  gap:24px;
  padding:24px;
  align-items:start;
}
.ni-v43-gallery-col{
  float:none !important;
  width:auto !important;
  min-width:0;
}
.ni-v43-product .imgInfo{
  float:none !important;
  width:auto !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
}
.ni-v43-product #zoom1,
.ni-v43-product .ni-main-image-link,
.ni-v43-product .ni-lightbox-trigger{
  display:flex !important;
  width:100% !important;
  aspect-ratio:1 / 1;
  min-height:0;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border:1px solid var(--ni-v43-line);
  border-radius:22px;
  background:
    linear-gradient(135deg, rgba(255,249,242,.82), rgba(244,234,224,.72)),
    #fffaf5;
  box-shadow:var(--ni-v43-shadow-soft);
  cursor:zoom-in !important;
}
.ni-v43-product #zoom1 picture,
.ni-v43-product .ni-main-image-link picture,
.ni-v43-product .ni-lightbox-trigger picture,
.ni-v43-product #zoom1 .autoslim-picture,
.ni-v43-product .ni-main-image-link .autoslim-picture,
.ni-v43-product .ni-lightbox-trigger .autoslim-picture{
  display:flex !important;
  align-items:center;
  justify-content:center;
  width:100% !important;
  height:100% !important;
  min-width:0;
  min-height:0;
}
.ni-v43-product #zoom1 img,
.ni-v43-product .ni-main-image-link img,
.ni-v43-product .ni-lightbox-trigger img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  max-height:none !important;
  object-fit:contain;
  object-position:center;
  padding:8px;
  border:0 !important;
  background:transparent !important;
  transition:transform .32s ease;
}
.ni-v43-product #zoom1:hover img{transform:scale(1.025);}

.ni-v43-product .ni-gallery-box{
  margin-top:13px;
  padding:12px;
  border:1px solid var(--ni-v43-line);
  border-radius:20px;
  background:linear-gradient(180deg,#fffdf9 0%,#fbf3ec 100%);
  box-shadow:0 8px 22px rgba(142,109,88,.07);
}
.ni-v43-product .ni-gallery-head{
  display:flex;
  justify-content:flex-end;
  margin-bottom:8px;
}
.ni-v43-product .ni-gallery-count{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:2px 9px;
  border:1px solid #ead7d4;
  border-radius:999px;
  background:#fff7f5;
  color:#9a706c;
  font-size:12px;
  line-height:1.4;
}
.ni-v43-product .ni-gallery-scroll-wrap{
  position:relative;
  display:flex;
  align-items:center;
  gap:8px;
}
.ni-v43-product .ni-gallery-scroll{
  overflow-x:auto;
  overflow-y:hidden;
  flex:1 1 auto;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
}
.ni-v43-product .ni-gallery-track,
.ni-v43-product #imglist{
  display:flex !important;
  align-items:center;
  gap:10px;
  width:max-content !important;
  min-width:100%;
  padding:0 !important;
  margin:0 !important;
  float:none !important;
}
.ni-v43-product #imglist a{
  display:block;
  flex:0 0 auto;
  width:82px;
  height:82px;
  padding:0;
  overflow:hidden;
  border:1px solid var(--ni-v43-line);
  border-radius:16px;
  background:#fffaf6;
  box-shadow:0 5px 14px rgba(124,96,79,.06);
}
.ni-v43-product #imglist a picture,
.ni-v43-product #imglist a .autoslim-picture{
  display:block !important;
  width:100% !important;
  height:100% !important;
}
.ni-v43-product #imglist a img,
.ni-v43-product .goods_gallery img{
  display:block;
  width:100% !important;
  height:100% !important;
  object-fit:contain;
  object-position:center center;
  border:0 !important;
  padding:0 !important;
  margin:0 !important;
  opacity:.88;
}
.ni-v43-product #imglist a:hover,
.ni-v43-product #imglist a.is-active,
.ni-v43-product #imglist a:has(img.onbg),
.ni-v43-product #imglist a:has(img.selected){
  border-color:var(--ni-v43-rose);
  box-shadow:0 0 0 3px rgba(207,111,117,.13),0 8px 18px rgba(207,111,117,.10);
}
.ni-v43-product #imglist a:hover img,
.ni-v43-product #imglist img.onbg{opacity:1;}
.ni-v43-product .ni-hscroll-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  width:30px;
  height:30px;
  border:1px solid var(--ni-v43-line);
  border-radius:50%;
  background:#fffaf7;
  color:#9d7b72;
  cursor:pointer;
  line-height:1;
  box-shadow:0 5px 14px rgba(124,96,79,.08);
}
.ni-v43-product .ni-hscroll-btn:hover{background:#fff1f1;border-color:#e6beb7;color:var(--ni-v43-rose-deep);}

.ni-v43-purchase-card,
.ni-v43-product .textInfo{
  float:none !important;
  width:auto !important;
  min-width:0;
  margin:0 !important;
  padding:22px 22px 18px !important;
  border:1px solid var(--ni-v43-line) !important;
  border-radius:22px;
  background:#fdfbf8 !important;
  box-shadow:var(--ni-v43-shadow-soft);
}
.ni-v43-purchase-card form{margin:0;padding:0;}
.ni-v43-badge{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  margin:0 0 10px;
  padding:3px 10px;
  border-radius:999px;
  border:1px solid #f0c9c4;
  background:#fff0ef;
  color:#b7656b;
  font-size:12px;
  font-weight:bold;
  letter-spacing:.08em;
}
.ni-v43-product-title{
  margin:0 0 10px !important;
  padding:0 !important;
  border:0 !important;
  color:#3f2d27 !important;
  font-size:25px !important;
  line-height:1.38 !important;
  font-family:"Noto Serif TC","Songti TC","PMingLiU",serif !important;
  font-weight:700 !important;
  letter-spacing:.03em;
}
.ni-v43-product .textInfo ul,
.ni-v43-product .bnt_box{
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
}
.ni-v43-product .textInfo li,
.ni-v43-product .textInfo dd{
  list-style:none !important;
  margin:0 !important;
}
.ni-v43-product .goods_box_li{
  margin:0 !important;
  padding:10px 0 !important;
  border:0 !important;
  border-top:1px solid rgba(234,219,208,.78) !important;
}
.ni-v43-product .goods_box_li:first-of-type{border-top:0 !important;padding-top:0 !important;}
.ni-v43-product .goods_box_li dd{
  display:flex;
  flex-wrap:wrap;
  gap:4px 8px;
  align-items:center;
  min-height:26px;
  padding:0 0 7px !important;
  color:var(--ni-v43-muted);
  font-size:14px;
  line-height:1.6;
}
.ni-v43-product .goods_box_li strong,
.ni-v43-product .ni-qty-label strong,
.ni-v43-product .ni-qty-amount strong{
  min-width:auto !important;
  margin:0 !important;
  padding:0 !important;
  color:#6e554d;
  font-weight:700;
}
.ni-v43-product #NI_PRODUCT_SN_VALUE{
  display:inline-flex;
  align-items:center;
  min-height:22px;
  padding:1px 8px;
  border-radius:999px;
  background:#f9efe8;
  color:#8c7167;
  font-family:Arial, sans-serif;
  font-size:12px;
}
.ni-v43-product .market_s{color:#a7938a;text-decoration:line-through;}
.ni-v43-product #ECS_SHOPPRICE,
.ni-v43-product .goods_box_li .shop{
  color:var(--ni-v43-rose) !important;
  font-size:28px !important;
  font-family:Arial,"Noto Sans TC","Microsoft JhengHei",sans-serif !important;
  font-weight:800 !important;
  letter-spacing:.015em;
}
.ni-v43-product .f4{color:var(--ni-v43-green) !important;font-weight:700;}
.ni-v43-product .bnt_box{
  padding-top:6px !important;
}
.ni-v43-product .bnt_box > li{
  margin:0 0 13px !important;
  padding:0 !important;
  height:auto !important;
}
.ni-v43-product .bnt_box dd{padding:0 !important;}
.ni-v43-product .ni-spec-box{
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}
.ni-v43-product .ni-spec-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 0 8px !important;
}
.ni-v43-product .ni-spec-title{font-size:14px;color:#6e554d;font-weight:700;}
.ni-v43-product .ni-spec-count{font-size:12px;color:#ad8d82;background:#fff6f2;border:1px solid #eed9d2;border-radius:999px;padding:2px 8px;}
.ni-v43-product .ni-spec-scroll-wrap{
  display:flex;
  align-items:center;
  gap:8px;
  padding:0 !important;
}
.ni-v43-product .ni-spec-scroll{
  flex:1;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
}
.ni-v43-product .ni-spec-track{
  display:flex !important;
  flex-wrap:wrap;
  gap:9px !important;
}
.ni-v43-product .ni-spec-pill,
.ni-v43-product .catt a.ni-spec-pill,
.ni-v43-product .ni-spec-track a{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:7px 15px !important;
  border:1px solid var(--ni-v43-line-strong) !important;
  border-radius:999px !important;
  background:#fffdf9 !important;
  color:#755f58 !important;
  font-size:13px !important;
  line-height:1.25 !important;
  white-space:nowrap;
  box-shadow:none !important;
}
.ni-v43-product .ni-spec-pill:hover,
.ni-v43-product .catt a.ni-spec-pill:hover{
  border-color:#e6b7b1 !important;
  background:#fff4f2 !important;
  color:#b95c64 !important;
  transform:translateY(-1px);
}
.ni-v43-product .ni-spec-pill.cattsel,
.ni-v43-product .ni-spec-pill.selected,
.ni-v43-product .ni-spec-pill.onbg,
.ni-v43-product .catt a.ni-spec-pill.cattsel,
.ni-v43-product .catt a.ni-spec-pill.selected,
.ni-v43-product .catt a.ni-spec-pill.onbg{
  border-color:var(--ni-v43-rose) !important;
  background:linear-gradient(180deg,#d77b82 0%,#c7646b 100%) !important;
  color:#fff !important;
  box-shadow:0 8px 18px rgba(207,111,117,.20) !important;
}
.ni-v43-product label{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin:0 8px 8px 0;
  color:#6f5a52;
}
.ni-v43-product select{
  min-height:38px;
  border:1px solid var(--ni-v43-line);
  border-radius:999px;
  background:#fffdf9;
  color:#6f5a52;
  padding:0 14px;
}
.ni-v43-product .ni-qty-line{margin-top:4px !important;}
.ni-v43-product .ni-qty-dd{
  display:flex !important;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
}
.ni-v43-product .ni-qty-control{
  display:inline-flex;
  align-items:center;
  gap:4px;
  overflow:visible;
  height:auto;
  border:0;
  border-radius:0;
  background:transparent;
}
.ni-v43-product .ni-qty-btn{
  width:24px;
  height:24px;
  line-height:22px;
  border:1px solid var(--ni-v43-line-strong);
  border-radius:7px;
  background:#fffdf9;
  color:#805f55;
  cursor:pointer;
  font-size:14px;
  padding:0;
}
.ni-v43-product .ni-qty-btn:hover{
  background:#fff3f0;
  border-color:#dcaea7;
  color:#b95c64;
}
.ni-v43-product #number{
  width:34px !important;
  height:24px !important;
  margin:0 !important;
  padding:0 !important;
  border:1px solid var(--ni-v43-line-strong) !important;
  border-radius:7px !important;
  background:#fffdf9 !important;
  color:#4d3a34;
  text-align:center;
  font-weight:bold;
  font-size:12px;
}
.ni-v43-product .ni-qty-amount{
  color:#8b736a;
  font-size:13px;
}
.ni-v43-actions dd{
  display:grid !important;
  grid-template-columns:minmax(0, 1fr) auto;
  gap:12px;
  width:100%;
}
.ni-v43-btn{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 22px;
  border-radius:999px;
  text-decoration:none !important;
  font-family:var(--ni-font-button, var(--ni-font-body, "Noto Sans TC", "Microsoft JhengHei", sans-serif));
  font-weight:var(--ni-button-font-weight, 700);
  letter-spacing:var(--ni-button-letter-spacing, .04em);
  line-height:1.2;
  cursor:pointer;
  user-select:none;
}
.ni-v43-btn-primary,
.ni-add-cart-trigger.ni-v43-btn-primary{
  border:1px solid rgba(190,86,94,.28) !important;
  background:linear-gradient(180deg,#d97980 0%,#c7656c 100%) !important;
  color:#fff !important;
  box-shadow:0 13px 24px rgba(199,101,108,.22) !important;
}
.ni-v43-btn-primary:hover{transform:translateY(-1px);box-shadow:0 16px 28px rgba(199,101,108,.26) !important;}
.ni-v43-btn-secondary{
  border:1px solid #dfc7ba !important;
  background:#fffdf9 !important;
  color:#9d6d63 !important;
  box-shadow:0 8px 18px rgba(126,96,77,.06);
}
.ni-v43-btn-secondary:hover{background:#fff3f0 !important;border-color:#dcaea7 !important;color:#b95c64 !important;}
.ni-v43-btn-icon{margin-right:7px;font-size:17px;line-height:1;}
.ni-v43-trustbar{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:12px;
  padding:0 24px 24px;
}
.ni-v43-trust-item{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:62px;
  padding:10px 13px;
  border:1px solid var(--ni-v43-line);
  border-radius:18px;
  background:linear-gradient(180deg,#fffdf9 0%,#fbf2eb 100%);
  box-shadow:0 8px 20px rgba(126,96,77,.06);
}
.ni-v43-trust-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  width:34px;
  height:34px;
  border-radius:12px;
  background:#fff2f1;
  color:#c7656c;
  font-size:17px;
}
.ni-v43-trust-title{display:block;color:#5d443d;font-size:13px;font-weight:700;line-height:1.35;}
.ni-v43-trust-sub{display:block;color:#987f75;font-size:11px;line-height:1.35;margin-top:2px;}
.ni-v43-story-row{
  display:grid;
  grid-template-columns:minmax(260px,.85fr) minmax(0,1.15fr);
  gap:16px;
  margin:0 0 22px;
}
.ni-v43-accordion-card,
.ni-v43-story-card,
.ni-v43-feature-card{
  border:1px solid var(--ni-v43-line);
  border-radius:20px;
  background:rgba(255,253,249,.94);
  box-shadow:var(--ni-v43-shadow-soft);
}
.ni-v43-accordion-card{padding:8px 16px;}
.ni-v43-acc-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:48px;
  border-top:1px solid #f0e3dc;
  color:#6e554d;
  font-weight:700;
}
.ni-v43-acc-item:first-child{border-top:0;}
.ni-v43-acc-item span:first-child{display:inline-flex;align-items:center;gap:8px;}
.ni-v43-story-card{padding:18px;}
.ni-v43-story-title{
  margin:0 0 10px;
  color:#5d443d;
  font-size:16px;
  line-height:1.45;
  font-weight:800;
}
.ni-v43-story-text{margin:0;color:#846d63;font-size:13px;line-height:1.85;}
.ni-v43-feature-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-top:12px;
}
.ni-v43-feature-card{padding:14px;text-align:center;}
.ni-v43-feature-icon{display:block;margin:0 auto 8px;font-size:22px;color:#c7656c;}
.ni-v43-feature-title{display:block;color:#5d443d;font-weight:800;font-size:13px;line-height:1.4;}
.ni-v43-feature-sub{display:block;margin-top:4px;color:#9a8177;font-size:11px;line-height:1.55;}

.ni-v43-product-desc-wrap,
.goods_body .ni-goods-detail-desc-only{
  float:none !important;
  width:auto !important;
  margin:0 !important;
  padding:0 !important;
  border:1px solid var(--ni-v43-line) !important;
  border-radius:22px;
  background:rgba(255,253,249,.94);
  box-shadow:var(--ni-v43-shadow-soft);
  overflow:hidden;
}
.goods_body .ni-goods-detail-tabs{
  height:auto !important;
  padding:0 !important;
  border:0 !important;
  background:linear-gradient(180deg,#fff9f4 0%,#f9efe7 100%);
}
.goods_body .ni-goods-detail-tabs h2{
  margin:0 !important;
  padding:16px 20px !important;
  color:#5d443d !important;
  font-size:17px !important;
  font-weight:800 !important;
  border:0 !important;
  background:transparent !important;
}
.goods_body .ni-goods-desc-panel,
.goods_body .ni-goods-desc-content{
  max-width:100%;
  color:#6d554d;
  font-size:15px;
  line-height:1.9;
}
.goods_body .ni-goods-desc-panel{padding:20px !important;}
.goods_body .ni-goods-desc-content img,
.goods_body .ni-goods-desc-panel img{
  max-width:100% !important;
  height:auto !important;
  border-radius:16px;
}
.goods_body .ni-goods-desc-content table,
.goods_body .ni-goods-desc-panel table{
  max-width:100% !important;
  width:100% !important;
  border-collapse:collapse;
  display:block;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
.goods_body .AreaL{
  float:none !important;
  width:auto !important;
}
.goods_body #bought_goods_toggle,
.goods_body .AreaL .box,
.goods_body .box{
  border-radius:20px;
}
.goods_body .AreaL .box_1,
.goods_body .box_1{
  border-color:var(--ni-v43-line) !important;
  border-radius:20px;
  overflow:hidden;
  background:#fffdf9;
  box-shadow:0 8px 18px rgba(126,96,77,.05);
}
.goods_body .AreaL .box h3,
.goods_body .box h3{
  border:0 !important;
  background:linear-gradient(180deg,#fff9f4 0%,#f9efe7 100%) !important;
  color:#5d443d !important;
}
.goods_body .goodsItem img,
.goods_body .boxCenterList .goodsimg img,
.goods_body img.goodsimg{
  border-radius:14px;
  object-fit:contain;
}

.ni-v43-mobile-price{
  color:var(--ni-v43-rose);
  font-size:18px;
  font-weight:900;
  white-space:nowrap;
}
#minicart{z-index:10050 !important;}
@media (max-width: 900px){
  .goods_body .block{width:calc(100% - 22px) !important;}
  .ni-v43-hero{grid-template-columns:1fr;gap:16px;padding:12px;}
  .ni-v43-product{border-radius:22px;}
  .ni-v43-purchase-card,
  .ni-v43-product .textInfo{padding:16px !important;border-radius:18px;}
  .ni-v43-product-title{font-size:21px !important;line-height:1.45 !important;}
  .ni-v43-product #ECS_SHOPPRICE,
  .ni-v43-product .goods_box_li .shop{font-size:24px !important;}
  .ni-v43-trustbar{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 12px 14px;gap:9px;}
  .ni-v43-trust-item{min-height:56px;padding:9px 10px;border-radius:15px;}
  .ni-v43-story-row{grid-template-columns:1fr;gap:12px;}
  .ni-v43-feature-grid{grid-template-columns:1fr;}
  .ni-v43-actions dd{grid-template-columns:1fr;}
  .ni-v43-btn{min-height:44px;width:100%;}
  .ni-v43-product #imglist a{width:68px;height:68px;border-radius:13px;}
  .ni-v43-product .ni-gallery-box{padding:10px;border-radius:17px;}
  .ni-v43-product .ni-hscroll-btn{display:none;}
  .ni-v43-product .ni-spec-track{flex-wrap:nowrap !important;min-width:max-content;}
  .ni-v43-product .ni-spec-pill{min-height:32px;padding:7px 13px !important;}
}
@media (max-width: 520px){
  .goods_body .block{width:calc(100% - 14px) !important;}
  .goods_body .block > div[style*="border-bottom"]{height:auto !important;min-height:27px;}
  .ni-v43-product{margin-bottom:14px;border-radius:18px;}
  .ni-v43-hero{padding:8px;}
  .ni-v43-product #zoom1,
  .ni-v43-product .ni-main-image-link{border-radius:18px;}
  .ni-v43-product #zoom1 img{padding:5px;}
  .ni-v43-product .goods_box_li dd{font-size:13px;}
  .ni-v43-trustbar{grid-template-columns:1fr 1fr;}
  .ni-v43-trust-title{font-size:12px;}
  .ni-v43-trust-sub{display:none;}
  .ni-v43-acc-item{min-height:44px;font-size:13px;}
  .goods_body .ni-goods-desc-panel{padding:14px !important;}
}
@media (hover:none){
  .ni-v43-product #zoom1:hover img{transform:none;}
}

.ni-v43-local-header{
  width:min(1180px, calc(100% - 36px));
  max-width:1180px;
  margin:18px auto 0;
  min-height:58px;
  padding:0 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  border:1px solid var(--ni-v43-line);
  border-radius:22px 22px 0 0;
  background:rgba(255,253,249,.94);
  box-shadow:0 10px 30px rgba(126,96,77,.07);
  color:var(--ni-v43-text);
}
.ni-v43-local-brand{
  font-family:"Times New Roman","Noto Serif TC","PMingLiU",serif;
  font-size:22px;
  font-weight:700;
  letter-spacing:.03em;
  white-space:nowrap;
  color:#4f372f;
}
.ni-v43-local-brand span{
  display:block;
  margin-top:2px;
  font-size:11px;
  font-family:"Noto Sans TC","Microsoft JhengHei",sans-serif;
  font-weight:400;
  letter-spacing:.12em;
  color:#b78379;
}
.ni-v43-local-nav{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:34px;
  min-width:0;
}
.ni-v43-local-nav a{
  color:#6f554d !important;
  text-decoration:none !important;
  font-size:13px;
  letter-spacing:.08em;
  white-space:nowrap;
}
.ni-v43-local-nav a:hover{color:var(--ni-v43-rose-deep) !important;}
.ni-v43-local-icons{display:flex;align-items:center;gap:14px;color:#835f55;font-size:17px;white-space:nowrap;}
.goods_body .block{margin-top:0 !important;}
.goods_body .block > div[style*="border-bottom"]{
  height:auto !important;
  min-height:34px;
  padding:9px 2px 6px;
  border-bottom:1px solid #f0d2cc !important;
  color:#9a8177;
}
.ni-v43-product{
  border-radius:0 0 28px 28px;
  box-shadow:0 20px 48px rgba(120,91,72,.11);
}
.ni-v43-hero{
  grid-template-columns:minmax(430px, .98fr) minmax(420px, 1.02fr);
  gap:28px;
  padding:26px 26px 16px;
}
.ni-v43-product #zoom1,
.ni-v43-product .ni-main-image-link,
.ni-v43-product .ni-lightbox-trigger{
  aspect-ratio:4 / 3;
  border-radius:20px;
}
.ni-v43-product #zoom1 picture,
.ni-v43-product .ni-main-image-link picture,
.ni-v43-product .ni-lightbox-trigger picture,
.ni-v43-product #zoom1 .autoslim-picture,
.ni-v43-product .ni-main-image-link .autoslim-picture,
.ni-v43-product .ni-lightbox-trigger .autoslim-picture{
  width:100% !important;
  height:100% !important;
}
.ni-v43-product #zoom1 img,
.ni-v43-product .ni-main-image-link img,
.ni-v43-product .ni-lightbox-trigger img{
  object-fit:contain;
  object-position:center center;
  padding:0;
}
.ni-v43-product .ni-gallery-box{
  max-width:100%;
  margin-top:14px;
  padding:12px 42px 12px 42px;
  position:relative;
}
.ni-v43-product .ni-gallery-head{
  position:absolute;
  top:9px;
  right:13px;
  z-index:2;
}
.ni-v43-product #imglist a{width:74px;height:74px;border-radius:13px;}
.ni-v43-purchase-card,
.ni-v43-product .textInfo{
  padding:22px 24px 18px !important;
  border-radius:22px;
}
.ni-v43-product-title{font-size:27px !important;margin-bottom:14px !important;}
.ni-v43-product .goods_box_li{padding:9px 0 !important;}
.ni-v43-product .bnt_box > li{margin-bottom:12px !important;}
.ni-v43-actions dd{grid-template-columns:minmax(0,1fr) 160px;}
.ni-v43-trustbar-inline{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  padding:4px 0 0 !important;
  margin:4px 0 0;
}
.ni-v43-trustbar-inline .ni-v43-trust-item{
  min-height:52px;
  padding:8px 9px;
  border-radius:14px;
  box-shadow:none;
}
.ni-v43-trustbar-inline .ni-v43-trust-icon{width:28px;height:28px;border-radius:10px;font-size:14px;}
.ni-v43-trustbar-inline .ni-v43-trust-title{font-size:12px;}
.ni-v43-trustbar-inline .ni-v43-trust-sub{font-size:10px;}
.ni-v43-promo-row{
  padding:0 26px 22px;
}
.ni-v43-promo-details{
  border:1px solid var(--ni-v43-line);
  border-radius:18px;
  background:linear-gradient(180deg,#fffdf9 0%,#fff7f1 100%);
  box-shadow:0 8px 22px rgba(126,96,77,.06);
  overflow:hidden;
}
.ni-v43-promo-details summary{
  cursor:pointer;
  min-height:48px;
  padding:14px 18px;
  color:#b95c64;
  font-weight:800;
  letter-spacing:.04em;
  list-style:none;
}
.ni-v43-promo-details summary::-webkit-details-marker{display:none;}
.ni-v43-promo-details summary:after{
  content:"＋";
  float:right;
  color:#b98a7f;
}
.ni-v43-promo-details[open] summary:after{content:"－";}
.ni-v43-promo-details .notice-card{
  max-width:none !important;
  margin:0 18px 18px !important;
  border:1px solid #f0d3ce !important;
  border-left:0 !important;
  border-radius:16px !important;
  background:#fffdf9 !important;
  box-shadow:none !important;
  color:#6d554d !important;
}
.ni-v43-promo-details .notice-card h2{font-size:16px !important;color:#c7656c !important;}
.ni-v43-promo-details .notice-card li{font-size:13px !important;padding:5px 0 !important;}
.ni-v43-story-row{
  width:min(980px, 100%);
  margin:18px auto 24px;
  grid-template-columns:minmax(250px,.55fr) minmax(0,1.45fr);
}
.goods_body .ni-goods-detail-desc-only{
  margin-top:20px !important;
}
.goods_body .ni-goods-desc-panel,
.goods_body .ni-goods-desc-content{
  background:#fffdf9;
}
.goods_body .ni-goods-desc-content > table,
.goods_body .ni-goods-desc-panel > table{
  border-radius:14px;
  overflow:hidden;
  background:#f7eee7 !important;
}
@media (max-width: 1020px){
  .ni-v43-local-nav{gap:18px;}
  .ni-v43-hero{grid-template-columns:minmax(0,1fr) minmax(390px,.95fr);gap:20px;}
  .ni-v43-actions dd{grid-template-columns:1fr;}
  .ni-v43-trustbar-inline{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width: 900px){
  .ni-v43-local-header{width:calc(100% - 22px);border-radius:18px;margin-top:10px;padding:0 14px;}
  .ni-v43-local-nav{display:none;}
  .ni-v43-local-brand{font-size:18px;}
  .ni-v43-local-icons{font-size:15px;gap:10px;}
  .ni-v43-product{border-radius:22px;}
  .ni-v43-hero{grid-template-columns:1fr;padding:12px;}
  .ni-v43-product #zoom1,
  .ni-v43-product .ni-main-image-link{aspect-ratio:1 / 1;}
  .ni-v43-trustbar-inline{grid-template-columns:repeat(3,minmax(0,1fr));}
  .ni-v43-promo-row{padding:0 12px 14px;}
}
@media (max-width:520px){
  .ni-v43-local-header{width:calc(100% - 14px);min-height:52px;border-radius:16px;}
  .ni-v43-local-icons span:nth-child(2){display:none;}
  .ni-v43-product #zoom1,
  .ni-v43-product .ni-main-image-link{aspect-ratio:4 / 3;}
  .ni-v43-product .ni-gallery-box{padding:10px 10px;}
  .ni-v43-product .ni-gallery-head{position:static;margin-bottom:8px;}
  .ni-v43-trustbar-inline{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;}
  .ni-v43-trustbar-inline .ni-v43-trust-item{min-height:48px;padding:7px 6px;}
  .ni-v43-trustbar-inline .ni-v43-trust-sub{display:none;}
  .ni-v43-promo-details summary{font-size:13px;padding:12px 14px;}
}

html body.goods_body .ni-v43-local-header,
html body.goods_body .block{
  width:min(1280px, calc(100% - 56px)) !important;
  max-width:1280px !important;
}
html body.goods_body .ni-v43-local-header{
  border-radius:24px 24px 0 0 !important;
  min-height:64px !important;
  padding:0 28px !important;
  background:rgba(255,253,249,.97) !important;
  border-color:#eadbd0 !important;
  box-shadow:0 16px 42px rgba(120,91,72,.10) !important;
}
html body.goods_body .ni-v43-local-brand{font-size:24px !important;}
html body.goods_body .ni-v43-local-nav{gap:42px !important;}
html body.goods_body .ni-v43-local-nav a{font-size:13px !important;color:#5f443c !important;}
html body.goods_body .ni-v43-local-icons a,
html body.goods_body .ni-v43-local-icons span{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:28px !important;
  height:28px !important;
  color:#77564d !important;
  text-decoration:none !important;
  border-radius:999px !important;
}
html body.goods_body .ni-v43-local-icons a:hover{background:#fff1f1 !important;color:#b95c64 !important;}
html body.goods_body .block > .blank:first-of-type,
html body.goods_body .block > .blank:nth-of-type(2){height:8px !important;line-height:8px !important;overflow:hidden !important;}
html body.goods_body .block > div[style*="border-bottom"]{
  margin:0 auto 14px !important;
  min-height:34px !important;
  height:auto !important;
  padding:8px 0 7px !important;
  border:0 !important;
  border-bottom:1px solid rgba(232,207,199,.62) !important;
  background:transparent !important;
  color:#9a8177 !important;
}
html body.goods_body .block > div[style*="border-bottom"] a{color:#8b7168 !important;text-decoration:none !important;}
html body.goods_body .ni-v43-product{
  border-radius:0 0 30px 30px !important;
  background:rgba(255,253,249,.97) !important;
  border-color:#eadbd0 !important;
  box-shadow:0 24px 58px rgba(120,91,72,.12) !important;
}
html body.goods_body .ni-v43-hero{
  grid-template-columns:minmax(0, 1.02fr) minmax(470px, .98fr) !important;
  gap:34px !important;
  padding:30px 30px 18px !important;
}
html body.goods_body .ni-v43-product #zoom1,
html body.goods_body .ni-v43-product .ni-main-image-link,
html body.goods_body .ni-v43-product .ni-lightbox-trigger{
  aspect-ratio:4 / 3 !important;
  border-radius:22px !important;
  background:#f9efe8 !important;
  box-shadow:0 14px 32px rgba(124,96,79,.09) !important;
}
html body.goods_body .ni-v43-product #zoom1 img,
html body.goods_body .ni-v43-product .ni-main-image-link img{
  object-fit:contain !important;
  padding:0 !important;
}
html body.goods_body .ni-v43-product .ni-gallery-box{
  margin-top:16px !important;
  padding:14px 48px !important;
  border-radius:22px !important;
  background:linear-gradient(180deg,#fffdf9 0%,#fbf3ec 100%) !important;
}
html body.goods_body .ni-v43-product #imglist a{
  width:88px !important;
  height:72px !important;
  border-radius:14px !important;
}
html body.goods_body .ni-v43-purchase-card,
html body.goods_body .ni-v43-product .textInfo{
  padding:26px 28px 20px !important;
  border-radius:24px !important;
  background:#fdfbf8 !important;
  box-shadow:0 14px 34px rgba(126,96,77,.09) !important;
}
html body.goods_body .ni-v43-badge{
  margin-bottom:12px !important;
  background:#fff1ef !important;
  color:#b96a72 !important;
}
html body.goods_body .ni-v43-product-title{
  font-size:30px !important;
  line-height:1.34 !important;
  color:#34231f !important;
  margin-bottom:14px !important;
}
html body.goods_body .ni-v43-product .goods_box_li{
  padding:10px 0 !important;
  border-top-color:rgba(232,207,199,.76) !important;
}
html body.goods_body .ni-v43-product #ECS_SHOPPRICE,
html body.goods_body .ni-v43-product .goods_box_li .shop{
  font-size:30px !important;
  color:#cf6f75 !important;
}
html body.goods_body .ni-v43-actions dd{
  grid-template-columns:minmax(0,1fr) 170px !important;
  gap:14px !important;
}
html body.goods_body .ni-v43-btn{min-height:50px !important;font-size:15px !important;}
html body.goods_body .ni-v43-trustbar-inline{
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:10px !important;
  margin-top:10px !important;
}
html body.goods_body .ni-v43-trustbar-inline .ni-v43-trust-item{
  min-height:56px !important;
  border-radius:16px !important;
  background:linear-gradient(180deg,#fffefa 0%,#fbf2eb 100%) !important;
}
html body.goods_body .ni-v43-promo-row{padding:0 30px 24px !important;}
html body.goods_body .ni-v43-story-row{
  width:100% !important;
  max-width:1280px !important;
  grid-template-columns:minmax(320px,.38fr) minmax(0,.62fr) !important;
  gap:22px !important;
  margin:24px auto 26px !important;
}
html body.goods_body .ni-v43-accordion-card,
html body.goods_body .ni-v43-story-card,
html body.goods_body .ni-v43-feature-card{
  border-radius:22px !important;
  box-shadow:0 12px 30px rgba(126,96,77,.075) !important;
}
html body.goods_body .ni-v43-story-card{padding:22px !important;}
html body.goods_body .ni-v43-story-title{font-size:18px !important;}
html body.goods_body .ni-v43-story-text{font-size:14px !important;}
html body.goods_body .ni-goods-detail-desc-only,
html body.goods_body .ni-v43-product-desc-wrap{
  margin-top:24px !important;
  border-radius:24px !important;
  background:#fffdf9 !important;
}
html body.goods_body .ni-goods-desc-panel{padding:24px !important;background:#fffdf9 !important;}
html body.goods_body .ni-goods-desc-content table,
html body.goods_body .ni-goods-desc-panel table{
  width:auto !important;
  max-width:100% !important;
  display:table !important;
  margin-left:auto !important;
  margin-right:auto !important;
  background:#fffdf9 !important;
}
html body.goods_body .ni-goods-desc-content td,
html body.goods_body .ni-goods-desc-panel td{
  width:auto !important;
  max-width:100% !important;
  background:#fffdf9 !important;
}
html body.goods_body .ni-goods-desc-content td:empty,
html body.goods_body .ni-goods-desc-panel td:empty{
  display:none !important;
}
html body.goods_body .boxCenterList,
html body.goods_body #history_list,
html body.goods_body .history{
  max-width:1280px !important;
}
@media (max-width:959px){
  html body.goods_body .ni-v43-hero{grid-template-columns:minmax(0,1fr) minmax(380px,.95fr) !important;gap:22px !important;}
  html body.goods_body .ni-v43-product-title{font-size:25px !important;}
  html body.goods_body .ni-v43-actions dd{grid-template-columns:1fr !important;}
  html body.goods_body .ni-v43-trustbar-inline{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
}
@media (max-width:900px){
  html body.goods_body .ni-v43-local-header,
  html body.goods_body .block{width:calc(100% - 22px) !important;max-width:none !important;}
  html body.goods_body .ni-v43-local-header{min-height:56px !important;padding:0 16px !important;border-radius:18px !important;}
  html body.goods_body .ni-v43-hero{grid-template-columns:1fr !important;padding:12px !important;}
  html body.goods_body .ni-v43-product #zoom1,
  html body.goods_body .ni-v43-product .ni-main-image-link{aspect-ratio:1 / 1 !important;}
  html body.goods_body .ni-v43-product #imglist a{width:70px !important;height:70px !important;}
  html body.goods_body .ni-v43-trustbar-inline{grid-template-columns:repeat(3,minmax(0,1fr)) !important;}
  html body.goods_body .ni-v43-story-row{grid-template-columns:1fr !important;gap:14px !important;margin:16px auto 20px !important;}
  html body.goods_body .ni-goods-desc-content table,
  html body.goods_body .ni-goods-desc-panel table{display:block !important;overflow-x:auto !important;width:100% !important;}
}
@media (max-width:520px){
  html body.goods_body .ni-v43-local-header,
  html body.goods_body .block{width:calc(100% - 14px) !important;}
  html body.goods_body .ni-v43-local-brand{font-size:18px !important;}
  html body.goods_body .ni-v43-product-title{font-size:21px !important;}
  html body.goods_body .ni-v43-product #zoom1,
  html body.goods_body .ni-v43-product .ni-main-image-link{aspect-ratio:4 / 3 !important;}
  html body.goods_body .ni-v43-product .ni-gallery-box{padding:10px !important;}
  html body.goods_body .ni-v43-trustbar-inline{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:6px !important;}
}

html body.goods_body #goodsInfo.ni-v43-product{
  max-width:1280px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  overflow:hidden !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-hero{
  display:grid !important;
  grid-template-columns:minmax(0, 1fr) minmax(0, 1fr) !important;
  column-gap:36px !important;
  row-gap:22px !important;
  align-items:start !important;
  padding:34px 36px 22px !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-gallery-col{
  float:none !important;
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
  display:block !important;
}
html body.goods_body #goodsInfo.ni-v43-product .imgInfo{
  float:none !important;
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  height:auto !important;
  margin:0 !important;
  padding:0 !important;
  display:block !important;
  background:transparent !important;
}
html body.goods_body #goodsInfo.ni-v43-product .imgInfo > a#zoom1,
html body.goods_body #goodsInfo.ni-v43-product #zoom1.ni-main-image-link,
html body.goods_body #goodsInfo.ni-v43-product #zoom1.ni-lightbox-trigger{
  display:flex !important;
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  height:auto !important;
  min-height:0 !important;
  aspect-ratio:4 / 3 !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  align-items:center !important;
  justify-content:center !important;
  border:1px solid #eadbd0 !important;
  border-radius:24px !important;
  background:#f9efe8 !important;
  box-shadow:0 18px 42px rgba(120,91,72,.11) !important;
  cursor:zoom-in !important;
}
html body.goods_body #goodsInfo.ni-v43-product .imgInfo > a#zoom1 > img,
html body.goods_body #goodsInfo.ni-v43-product #zoom1 > img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  max-height:none !important;
  min-width:0 !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  object-fit:contain !important;
  object-position:center center !important;
  background:transparent !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-gallery-box{
  width:100% !important;
  max-width:none !important;
  margin:16px 0 0 !important;
  padding:14px 48px !important;
  border-radius:24px !important;
  background:linear-gradient(180deg,#fffdf9 0%,#fbf3ec 100%) !important;
  border:1px solid #eadbd0 !important;
  box-shadow:0 12px 28px rgba(126,96,77,.08) !important;
}
html body.goods_body #goodsInfo.ni-v43-product #imglist{
  display:flex !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  gap:12px !important;
  width:max-content !important;
  min-width:100% !important;
  height:auto !important;
  margin:0 !important;
  padding:0 !important;
  float:none !important;
  overflow:visible !important;
  background:transparent !important;
}
html body.goods_body #goodsInfo.ni-v43-product #imglist a{
  width:90px !important;
  height:78px !important;
  flex:0 0 auto !important;
  display:block !important;
  margin:0 !important;
  padding:0 !important;
  border-radius:16px !important;
  overflow:hidden !important;
  border:1px solid #eadbd0 !important;
  background:#fffaf6 !important;
}
html body.goods_body #goodsInfo.ni-v43-product #imglist a img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
}
html body.goods_body #goodsInfo.ni-v43-product .textInfo.ni-v43-purchase-card,
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-purchase-card{
  float:none !important;
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  min-height:0 !important;
  margin:0 !important;
  padding:30px 30px 22px !important;
  border:1px solid #eadbd0 !important;
  border-radius:24px !important;
  background:#fdfbf8 !important;
  box-shadow:0 18px 42px rgba(126,96,77,.10) !important;
}
html body.goods_body #goodsInfo.ni-v43-product .textInfo *,
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-purchase-card *{
  box-sizing:border-box !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-product-title,
html body.goods_body #goodsInfo.ni-v43-product .textInfo .ni-v43-product-title{
  font-family:"Noto Serif TC","Songti TC","PMingLiU",serif !important;
  font-size:31px !important;
  line-height:1.34 !important;
  font-weight:700 !important;
  color:#34231f !important;
  letter-spacing:.03em !important;
  margin:0 0 16px !important;
}
html body.goods_body #goodsInfo.ni-v43-product .goods_box_li dd{
  color:#6d554d !important;
  font-size:14px !important;
  line-height:1.75 !important;
}
html body.goods_body #goodsInfo.ni-v43-product .goods_box_li strong{
  color:#5d443d !important;
  font-weight:700 !important;
}
html body.goods_body #goodsInfo.ni-v43-product .goods_box_li .shop,
html body.goods_body #goodsInfo.ni-v43-product #ECS_SHOPPRICE{
  color:#cf6f75 !important;
  font-size:31px !important;
  font-weight:900 !important;
  letter-spacing:.02em !important;
}
html body.goods_body #goodsInfo.ni-v43-product .bnt_box{
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  padding:0 !important;
}
html body.goods_body #goodsInfo.ni-v43-product .catt.ni-spec-box{
  margin:0 0 14px !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-head{
  margin:0 0 8px !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-title{
  color:#5d443d !important;
  font-size:15px !important;
  font-weight:800 !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-count{
  background:#fff1f1 !important;
  color:#c7656c !important;
  border:1px solid #f0c9c4 !important;
  box-shadow:none !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill,
html body.goods_body #goodsInfo.ni-v43-product .catt .ni-spec-track a{
  min-width:48px !important;
  height:34px !important;
  padding:0 16px !important;
  border-radius:999px !important;
  border:1px solid #e6d3c8 !important;
  background:#fffefa !important;
  color:#6d554d !important;
  font-size:13px !important;
  font-weight:700 !important;
  box-shadow:none !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.clicked,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.onbg,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.current,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.selected,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.cattsel{
  background:#cf6f75 !important;
  border-color:#cf6f75 !important;
  color:#fff !important;
  box-shadow:0 8px 18px rgba(207,111,117,.20) !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-qty-line dd.ni-qty-dd{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  flex-wrap:wrap !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-actions dd{
  display:grid !important;
  grid-template-columns:minmax(0, 1fr) 176px !important;
  gap:14px !important;
  width:100% !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-btn{
  min-height:52px !important;
  border-radius:999px !important;
  font-size:15px !important;
  font-weight:800 !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-btn-primary{
  background:linear-gradient(135deg,#d8797f 0%,#c95f69 100%) !important;
  color:#fff !important;
  box-shadow:0 14px 28px rgba(207,111,117,.22) !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-btn-secondary{
  background:#fffdf9 !important;
  border:1px solid #d9bfb1 !important;
  color:#8a6258 !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-trustbar-inline{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:10px !important;
  padding:8px 0 0 !important;
  margin:10px 0 0 !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-trustbar-inline .ni-v43-trust-item{
  min-height:58px !important;
  padding:9px 8px !important;
  border-radius:16px !important;
  background:linear-gradient(180deg,#fffefa 0%,#fbf2eb 100%) !important;
  border:1px solid #eadbd0 !important;
  box-shadow:none !important;
}
html body.goods_body .ni-v43-promo-row{
  padding:0 36px 26px !important;
}
html body.goods_body .ni-v43-story-row{
  max-width:1280px !important;
  width:100% !important;
  display:grid !important;
  grid-template-columns:320px minmax(0,1fr) !important;
  gap:24px !important;
  margin:24px auto 28px !important;
}
html body.goods_body .ni-v43-story-card{
  padding:24px !important;
}
html body.goods_body .ni-v43-feature-grid{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:16px !important;
}
html body.goods_body .ni-v43-product-desc-wrap{
  max-width:1280px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
html body.goods_body .ni-goods-desc-panel{
  min-height:420px !important;
  display:flex !important;
  align-items:flex-start !important;
  justify-content:center !important;
}
html body.goods_body .ni-goods-desc-content{
  width:100% !important;
}
html body.goods_body .ni-goods-desc-content > table,
html body.goods_body .ni-goods-desc-panel > table{
  width:auto !important;
  max-width:760px !important;
  margin:42px auto !important;
}
@media (max-width:959px){
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-hero{
    grid-template-columns:minmax(0,1fr) minmax(380px,.92fr) !important;
    gap:22px !important;
    padding:22px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-trustbar-inline{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
}
@media (max-width:900px){
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-hero{
    grid-template-columns:1fr !important;
    padding:12px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .imgInfo > a#zoom1,
  html body.goods_body #goodsInfo.ni-v43-product #zoom1.ni-main-image-link{aspect-ratio:1 / 1 !important;}
  html body.goods_body #goodsInfo.ni-v43-product .textInfo.ni-v43-purchase-card{padding:18px !important;}
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-actions dd{grid-template-columns:1fr !important;}
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-trustbar-inline{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
  html body.goods_body .ni-v43-story-row{grid-template-columns:1fr !important;}
  html body.goods_body .ni-v43-feature-grid{grid-template-columns:1fr !important;}
}
@media (max-width:520px){
  html body.goods_body #goodsInfo.ni-v43-product .imgInfo > a#zoom1,
  html body.goods_body #goodsInfo.ni-v43-product #zoom1.ni-main-image-link{aspect-ratio:4 / 3 !important;}
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-product-title{font-size:22px !important;}
  html body.goods_body #goodsInfo.ni-v43-product .goods_box_li .shop,
  html body.goods_body #goodsInfo.ni-v43-product #ECS_SHOPPRICE{font-size:24px !important;}
  html body.goods_body #goodsInfo.ni-v43-product .ni-gallery-box{padding:10px !important;}
  html body.goods_body #goodsInfo.ni-v43-product #imglist a{width:68px !important;height:68px !important;}
}

html body.goods_body #com_v.ni-goods-desc-panel,
html body.goods_body .ni-goods-desc-panel:empty{
  display:none !important;
  min-height:0 !important;
  height:0 !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  overflow:hidden !important;
}
html body.goods_body #com_h{
  display:block !important;
}
html body.goods_body .ni-v43-product-desc-wrap{
  overflow:hidden !important;
  border-radius:24px !important;
  background:#fffdf9 !important;
  box-shadow:0 16px 40px rgba(120,91,72,.08) !important;
}
html body.goods_body .ni-goods-detail-tabs{
  height:auto !important;
  min-height:58px !important;
  padding:0 28px !important;
  display:flex !important;
  align-items:center !important;
  border-bottom:1px solid #eadbd0 !important;
  background:linear-gradient(180deg,#fffdf9 0%,#fbf3ec 100%) !important;
}
html body.goods_body .ni-goods-detail-tabs #com_b,
html body.goods_body .ni-goods-detail-tabs .history{
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
}
html body.goods_body .ni-goods-detail-tabs h2{
  margin:0 !important;
  color:#4e3932 !important;
  font-size:18px !important;
  line-height:1.4 !important;
  letter-spacing:.06em !important;
  font-weight:800 !important;
}
html body.goods_body .ni-goods-desc-content{
  display:flex !important;
  width:100% !important;
  min-height:0 !important;
  padding:38px 32px 46px !important;
  align-items:flex-start !important;
  justify-content:center !important;
  background:#fffdf9 !important;
}
html body.goods_body .ni-goods-desc-content > table,
html body.goods_body .ni-goods-desc-content table{
  max-width:760px !important;
  width:auto !important;
  margin:0 auto !important;
  border-collapse:collapse !important;
  box-shadow:0 12px 28px rgba(120,91,72,.08) !important;
  border-radius:16px !important;
  overflow:hidden !important;
  background:#fffaf6 !important;
}
html body.goods_body .ni-goods-desc-content img{
  max-width:100% !important;
  height:auto !important;
}
html body.goods_body .notice-card{
  display:none !important;
}
html body.goods_body .ni-v43-promo-details[open] .notice-card{
  display:block !important;
}
html body.goods_body .ni-v43-promo-details:not([open]) .notice-card{
  display:none !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-promo-row,
html body.goods_body .ni-v43-promo-row{
  margin-top:-4px !important;
}
html body.goods_body .ni-v43-story-row{
  align-items:stretch !important;
}
html body.goods_body .ni-v43-accordion-card{
  align-self:stretch !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
}
html body.goods_body .ni-v43-story-card{
  min-height:190px !important;
}
html body.goods_body .ni-v43-feature-card{
  min-height:86px !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-gallery-box{
  min-height:104px !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-gallery-scroll{
  overflow-x:auto !important;
  scrollbar-width:none !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-gallery-scroll::-webkit-scrollbar{display:none !important;}
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-purchase-card{
  position:relative !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-purchase-card:after{
  content:none !important;
  display:none !important;
}

/* Product page boutique footer; suppress old minimal footer visually on goods page. */
html body.goods_body .footer_box{
  display:none !important;
}
html body.goods_body .ni-v43-footer{
  width:min(1280px, calc(100% - 56px)) !important;
  max-width:1280px !important;
  margin:34px auto 0 !important;
  border:1px solid #eadbd0 !important;
  border-radius:24px 24px 0 0 !important;
  background:linear-gradient(180deg,#fffaf6 0%,#f8eee6 100%) !important;
  color:#5f443c !important;
  box-shadow:0 -10px 32px rgba(120,91,72,.06) !important;
  overflow:hidden !important;
}
html body.goods_body .ni-v43-footer *{box-sizing:border-box !important;}
html body.goods_body .ni-v43-footer-inner{
  display:grid !important;
  grid-template-columns:1.35fr .78fr .78fr .78fr 1.35fr !important;
  gap:28px !important;
  padding:34px 40px 26px !important;
  align-items:start !important;
}
html body.goods_body .ni-v43-footer-brand strong{
  display:block !important;
  margin-bottom:10px !important;
  font-family:"Georgia","Times New Roman","Noto Serif TC",serif !important;
  font-size:24px !important;
  letter-spacing:.02em !important;
  color:#4e3932 !important;
}
html body.goods_body .ni-v43-footer p{
  margin:0 !important;
  color:#8c756d !important;
  font-size:13px !important;
  line-height:1.9 !important;
}
html body.goods_body .ni-v43-footer-social{
  display:flex !important;
  gap:10px !important;
  margin-top:16px !important;
}
html body.goods_body .ni-v43-footer-social span{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:30px !important;
  height:30px !important;
  padding:0 8px !important;
  border:1px solid #e2ccc0 !important;
  border-radius:999px !important;
  background:#fffdf9 !important;
  color:#8a6258 !important;
  font-size:12px !important;
}
html body.goods_body .ni-v43-footer h4{
  margin:0 0 12px !important;
  color:#5d443d !important;
  font-size:14px !important;
  line-height:1.4 !important;
  font-weight:800 !important;
  letter-spacing:.08em !important;
}
html body.goods_body .ni-v43-footer-col a{
  display:block !important;
  margin:0 0 8px !important;
  color:#8c756d !important;
  text-decoration:none !important;
  font-size:13px !important;
  line-height:1.5 !important;
}
html body.goods_body .ni-v43-footer-col a:hover{color:#b95c64 !important;}
html body.goods_body .ni-v43-footer-newsletter form{
  display:flex !important;
  margin-top:12px !important;
  border:1px solid #e2ccc0 !important;
  border-radius:16px !important;
  overflow:hidden !important;
  background:#fffdf9 !important;
}
html body.goods_body .ni-v43-footer-newsletter input{
  flex:1 1 auto !important;
  min-width:0 !important;
  height:42px !important;
  padding:0 14px !important;
  border:0 !important;
  background:#fffdf9 !important;
  color:#6d554d !important;
  font-size:13px !important;
}
html body.goods_body .ni-v43-footer-newsletter button{
  flex:0 0 86px !important;
  border:0 !important;
  background:#cf6f75 !important;
  color:#fff !important;
  font-weight:800 !important;
  letter-spacing:.08em !important;
  cursor:pointer !important;
}
html body.goods_body .ni-v43-footer-copy{
  padding:13px 20px 18px !important;
  border-top:1px solid rgba(226,204,192,.7) !important;
  text-align:center !important;
  color:#ad968d !important;
  font-size:12px !important;
}
@media (max-width:900px){
  html body.goods_body .ni-v43-footer{width:calc(100% - 22px) !important;border-radius:20px 20px 0 0 !important;}
  html body.goods_body .ni-v43-footer-inner{grid-template-columns:1fr 1fr !important;padding:24px 20px !important;gap:18px !important;}
  html body.goods_body .ni-v43-footer-brand,
  html body.goods_body .ni-v43-footer-newsletter{grid-column:1 / -1 !important;}
  html body.goods_body .ni-goods-desc-content{padding:24px 14px 32px !important;}
}
@media (max-width:520px){
  html body.goods_body .ni-v43-footer{width:calc(100% - 14px) !important;}
  html body.goods_body .ni-v43-footer-inner{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    column-gap:10px !important;
    row-gap:20px !important;
  }
  html body.goods_body .ni-v43-footer-brand,
  html body.goods_body .ni-v43-footer-newsletter{
    grid-column:1 / -1 !important;
  }
  html body.goods_body .ni-v43-footer-col{
    min-width:0 !important;
    text-align:left !important;
  }
  html body.goods_body .ni-v43-footer h4{
    margin-bottom:9px !important;
    font-size:13px !important;
    line-height:1.35 !important;
    letter-spacing:.04em !important;
    white-space:nowrap !important;
  }
  html body.goods_body .ni-v43-footer-col a{
    margin-bottom:7px !important;
    font-size:12px !important;
    line-height:1.45 !important;
    white-space:nowrap !important;
  }
}

html body.goods_body .ni-v43-local-header,
html body.goods_body .block,
html body.goods_body .ni-v43-footer{
  width:min(1320px, calc(100% - 64px)) !important;
  max-width:1320px !important;
}
html body.goods_body #goodsInfo.ni-v43-product{
  max-width:1320px !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-hero{
  grid-template-columns:minmax(0, 1.08fr) minmax(500px, .92fr) !important;
  gap:34px !important;
  padding:30px 34px 18px !important;
}
html body.goods_body #goodsInfo.ni-v43-product .textInfo,
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-purchase-card{
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  overflow:visible !important;
  padding-bottom:22px !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-trustbar,
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-trustbar-inline{
  position:static !important;
  display:grid !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  height:auto !important;
  margin:12px 0 0 !important;
  padding:0 !important;
  grid-template-columns:repeat(4, minmax(0,1fr)) !important;
  gap:8px !important;
  float:none !important;
  clear:both !important;
  transform:none !important;
  writing-mode:horizontal-tb !important;
  overflow:hidden !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-trustbar-inline .ni-v43-trust-item{
  position:static !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:4px !important;
  width:auto !important;
  min-width:0 !important;
  min-height:58px !important;
  max-width:none !important;
  padding:8px 6px !important;
  border:1px solid #eadbd0 !important;
  border-radius:16px !important;
  background:linear-gradient(180deg,#fffefa 0%,#fbf2eb 100%) !important;
  box-shadow:none !important;
  transform:none !important;
  writing-mode:horizontal-tb !important;
  text-orientation:mixed !important;
  white-space:normal !important;
  overflow:hidden !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-trustbar-inline .ni-v43-trust-item span,
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-trustbar-inline .ni-v43-trust-title,
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-trustbar-inline .ni-v43-trust-sub,
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-trustbar-inline em,
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-trustbar-inline b{
  position:static !important;
  writing-mode:horizontal-tb !important;
  text-orientation:mixed !important;
  white-space:normal !important;
  text-align:center !important;
  line-height:1.25 !important;
  transform:none !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-trustbar-inline .ni-v43-trust-icon{
  width:28px !important;
  height:24px !important;
  min-width:0 !important;
  margin:0 !important;
  font-size:14px !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-trustbar-inline .ni-v43-trust-title{
  display:block !important;
  font-size:11px !important;
  color:#674b43 !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-trustbar-inline .ni-v43-trust-sub{
  display:block !important;
  font-size:9px !important;
  color:#a3847b !important;
}

html body.goods_body .ni-v43-related-preview{
  width:min(1320px, calc(100% - 64px)) !important;
  max-width:1320px !important;
  margin:0 auto 22px !important;
  padding:0 !important;
  color:#4e3932 !important;
}
html body.goods_body .ni-v43-related-head{
  display:flex !important;
  align-items:flex-end !important;
  justify-content:space-between !important;
  gap:18px !important;
  margin:0 0 10px !important;
}
html body.goods_body .ni-v43-related-head h3{
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  color:#4e3932 !important;
  font-size:18px !important;
  line-height:1.35 !important;
  letter-spacing:.08em !important;
  font-weight:800 !important;
}
html body.goods_body .ni-v43-related-head h3 span{color:#cf6f75 !important;}
html body.goods_body .ni-v43-related-head p{
  margin:0 !important;
  color:#9a8177 !important;
  font-size:12px !important;
  line-height:1.6 !important;
}
html body.goods_body .ni-v43-related-grid{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:18px !important;
}
html body.goods_body .ni-v43-related-card{
  position:relative !important;
  display:grid !important;
  grid-template-columns:88px minmax(0,1fr) 24px !important;
  align-items:center !important;
  min-height:96px !important;
  padding:10px 12px !important;
  border:1px solid #eadbd0 !important;
  border-radius:18px !important;
  background:linear-gradient(180deg,#fffefa 0%,#fbf3ec 100%) !important;
  color:#5f443c !important;
  text-decoration:none !important;
  box-shadow:0 12px 30px rgba(126,96,77,.065) !important;
  overflow:hidden !important;
}
html body.goods_body .ni-v43-related-card:hover{
  transform:translateY(-1px) !important;
  border-color:#e2b8b3 !important;
  box-shadow:0 16px 34px rgba(126,96,77,.10) !important;
}
html body.goods_body .ni-v43-related-img{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:76px !important;
  height:76px !important;
  border-radius:14px !important;
  overflow:hidden !important;
  background:#f5ebe3 !important;
}
html body.goods_body .ni-v43-related-img img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  display:block !important;
}
html body.goods_body .ni-v43-related-icon{
  color:#cf6f75 !important;
  font-size:24px !important;
  background:linear-gradient(135deg,#fff3f1,#f7e8df) !important;
}
html body.goods_body .ni-v43-related-info{min-width:0 !important;}
html body.goods_body .ni-v43-related-info b{
  display:block !important;
  max-width:100% !important;
  margin:0 0 6px !important;
  color:#5a4038 !important;
  font-size:13px !important;
  line-height:1.4 !important;
  font-weight:800 !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}
html body.goods_body .ni-v43-related-info em{
  display:block !important;
  color:#cf6f75 !important;
  font-style:normal !important;
  font-size:13px !important;
  font-weight:800 !important;
}
html body.goods_body .ni-v43-related-heart{
  display:inline-block;
  width:26px;
  height:26px;
  background-color:var(--ni-heart-active,#c4a29d);
  -webkit-mask:var(--ni-heart-filled) center/contain no-repeat;
  mask:var(--ni-heart-filled) center/contain no-repeat;
  transform:translateY(var(--ni-heart-offset-y,-1px));
  font-size:0 !important;
  line-height:0 !important;
}

html body.goods_body .ni-v43-product-desc-wrap{
  margin-top:20px !important;
  margin-bottom:26px !important;
  box-shadow:0 14px 34px rgba(120,91,72,.07) !important;
}
html body.goods_body .ni-goods-detail-tabs{
  min-height:54px !important;
  padding:0 30px !important;
}
html body.goods_body .ni-goods-desc-content{
  padding:30px 30px 36px !important;
  background:linear-gradient(180deg,#fffdf9 0%,#fffaf6 100%) !important;
}
html body.goods_body .ni-goods-desc-content > table,
html body.goods_body .ni-goods-desc-content table{
  max-width:640px !important;
  border-radius:18px !important;
  background:#fffdf9 !important;
}
html body.goods_body .ni-goods-desc-content td,
html body.goods_body .ni-goods-desc-content th{
  line-height:1.85 !important;
}

@media (max-width:959px){
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-hero{grid-template-columns:1fr !important;}
  html body.goods_body .ni-v43-related-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
}
@media (max-width:900px){
  html body.goods_body .ni-v43-local-header,
  html body.goods_body .block,
  html body.goods_body .ni-v43-footer,
  html body.goods_body .ni-v43-related-preview{width:calc(100% - 22px) !important;max-width:none !important;}
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-trustbar-inline{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
  html body.goods_body .ni-v43-related-head{display:block !important;}
  html body.goods_body .ni-v43-related-head p{margin-top:4px !important;}
}
@media (max-width:560px){
  html body.goods_body .ni-v43-local-header,
  html body.goods_body .block,
  html body.goods_body .ni-v43-footer,
  html body.goods_body .ni-v43-related-preview{width:calc(100% - 14px) !important;}
  html body.goods_body .ni-v43-footer-inner{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    column-gap:10px !important;
    row-gap:20px !important;
  }
  html body.goods_body .ni-v43-footer-brand,
  html body.goods_body .ni-v43-footer-newsletter{
    grid-column:1 / -1 !important;
  }
  html body.goods_body .ni-v43-footer-col{min-width:0 !important;}
  html body.goods_body .ni-v43-footer h4{
    margin-bottom:9px !important;
    font-size:13px !important;
    letter-spacing:.04em !important;
    white-space:nowrap !important;
  }
  html body.goods_body .ni-v43-footer-col a{
    margin-bottom:7px !important;
    font-size:12px !important;
    white-space:nowrap !important;
  }
  html body.goods_body .ni-v43-related-grid{grid-template-columns:1fr !important;gap:10px !important;}
  html body.goods_body .ni-v43-related-card{grid-template-columns:70px minmax(0,1fr) 20px !important;min-height:84px !important;}
  html body.goods_body .ni-v43-related-img{width:60px !important;height:60px !important;}
  html body.goods_body .ni-goods-desc-content{padding:22px 12px 28px !important;}
}

/* remove purchase-card trust capsules by request. If an old compiled template still outputs them, hide safely. */
.ni-v43-product .ni-v43-trustbar-inline{display:none !important;}

.ni-v43-product .ni-qty-line{margin-top:2px !important;}
.ni-v43-product .ni-qty-dd{gap:8px;}

/* Product detail polish.
 * Breadcrumb styling has been moved to the canonical global breadcrumb component.
 */
html body.goods_body #goTopBtn{
  display:none !important;
  visibility:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
}

html body.goods_body #goodsInfo.ni-v43-product .ni-qty-line{
  margin-top:4px !important;
  margin-bottom:15px !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-qty-line dd.ni-qty-dd{
  gap:9px 12px !important;
  padding-bottom:0 !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-actions{
  margin-top:4px !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-actions dd{
  gap:18px !important;
}

html body.goods_body .ni-goods-desc-content{
  display:block !important;
  text-align:center !important;
}
html body.goods_body .ni-goods-desc-content > table,
html body.goods_body .ni-goods-desc-content table{
  display:block !important;
  width:min(100%, 660px) !important;
  max-width:660px !important;
  margin:0 auto !important;
  overflow:visible !important;
}
html body.goods_body .ni-goods-desc-content tbody,
html body.goods_body .ni-goods-desc-content thead,
html body.goods_body .ni-goods-desc-content tfoot,
html body.goods_body .ni-goods-desc-content tr,
html body.goods_body .ni-goods-desc-content td,
html body.goods_body .ni-goods-desc-content th{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  box-sizing:border-box !important;
  float:none !important;
  clear:both !important;
}
html body.goods_body .ni-goods-desc-content td,
html body.goods_body .ni-goods-desc-content th{
  text-align:center !important;
  vertical-align:top !important;
}
html body.goods_body .ni-goods-desc-content img{
  display:block !important;
  max-width:100% !important;
  height:auto !important;
  margin:0 auto !important;
}
html body.goods_body .ni-goods-desc-content p,
html body.goods_body .ni-goods-desc-content div{
  max-width:100% !important;
}

@media (max-width:900px){
  html body.goods_body #goodsInfo.ni-v43-product .ni-qty-line{
    margin-bottom:18px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-actions dd{
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    gap:12px !important;
    width:100% !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-actions .ni-v43-btn{
    width:auto !important;
    min-width:0 !important;
    margin:0 !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-actions .ni-v43-btn-primary{
    flex:1 1 0 !important;
    max-width:260px !important;
    min-width:168px !important;
    padding-left:18px !important;
    padding-right:18px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-actions .ni-v43-btn-secondary{
    flex:0 0 auto !important;
    min-width:118px !important;
    padding-left:16px !important;
    padding-right:16px !important;
  }
  html body.goods_body .ni-goods-desc-content > table,
  html body.goods_body .ni-goods-desc-content table{
    width:100% !important;
    max-width:100% !important;
  }
}
@media (max-width:520px){
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-actions dd{
    gap:9px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-actions .ni-v43-btn{
    min-height:42px !important;
    font-size:13px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-actions .ni-v43-btn-primary{
    min-width:0 !important;
    max-width:220px !important;
    flex:1 1 58% !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-actions .ni-v43-btn-secondary{
    min-width:104px !important;
    flex:0 0 auto !important;
  }
  html body.goods_body .ni-goods-desc-content{
    padding-left:14px !important;
    padding-right:14px !important;
  }
}

html body.goods_body .ni-goods-desc-content,
html body.goods_body .ni-goods-desc-content p,
html body.goods_body .ni-goods-desc-content div,
html body.goods_body .ni-goods-desc-content span,
html body.goods_body .ni-goods-desc-content font,
html body.goods_body .ni-goods-desc-content strong,
html body.goods_body .ni-goods-desc-content b,
html body.goods_body .ni-goods-desc-content em,
html body.goods_body .ni-goods-desc-content i,
html body.goods_body .ni-goods-desc-content u,
html body.goods_body .ni-goods-desc-content a,
html body.goods_body .ni-goods-desc-content li,
html body.goods_body .ni-goods-desc-content h1,
html body.goods_body .ni-goods-desc-content h2,
html body.goods_body .ni-goods-desc-content h3,
html body.goods_body .ni-goods-desc-content h4,
html body.goods_body .ni-goods-desc-content h5,
html body.goods_body .ni-goods-desc-content h6{
  line-height:1.9 !important;
}

/* behavior: product-description images are centered and automatically spaced. */
html body.goods_body .ni-goods-desc-content img{
  display:block !important;
  max-width:100% !important;
  height:auto !important;
  margin:0 auto 52px auto !important;
  border-radius:16px !important;
}
html body.goods_body .ni-goods-desc-content a > img{
  display:block !important;
  margin:0 auto 52px auto !important;
}
html body.goods_body .ni-goods-desc-content img:last-child,
html body.goods_body .ni-goods-desc-content p:last-child img:last-child,
html body.goods_body .ni-goods-desc-content div:last-child img:last-child{
  margin-bottom:0 !important;
}

/* behavior: do not collapse reserved blank rows/cells in 商品規格 / 訂購須知 tables. */
html body.goods_body .ni-goods-desc-content tr:empty,
html body.goods_body .ni-goods-desc-content td:empty,
html body.goods_body .ni-goods-desc-content th:empty{
  display:block !important;
  min-height:36px !important;
  height:36px !important;
  box-sizing:border-box !important;
}
html body.goods_body .ni-goods-desc-content td:empty:after,
html body.goods_body .ni-goods-desc-content th:empty:after{
  content:"\00a0";
  visibility:hidden;
}
html body.goods_body .ni-goods-desc-content tr:first-child > td:empty,
html body.goods_body .ni-goods-desc-content tr:first-child > th:empty,
html body.goods_body .ni-goods-desc-content tr:last-child > td:empty,
html body.goods_body .ni-goods-desc-content tr:last-child > th:empty{
  min-height:42px !important;
  height:42px !important;
}

/* Lists: keep the old centered block with readable left-aligned bullets. */
html body.goods_body .ni-goods-desc-content ul,
html body.goods_body .ni-goods-desc-content ol{
  display:inline-block !important;
  text-align:left !important;
  margin:0 auto !important;
  padding-left:1.5em !important;
}

@media (max-width:900px){
  html body.goods_body .ni-goods-desc-content img,
  html body.goods_body .ni-goods-desc-content a > img{
    margin-bottom:36px !important;
  }
  html body.goods_body .ni-goods-desc-content tr:empty,
  html body.goods_body .ni-goods-desc-content td:empty,
  html body.goods_body .ni-goods-desc-content th:empty{
    min-height:30px !important;
    height:30px !important;
  }
}

html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill:empty,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.is-empty-spec{
  display:none !important;
}

/* Unified pill style for both gallery count and spec item count. */
html body.goods_body #goodsInfo.ni-v43-product .ni-gallery-count,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-count{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:28px !important;
  padding:3px 12px !important;
  border:1px solid #f0c9c4 !important;
  border-radius:999px !important;
  background:linear-gradient(180deg,#fff8f7 0%,#fff0f0 100%) !important;
  color:#cf6f75 !important;
  font-size:12px !important;
  font-weight:800 !important;
  line-height:1.35 !important;
  letter-spacing:.02em !important;
  box-shadow:0 8px 18px rgba(207,111,117,.08) !important;
  white-space:nowrap !important;
}

/* Purchase card: prevent long spec rows from pushing/cropping the card edge. */
html body.goods_body #goodsInfo.ni-v43-product .textInfo.ni-v43-purchase-card,
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-purchase-card{
  overflow:hidden !important;
  min-width:0 !important;
  padding:30px 32px 24px !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-box,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-scroll-wrap,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-scroll{
  max-width:100% !important;
  min-width:0 !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-scroll-wrap{
  overflow:hidden !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-scroll{
  overflow-x:auto !important;
  overflow-y:hidden !important;
  scrollbar-width:none !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-scroll::-webkit-scrollbar{display:none !important;}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-track{
  flex-wrap:nowrap !important;
  width:max-content !important;
  min-width:0 !important;
  max-width:none !important;
  padding:2px 0 !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill,
html body.goods_body #goodsInfo.ni-v43-product .catt .ni-spec-track a{
  flex:0 0 auto !important;
  max-width:220px !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-head{
  align-items:center !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-title{
  min-width:0 !important;
  flex:0 0 auto !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-count{
  margin-left:auto !important;
  flex:0 0 auto !important;
}

/* Action area: a little more breathing room so CTA never looks cut. */
html body.goods_body #goodsInfo.ni-v43-product .ni-qty-line{
  margin-bottom:18px !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-actions dd{
  grid-template-columns:minmax(0,1fr) minmax(148px,176px) !important;
  gap:20px !important;
  align-items:center !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-btn{
  white-space:nowrap !important;
}

/* Gallery thumbnails: center when there are only a few images; align left only when overflowing. */
html body.goods_body #goodsInfo.ni-v43-product .ni-gallery-box{
  padding:14px 54px 16px !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-gallery-scroll{
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  min-height:86px !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-gallery-scroll.is-overflow{
  justify-content:flex-start !important;
}
html body.goods_body #goodsInfo.ni-v43-product #imglist{
  min-width:0 !important;
  width:auto !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-gallery-scroll.is-overflow #imglist{
  margin-left:0 !important;
  margin-right:0 !important;
}
html body.goods_body #goodsInfo.ni-v43-product #imglist a{
  width:82px !important;
  height:82px !important;
  border-radius:16px !important;
}

/* Product description: remove redundant empty spec field while keeping layout. */
html body.goods_body .ni-goods-desc-content tr:empty,
html body.goods_body .ni-goods-desc-content td:empty,
html body.goods_body .ni-goods-desc-content th:empty{
  display:none !important;
  min-height:0 !important;
  height:0 !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
}
html body.goods_body .ni-goods-desc-content td:empty:after,
html body.goods_body .ni-goods-desc-content th:empty:after{
  content:none !important;
}

@media (max-width:959px){
  html body.goods_body #goodsInfo.ni-v43-product .textInfo.ni-v43-purchase-card,
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-purchase-card{
    padding:24px 24px 22px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-actions dd{
    grid-template-columns:1fr minmax(140px,168px) !important;
  }
}
@media (max-width:900px){
  html body.goods_body #goodsInfo.ni-v43-product .ni-gallery-box{
    padding:12px 42px 14px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-actions dd{
    display:flex !important;
    justify-content:center !important;
    gap:12px !important;
  }
}
@media (max-width:520px){
  html body.goods_body #goodsInfo.ni-v43-product .ni-gallery-box{
    padding:10px 12px 12px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-gallery-scroll{
    min-height:76px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product #imglist a{
    width:64px !important;
    height:64px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill,
  html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill,
  html body.goods_body #goodsInfo.ni-v43-product .catt .ni-spec-track a{
    max-width:170px !important;
  }
}

html body.goods_body #goodsInfo.ni-v43-product .ni-gallery-scroll{
  justify-content:flex-start !important;
  align-items:center !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-gallery-scroll #imglist,
html body.goods_body #goodsInfo.ni-v43-product #imglist{
  margin-left:0 !important;
  margin-right:0 !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-gallery-scroll.is-overflow #imglist{
  margin-left:0 !important;
  margin-right:0 !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-gallery-box{
  padding-left:38px !important;
  padding-right:38px !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-gallery-count,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-count{
  min-height:30px !important;
  padding:4px 13px !important;
  border:1px solid #f0c9c4 !important;
  border-radius:999px !important;
  background:linear-gradient(180deg,#fff8f7 0%,#fff0f0 100%) !important;
  color:#cf6f75 !important;
  font-size:12px !important;
  font-weight:800 !important;
  line-height:1.35 !important;
  letter-spacing:.02em !important;
  box-shadow:0 8px 18px rgba(207,111,117,.08) !important;
  white-space:nowrap !important;
  box-sizing:border-box !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-head{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) max-content !important;
  align-items:center !important;
  column-gap:10px !important;
  width:100% !important;
  min-width:0 !important;
  overflow:visible !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-title{
  min-width:0 !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-count{
  justify-self:end !important;
  max-width:100% !important;
  margin-left:0 !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-scroll-wrap,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-scroll{
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-scroll-wrap{
  position:relative !important;
  overflow:hidden !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-scroll{
  padding-right:2px !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-track{
  min-width:0 !important;
  max-width:none !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill,
html body.goods_body #goodsInfo.ni-v43-product .catt .ni-spec-track a{
  max-width:184px !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-qty-line{
  margin-bottom:24px !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-qty-line dd.ni-qty-dd{
  gap:10px 14px !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-actions{
  margin-top:8px !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-actions dd{
  gap:26px !important;
  align-items:center !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-btn-secondary{
  min-width:156px !important;
}
html body.goods_body .ni-goods-desc-content tr.ni-v43-empty-row,
html body.goods_body .ni-goods-desc-content td.ni-v43-empty-cell,
html body.goods_body .ni-goods-desc-content th.ni-v43-empty-cell{
  display:none !important;
  min-height:0 !important;
  height:0 !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
}
@media (max-width: 959px) and (min-width: 901px){
  html body.goods_body .ni-v43-local-header,
  html body.goods_body .block,
  html body.goods_body .ni-v43-footer,
  html body.goods_body .ni-v43-related-preview{
    width:960px !important;
    max-width:960px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product{
    max-width:960px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-hero{
    grid-template-columns:minmax(0, .98fr) minmax(344px, .86fr) !important;
    gap:22px !important;
    padding:24px 24px 18px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .imgInfo > a#zoom1,
  html body.goods_body #goodsInfo.ni-v43-product #zoom1.ni-main-image-link,
  html body.goods_body #goodsInfo.ni-v43-product #zoom1.ni-lightbox-trigger{
    aspect-ratio:4 / 3 !important;
    border-radius:22px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .textInfo.ni-v43-purchase-card,
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-purchase-card{
    padding:24px 24px 22px !important;
    overflow:hidden !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-product-title,
  html body.goods_body #goodsInfo.ni-v43-product .textInfo .ni-v43-product-title{
    font-size:25px !important;
    line-height:1.34 !important;
    margin-bottom:14px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .goods_box_li{
    padding:8px 0 !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .goods_box_li dd{
    font-size:13px !important;
    line-height:1.62 !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .goods_box_li .shop,
  html body.goods_body #goodsInfo.ni-v43-product #ECS_SHOPPRICE{
    font-size:27px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-spec-head{
    grid-template-columns:minmax(0,1fr) max-content !important;
    column-gap:8px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-spec-count,
  html body.goods_body #goodsInfo.ni-v43-product .ni-gallery-count{
    min-height:28px !important;
    padding:3px 10px !important;
    font-size:11px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill,
  html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill,
  html body.goods_body #goodsInfo.ni-v43-product .catt .ni-spec-track a{
    max-width:156px !important;
    height:32px !important;
    padding-left:13px !important;
    padding-right:13px !important;
    font-size:12px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-hscroll-btn{
    width:26px !important;
    height:26px !important;
    min-width:26px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-gallery-box{
    padding:12px 38px 14px !important;
    border-radius:21px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-gallery-scroll{
    justify-content:flex-start !important;
    min-height:78px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product #imglist a{
    width:74px !important;
    height:74px !important;
    border-radius:15px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-qty-line{
    margin-top:5px !important;
    margin-bottom:24px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-actions{
    margin-top:8px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-actions dd{
    grid-template-columns:minmax(0,1fr) minmax(132px,154px) !important;
    gap:24px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-btn{
    min-height:48px !important;
    font-size:14px !important;
    padding-left:18px !important;
    padding-right:18px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-btn-secondary{
    min-width:132px !important;
  }
}
@media (max-width:900px){
  html body.goods_body #goodsInfo.ni-v43-product .ni-gallery-scroll{
    justify-content:flex-start !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product #imglist{
    margin-left:0 !important;
    margin-right:0 !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-qty-line{
    margin-bottom:22px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-actions{
    margin-top:8px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-actions dd{
    gap:16px !important;
  }
}
@media (max-width:520px){
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-actions dd{
    gap:12px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-btn-secondary{
    min-width:108px !important;
  }
}

html body.goods_body #goodsInfo.ni-v43-product,
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-hero,
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-gallery-col,
html body.goods_body #goodsInfo.ni-v43-product .textInfo.ni-v43-purchase-card,
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-purchase-card,
html body.goods_body #goodsInfo.ni-v43-product .bnt_box,
html body.goods_body #goodsInfo.ni-v43-product .bnt_box > li,
html body.goods_body #goodsInfo.ni-v43-product .goods_box_li,
html body.goods_body #goodsInfo.ni-v43-product .goods_box_li dd{
  min-width:0 !important;
  max-width:100% !important;
  box-sizing:border-box !important;
}
html body.goods_body #goodsInfo.ni-v43-product .textInfo.ni-v43-purchase-card,
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-purchase-card{
  overflow:hidden !important;
}

/* At the compact desktop breakpoint, 960px is treated as the target maximum canvas. */
@media (max-width: 959px) and (min-width: 901px){
  html body.goods_body .ni-v43-local-header,
  html body.goods_body .block,
  html body.goods_body .ni-v43-footer,
  html body.goods_body .ni-v43-related-preview{
    width:min(960px, calc(100% - 28px)) !important;
    max-width:960px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product{
    width:100% !important;
    max-width:960px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-hero{
    display:grid !important;
    grid-template-columns:minmax(0, .535fr) minmax(0, .465fr) !important;
    gap:18px !important;
    padding:22px 18px 18px !important;
    overflow:hidden !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .textInfo.ni-v43-purchase-card,
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-purchase-card{
    padding:22px 20px 20px !important;
    border-radius:22px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-product-title,
  html body.goods_body #goodsInfo.ni-v43-product .textInfo .ni-v43-product-title{
    font-size:24px !important;
    line-height:1.36 !important;
    margin-bottom:12px !important;
    word-break:break-word !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .goods_box_li{
    padding:7px 0 !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .goods_box_li dd{
    font-size:13px !important;
    line-height:1.58 !important;
    gap:4px 7px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .goods_box_li .shop,
  html body.goods_body #goodsInfo.ni-v43-product #ECS_SHOPPRICE{
    font-size:26px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-spec-head{
    grid-template-columns:minmax(0,1fr) max-content !important;
    gap:8px !important;
    overflow:visible !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-spec-count,
  html body.goods_body #goodsInfo.ni-v43-product .ni-gallery-count{
    max-width:138px !important;
    min-height:27px !important;
    padding:3px 9px !important;
    font-size:11px !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-spec-scroll-wrap{
    width:100% !important;
    max-width:100% !important;
    overflow:hidden !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-spec-scroll{
    min-width:0 !important;
    max-width:100% !important;
    overflow-x:auto !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-spec-track{
    min-width:max-content !important;
    width:max-content !important;
    max-width:none !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill,
  html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill,
  html body.goods_body #goodsInfo.ni-v43-product .catt .ni-spec-track a{
    max-width:142px !important;
    min-width:42px !important;
    height:32px !important;
    padding-left:12px !important;
    padding-right:12px !important;
    font-size:12px !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-gallery-box{
    padding:12px 36px 14px !important;
    border-radius:21px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-gallery-scroll{
    justify-content:flex-start !important;
    min-height:76px !important;
    overflow-x:auto !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product #imglist a{
    width:72px !important;
    height:72px !important;
    border-radius:15px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-qty-line{
    margin-top:6px !important;
    margin-bottom:0 !important;
    padding-bottom:0 !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-qty-line dd.ni-qty-dd{
    gap:8px 10px !important;
    line-height:1.45 !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .bnt_box > li.ni-v43-actions,
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-actions{
    margin-top:22px !important;
    padding-top:0 !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-actions dd{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(108px,122px) !important;
    gap:14px !important;
    align-items:center !important;
    width:100% !important;
    overflow:hidden !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-btn{
    min-width:0 !important;
    width:100% !important;
    min-height:46px !important;
    padding-left:10px !important;
    padding-right:10px !important;
    font-size:13px !important;
    white-space:nowrap !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-btn-secondary{
    min-width:0 !important;
    max-width:none !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-btn-icon{
    margin-right:5px !important;
  }
}

/* Real vertical spacing between quantity and CTA, all desktop widths. */
html body.goods_body #goodsInfo.ni-v43-product .bnt_box > li.ni-qty-line{
  margin-bottom:0 !important;
  padding-bottom:0 !important;
}
html body.goods_body #goodsInfo.ni-v43-product .bnt_box > li.ni-v43-actions,
html body.goods_body #goodsInfo.ni-v43-product li.ni-v43-actions{
  margin-top:22px !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-actions dd{
  padding-top:0 !important;
}

/* Unify gallery arrows and spec arrows: transparent chevron, same hover/focus effect. */
html body.goods_body #goodsInfo.ni-v43-product .ni-hscroll-wrap .ni-hscroll-btn,
html body.goods_body #goodsInfo.ni-v43-product .ni-gallery-scroll-wrap .ni-hscroll-btn,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-scroll-wrap .ni-hscroll-btn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex:0 0 28px !important;
  width:28px !important;
  height:28px !important;
  min-width:28px !important;
  min-height:28px !important;
  padding:0 !important;
  border:0 !important;
  border-radius:999px !important;
  background:transparent !important;
  box-shadow:none !important;
  color:#d8c3bb !important;
  font-size:30px !important;
  line-height:1 !important;
  font-family:Arial, Helvetica, sans-serif !important;
  cursor:pointer !important;
  transform:none !important;
  transition:color .18s ease, opacity .18s ease, transform .18s ease, background .18s ease !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-hscroll-wrap .ni-hscroll-btn:hover,
html body.goods_body #goodsInfo.ni-v43-product .ni-hscroll-wrap .ni-hscroll-btn:focus{
  color:#cf6f75 !important;
  background:rgba(255,241,241,.62) !important;
  transform:translateY(-1px) !important;
  outline:none !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-hscroll-wrap .ni-hscroll-btn:active{
  transform:translateY(0) scale(.96) !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-hscroll-wrap .ni-hscroll-btn.is-disabled{
  opacity:.22 !important;
  color:#d9c8ca !important;
  pointer-events:none !important;
  background:transparent !important;
  transform:none !important;
}

/* Product description table: remove historic overlapping border layers and keep one clean border model. */
html body.goods_body .ni-goods-desc-content table,
html body.goods_body .ni-goods-desc-content .nij-ueditor-default-center table{
  border-collapse:separate !important;
  border-spacing:0 !important;
  border:1px solid rgba(221,200,186,.82) !important;
  outline:0 !important;
  box-shadow:0 10px 24px rgba(120,91,72,.055) !important;
  background:#fffdf9 !important;
}
html body.goods_body .ni-goods-desc-content table table,
html body.goods_body .ni-goods-desc-content .nij-ueditor-default-center table table{
  border:0 !important;
  box-shadow:none !important;
  outline:0 !important;
}
html body.goods_body .ni-goods-desc-content tr,
html body.goods_body .ni-goods-desc-content tbody,
html body.goods_body .ni-goods-desc-content thead,
html body.goods_body .ni-goods-desc-content tfoot{
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
  background:transparent !important;
}
html body.goods_body .ni-goods-desc-content td,
html body.goods_body .ni-goods-desc-content th{
  border:0 !important;
  border-top:1px solid rgba(221,200,186,.72) !important;
  outline:0 !important;
  box-shadow:none !important;
  background:#fffdf9 !important;
}
html body.goods_body .ni-goods-desc-content tr:first-child > td,
html body.goods_body .ni-goods-desc-content tr:first-child > th{
  border-top:0 !important;
}
html body.goods_body .ni-goods-desc-content td:first-child,
html body.goods_body .ni-goods-desc-content th:first-child{
  border-left:0 !important;
}
html body.goods_body .ni-goods-desc-content tr.ni-v43-empty-row,
html body.goods_body .ni-goods-desc-content td.ni-v43-empty-cell,
html body.goods_body .ni-goods-desc-content th.ni-v43-empty-cell{
  display:none !important;
  border:0 !important;
}

@media (max-width:900px){
  html body.goods_body #goodsInfo.ni-v43-product .bnt_box > li.ni-v43-actions,
  html body.goods_body #goodsInfo.ni-v43-product li.ni-v43-actions{
    margin-top:20px !important;
  }
}

html body.goods_body #goodsInfo.ni-v43-product .bnt_box > li.ni-qty-line,
html body.goods_body #goodsInfo.ni-v43-product li.ni-qty-line{
  display:block !important;
  clear:both !important;
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
  float:none !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-qty-line dd.ni-qty-dd{
  display:flex !important;
  align-items:center !important;
  gap:8px 12px !important;
  width:100% !important;
  margin:0 !important;
  padding:0 0 16px !important;
  float:none !important;
  clear:both !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-cta-gap{
  display:block !important;
  clear:both !important;
  width:100% !important;
  height:18px !important;
  line-height:18px !important;
  margin:0 !important;
  padding:0 !important;
  float:none !important;
  overflow:hidden !important;
}
html body.goods_body #goodsInfo.ni-v43-product .bnt_box > li.ni-v43-actions,
html body.goods_body #goodsInfo.ni-v43-product li.ni-v43-actions{
  display:block !important;
  clear:both !important;
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
  float:none !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-actions dd{
  display:grid !important;
  clear:both !important;
  grid-template-columns:minmax(0,1fr) minmax(130px,176px) !important;
  gap:18px !important;
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
  float:none !important;
  align-items:center !important;
  overflow:visible !important;
}

@media (max-width:959px) and (min-width:901px){
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-cta-gap{
    height:20px !important;
    line-height:20px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-qty-line dd.ni-qty-dd{
    padding-bottom:16px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-actions dd{
    grid-template-columns:minmax(0,1fr) minmax(112px,132px) !important;
    gap:16px !important;
  }
}
@media (max-width:900px){
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-cta-gap{
    height:16px !important;
    line-height:16px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-actions dd{
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    flex-wrap:wrap !important;
    gap:12px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-btn{
    width:auto !important;
    min-width:138px !important;
  }
}

/* Spec pills: keep all valid backend values visible; only hide truly empty template/filler nodes with no input/name/value. */
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill{
  visibility:visible !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.is-empty-spec[data-ni-empty-real="1"]{
  display:none !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.is-empty-spec:not([data-ni-empty-real="1"]){
  display:inline-flex !important;
}

/* Description table: preserve intentional blank cells/rows; do not let old empty markers remove 商品規格/訂購須知 reserved rows. */
html body.goods_body .ni-goods-desc-content tr.ni-v43-empty-row,
html body.goods_body .ni-goods-desc-panel tr.ni-v43-empty-row{
  display:table-row !important;
}
html body.goods_body .ni-goods-desc-content td.ni-v43-empty-cell,
html body.goods_body .ni-goods-desc-content th.ni-v43-empty-cell,
html body.goods_body .ni-goods-desc-panel td.ni-v43-empty-cell,
html body.goods_body .ni-goods-desc-panel th.ni-v43-empty-cell,
html body.goods_body .ni-goods-desc-content td:empty,
html body.goods_body .ni-goods-desc-panel td:empty{
  display:table-cell !important;
}

html body.goods_body .ni-goods-desc-content table,
html body.goods_body .ni-goods-desc-panel table,
html body.goods_body .ni-goods-desc-content .nij-ueditor-default-center table{
  border-collapse:collapse !important;
  border-spacing:0 !important;
  border:1px solid rgba(216,197,184,.86) !important;
  outline:0 !important;
  box-shadow:none !important;
  background:#fffdf9 !important;
  color:#5f4b44 !important;
  font-size:15px !important;
  line-height:1.9 !important;
}
html body.goods_body .ni-goods-desc-content table *,
html body.goods_body .ni-goods-desc-panel table *,
html body.goods_body .ni-goods-desc-content .nij-ueditor-default-center table *{
  box-shadow:none !important;
  outline:0 !important;
  font-size:15px !important;
  line-height:1.9 !important;
}
html body.goods_body .ni-goods-desc-content td,
html body.goods_body .ni-goods-desc-content th,
html body.goods_body .ni-goods-desc-panel td,
html body.goods_body .ni-goods-desc-panel th{
  border:1px solid rgba(216,197,184,.74) !important;
  outline:0 !important;
  box-shadow:none !important;
  background:#fffdf9 !important;
  color:#5f4b44 !important;
  vertical-align:middle !important;
  font-size:15px !important;
  line-height:1.9 !important;
}
html body.goods_body .ni-goods-desc-content th,
html body.goods_body .ni-goods-desc-panel th{
  font-weight:700 !important;
}
html body.goods_body .ni-goods-desc-content img,
html body.goods_body .ni-goods-desc-panel img{
  margin-left:auto !important;
  margin-right:auto !important;
  margin-bottom:18px !important;
}

/* Gallery count: independent row, never absolute over thumbnails. */
html body.goods_body #goodsInfo.ni-v43-product .ni-gallery-box{
  display:flex !important;
  flex-direction:column !important;
  gap:10px !important;
  position:relative !important;
  padding-top:14px !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-gallery-head{
  position:static !important;
  top:auto !important;
  right:auto !important;
  left:auto !important;
  z-index:auto !important;
  display:flex !important;
  width:100% !important;
  justify-content:flex-end !important;
  align-items:center !important;
  order:1 !important;
  margin:0 !important;
  padding:0 !important;
  pointer-events:auto !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-gallery-count{
  position:static !important;
  transform:none !important;
  max-width:100% !important;
  flex:0 0 auto !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-gallery-scroll-wrap{
  order:2 !important;
  width:100% !important;
  min-width:0 !important;
  margin:0 !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-gallery-scroll{
  min-width:0 !important;
}

/* Purchase form: force a real vertical document flow so legacy floats cannot overlap CTA. */
html body.goods_body #goodsInfo.ni-v43-product ul.bnt_box{
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  gap:0 !important;
  clear:both !important;
  float:none !important;
  overflow:visible !important;
}
html body.goods_body #goodsInfo.ni-v43-product ul.bnt_box > li{
  float:none !important;
  clear:both !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  height:auto !important;
  box-sizing:border-box !important;
}
html body.goods_body #goodsInfo.ni-v43-product ul.bnt_box > li.ni-qty-line{
  display:block !important;
  margin:0 !important;
  padding:0 !important;
  order:90 !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-qty-line dd.ni-qty-dd{
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  gap:10px 12px !important;
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
  min-height:36px !important;
  line-height:1.45 !important;
  clear:both !important;
  float:none !important;
}
html body.goods_body #goodsInfo.ni-v43-product ul.bnt_box > li.ni-v43-cta-gap,
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-cta-gap{
  display:block !important;
  flex:0 0 32px !important;
  order:91 !important;
  width:100% !important;
  height:32px !important;
  min-height:32px !important;
  line-height:32px !important;
  margin:0 !important;
  padding:0 !important;
  clear:both !important;
  float:none !important;
  overflow:hidden !important;
  visibility:visible !important;
}
html body.goods_body #goodsInfo.ni-v43-product ul.bnt_box > li.ni-v43-actions,
html body.goods_body #goodsInfo.ni-v43-product li.ni-v43-actions{
  display:block !important;
  order:92 !important;
  margin:0 !important;
  padding:0 !important;
  clear:both !important;
  float:none !important;
  width:100% !important;
  overflow:visible !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-actions:before{
  content:'' !important;
  display:block !important;
  height:0 !important;
  clear:both !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-actions dd{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(130px,176px) !important;
  gap:18px !important;
  align-items:center !important;
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
  clear:both !important;
  float:none !important;
  box-sizing:border-box !important;
}

@media (max-width:959px) and (min-width:901px){
  html body.goods_body #goodsInfo.ni-v43-product ul.bnt_box > li.ni-v43-cta-gap,
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-cta-gap{
    flex-basis:34px !important;
    height:34px !important;
    min-height:34px !important;
    line-height:34px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-actions dd{
    grid-template-columns:minmax(0,1fr) minmax(112px,132px) !important;
    gap:16px !important;
  }
}
@media (max-width:900px){
  html body.goods_body #goodsInfo.ni-v43-product ul.bnt_box > li.ni-v43-cta-gap,
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-cta-gap{
    flex-basis:24px !important;
    height:24px !important;
    min-height:24px !important;
    line-height:24px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-actions dd{
    display:flex !important;
    justify-content:center !important;
    flex-wrap:wrap !important;
    gap:12px !important;
  }
}

/* Product description: remove historical stacked frame lines. Use the product-desc card as the outer frame; inner custom tables only keep clean horizontal separators. */
html body.goods_body .ni-goods-desc-content{
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
}
html body.goods_body .ni-goods-desc-content table,
html body.goods_body .ni-goods-desc-panel table,
html body.goods_body .ni-goods-desc-content .nij-ueditor-default-center table{
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
  border-collapse:collapse !important;
  border-spacing:0 !important;
  background:#fffdf9 !important;
}
html body.goods_body .ni-goods-desc-content table table,
html body.goods_body .ni-goods-desc-panel table table{
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
}
html body.goods_body .ni-goods-desc-content tbody,
html body.goods_body .ni-goods-desc-content thead,
html body.goods_body .ni-goods-desc-content tfoot,
html body.goods_body .ni-goods-desc-content tr,
html body.goods_body .ni-goods-desc-panel tbody,
html body.goods_body .ni-goods-desc-panel thead,
html body.goods_body .ni-goods-desc-panel tfoot,
html body.goods_body .ni-goods-desc-panel tr{
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
  background:transparent !important;
}
html body.goods_body .ni-goods-desc-content td,
html body.goods_body .ni-goods-desc-content th,
html body.goods_body .ni-goods-desc-panel td,
html body.goods_body .ni-goods-desc-panel th{
  border:0 !important;
  border-top:1px solid rgba(216,197,184,.70) !important;
  border-left:0 !important;
  border-right:0 !important;
  border-bottom:0 !important;
  outline:0 !important;
  box-shadow:none !important;
  background:#fffdf9 !important;
  color:#5f4b44 !important;
  font-size:15px !important;
  line-height:1.9 !important;
  vertical-align:middle !important;
}
html body.goods_body .ni-goods-desc-content tr:first-child > td,
html body.goods_body .ni-goods-desc-content tr:first-child > th,
html body.goods_body .ni-goods-desc-panel tr:first-child > td,
html body.goods_body .ni-goods-desc-panel tr:first-child > th{
  border-top:0 !important;
}
html body.goods_body .ni-goods-desc-content th,
html body.goods_body .ni-goods-desc-panel th{
  font-weight:700 !important;
}

/* quantity-CTA / product-description table repair === * 2026-05-25 * Main-image sizing is now owned only by the final frame block below. * This section keeps quantity spacing and product-description table border repairs only. */

/* Quantity row: keep the label away from the - 1 + controls and keep amount readable. */
html body.goods_body #goodsInfo.ni-v43-product .ni-qty-line dd.ni-qty-dd{
  display:flex !important;
  align-items:center !important;
  flex-wrap:wrap !important;
  column-gap:16px !important;
  row-gap:10px !important;
  padding-bottom:0 !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-qty-label{
  flex:0 0 auto !important;
  padding-right:4px !important;
  white-space:nowrap !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-qty-control{
  flex:0 0 auto !important;
  margin-left:0 !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-qty-amount{
  flex:0 1 auto !important;
  min-width:0 !important;
  white-space:nowrap !important;
}

/* CTA row: guaranteed vertical breathing room even if legacy list/flex styles collapse margins. */
html body.goods_body #goodsInfo.ni-v43-product ul.bnt_box > li.ni-v43-actions,
html body.goods_body #goodsInfo.ni-v43-product li.ni-v43-actions{
  margin-top:0 !important;
  padding-top:0 !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-actions:before{
  content:'' !important;
  display:block !important;
  width:100% !important;
  height:30px !important;
  min-height:30px !important;
  clear:both !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-actions dd{
  margin-top:0 !important;
}
@media (max-width:959px) and (min-width:901px){
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-actions:before{
    height:34px !important;
    min-height:34px !important;
  }
}
@media (max-width:900px){
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-actions:before{
    height:24px !important;
    min-height:24px !important;
  }
}

/* Product description table: restore visible frame while using a single non-overlapping collapsed border model. */
html body.goods_body .ni-goods-desc-content table,
html body.goods_body .ni-goods-desc-panel table,
html body.goods_body .ni-goods-desc-content .nij-ueditor-default-center table{
  display:table !important;
  width:min(100%, 980px) !important;
  max-width:100% !important;
  margin-left:auto !important;
  margin-right:auto !important;
  border-collapse:collapse !important;
  border-spacing:0 !important;
  border:1px solid rgba(216,197,184,.88) !important;
  outline:0 !important;
  box-shadow:none !important;
  background:#fffdf9 !important;
}
html body.goods_body .ni-goods-desc-content table[border],
html body.goods_body .ni-goods-desc-panel table[border]{
  border:1px solid rgba(216,197,184,.88) !important;
}
html body.goods_body .ni-goods-desc-content table table,
html body.goods_body .ni-goods-desc-panel table table{
  width:100% !important;
  border:1px solid rgba(216,197,184,.62) !important;
  margin:0 auto !important;
}
html body.goods_body .ni-goods-desc-content tbody,
html body.goods_body .ni-goods-desc-content thead,
html body.goods_body .ni-goods-desc-content tfoot,
html body.goods_body .ni-goods-desc-content tr,
html body.goods_body .ni-goods-desc-panel tbody,
html body.goods_body .ni-goods-desc-panel thead,
html body.goods_body .ni-goods-desc-panel tfoot,
html body.goods_body .ni-goods-desc-panel tr{
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
  background:transparent !important;
}
html body.goods_body .ni-goods-desc-content td,
html body.goods_body .ni-goods-desc-content th,
html body.goods_body .ni-goods-desc-panel td,
html body.goods_body .ni-goods-desc-panel th{
  border:1px solid rgba(216,197,184,.72) !important;
  outline:0 !important;
  box-shadow:none !important;
  background:#fffdf9 !important;
  color:#5f4b44 !important;
  font-size:15px !important;
  line-height:1.9 !important;
  vertical-align:middle !important;
}
html body.goods_body .ni-goods-desc-content th,
html body.goods_body .ni-goods-desc-panel th{
  font-weight:700 !important;
}

html body.goods_body #goodsInfo.ni-v43-product .imgInfo{
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  overflow:visible !important;
  background:transparent !important;
}
html body.goods_body #goodsInfo.ni-v43-product .imgInfo > a#zoom1,
html body.goods_body #goodsInfo.ni-v43-product .ni-main-image-link,
html body.goods_body #goodsInfo.ni-v43-product #zoom1,
html body.goods_body #goodsInfo.ni-v43-product #zoom1.ni-main-image-link,
html body.goods_body #goodsInfo.ni-v43-product #zoom1.ni-lightbox-trigger{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  aspect-ratio:4 / 3 !important;
  overflow:hidden !important;
  border:1px solid #eadbd0 !important;
  border-radius:var(--ni-v43-radius-image-main) !important;
  background:#f9efe8 !important;
  box-shadow:0 14px 32px rgba(124,96,79,.09) !important;
  cursor:zoom-in !important;
}
html body.goods_body #goodsInfo.ni-v43-product #zoom1 picture,
html body.goods_body #goodsInfo.ni-v43-product .ni-main-image-link picture,
html body.goods_body #goodsInfo.ni-v43-product .ni-lightbox-trigger picture,
html body.goods_body #goodsInfo.ni-v43-product #zoom1 .autoslim-picture,
html body.goods_body #goodsInfo.ni-v43-product .ni-main-image-link .autoslim-picture,
html body.goods_body #goodsInfo.ni-v43-product .ni-lightbox-trigger .autoslim-picture{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  height:100% !important;
  min-width:0 !important;
  min-height:0 !important;
  overflow:hidden !important;
  border-radius:inherit !important;
}
html body.goods_body #goodsInfo.ni-v43-product #zoom1 img,
html body.goods_body #goodsInfo.ni-v43-product .ni-main-image-link img,
html body.goods_body #goodsInfo.ni-v43-product .ni-lightbox-trigger img,
html body.goods_body #goodsInfo.ni-v43-product .imgInfo > a#zoom1 img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  max-height:none !important;
  min-width:0 !important;
  min-height:0 !important;
  object-fit:contain !important;
  object-position:center center !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  border-radius:inherit !important;
  background:transparent !important;
}

/* Boutique spec pill redesign: premium soft default, refined hover, distinct selected state. */
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill,
html body.goods_body #goodsInfo.ni-v43-product .catt .ni-spec-track a{
  position:relative !important;
  isolation:isolate !important;
  border:1px solid rgba(218,193,181,.95) !important;
  background:linear-gradient(180deg,#fffdf9 0%,#fff8f4 100%) !important;
  color:#6c514a !important;
  box-shadow:0 6px 18px rgba(99,68,52,.045), inset 0 1px 0 rgba(255,255,255,.94) !important;
  transition:background .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill:hover,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill:hover,
html body.goods_body #goodsInfo.ni-v43-product .catt .ni-spec-track a:hover{
  border-color:#d99aa0 !important;
  color:#8a4f55 !important;
  background:linear-gradient(180deg,#fffafa 0%,#fff1ef 100%) !important;
  box-shadow:0 12px 25px rgba(207,111,117,.12), inset 0 1px 0 rgba(255,255,255,.95) !important;
  transform:translateY(-1px) !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.cattsel,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.clicked,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.current,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.selected,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.onbg,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.is-selected,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill.cattsel,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill.clicked,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill.current,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill.selected,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill.onbg,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill.is-selected{
  border-color:#cf6f75 !important;
  background:linear-gradient(135deg,#d87a82 0%,#c9616e 100%) !important;
  color:#fff !important;
  box-shadow:0 14px 28px rgba(207,111,117,.24), inset 0 1px 0 rgba(255,255,255,.32) !important;
  transform:translateY(-1px) !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.is-selected:after,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.cattsel:after,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.selected:after,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.onbg:after{
  content:'';
  position:absolute;
  right:8px;
  top:50%;
  width:5px;
  height:5px;
  margin-top:-2.5px;
  border-radius:999px;
  background:rgba(255,255,255,.86);
  box-shadow:0 0 0 2px rgba(255,255,255,.18);
}

/* Boutique thumbnail highlight redesign. Keep thumbnail row calm; selected image feels premium, not loud. */
html body.goods_body #goodsInfo.ni-v43-product #imglist a{
  border:1px solid rgba(226,204,193,.9) !important;
  background:linear-gradient(180deg,#fffdf9 0%,#fff8f4 100%) !important;
  box-shadow:0 8px 22px rgba(99,68,52,.06), inset 0 1px 0 rgba(255,255,255,.92) !important;
  transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease !important;
}
html body.goods_body #goodsInfo.ni-v43-product #imglist a:hover{
  border-color:#d99aa0 !important;
  box-shadow:0 12px 26px rgba(207,111,117,.12), inset 0 1px 0 rgba(255,255,255,.94) !important;
  transform:translateY(-1px) !important;
}
html body.goods_body #goodsInfo.ni-v43-product #imglist a.is-active,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.onbg,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.tb-selected,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.selected{
  border-color:#cf6f75 !important;
  background:linear-gradient(180deg,#fffafa 0%,#fff0ef 100%) !important;
  box-shadow:0 15px 30px rgba(207,111,117,.18), inset 0 0 0 3px rgba(255,255,255,.84) !important;
  transform:translateY(-2px) !important;
}
html body.goods_body #goodsInfo.ni-v43-product #imglist a.is-active img,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.onbg img,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.tb-selected img,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.selected img,
html body.goods_body #goodsInfo.ni-v43-product #imglist img.onbg,
html body.goods_body #goodsInfo.ni-v43-product #imglist img.tb-selected,
html body.goods_body #goodsInfo.ni-v43-product #imglist img.selected{
  border:0 !important;
  outline:0 !important;
  filter:saturate(1.04) contrast(1.02) !important;
}

/* Product description table: JS and final CSS both restore a single clean border model. */
html body.goods_body .ni-goods-desc-content table,
html body.goods_body .ni-goods-desc-panel table,
html body.goods_body .ni-goods-desc-content .nij-ueditor-default-center table{
  display:table !important;
  width:min(100%, 980px) !important;
  max-width:100% !important;
  margin:0 auto 22px !important;
  border-collapse:collapse !important;
  border-spacing:0 !important;
  border:1px solid rgba(216,197,184,.88) !important;
  outline:0 !important;
  box-shadow:none !important;
  background:#fffdf9 !important;
}
html body.goods_body .ni-goods-desc-content table table,
html body.goods_body .ni-goods-desc-panel table table{
  width:100% !important;
  margin:0 auto !important;
  border:1px solid rgba(216,197,184,.62) !important;
}
html body.goods_body .ni-goods-desc-content td,
html body.goods_body .ni-goods-desc-content th,
html body.goods_body .ni-goods-desc-panel td,
html body.goods_body .ni-goods-desc-panel th{
  border:1px solid rgba(216,197,184,.72) !important;
  outline:0 !important;
  box-shadow:none !important;
  background:#fffdf9 !important;
  color:#5f4b44 !important;
  vertical-align:middle !important;
  font-size:15px !important;
  line-height:1.9 !important;
}

/* boutique minimal highlight / description section background === * 2026-05-25 * Requests: * - 商品規格 / 訂購須知 cells get a calm background. * - Main-gallery thumbnails should not use loud outer highlight frames. * - Spec and thumbnail active states redesigned as minimal, understated boutique UI. */

/* 商品描述：只針對「商品規格 / 訂購須知」欄位加上低調底色，不回復舊版重色階。 */
html body.goods_body .ni-goods-desc-content .ni-v43-desc-section-heading,
html body.goods_body .ni-goods-desc-panel .ni-v43-desc-section-heading,
html body.goods_body .ni-goods-desc-content [data-ni-desc-heading-label="商品規格"],
html body.goods_body .ni-goods-desc-content [data-ni-desc-heading-label="訂購須知"],
html body.goods_body .ni-goods-desc-panel [data-ni-desc-heading-label="商品規格"],
html body.goods_body .ni-goods-desc-panel [data-ni-desc-heading-label="訂購須知"],
html body.goods_body .ni-goods-desc-content tr.ni-v43-desc-section-row > td,
html body.goods_body .ni-goods-desc-content tr.ni-v43-desc-section-row > th,
html body.goods_body .ni-goods-desc-panel tr.ni-v43-desc-section-row > td,
html body.goods_body .ni-goods-desc-panel tr.ni-v43-desc-section-row > th{
  background:linear-gradient(180deg,#f8f1eb 0%,#efe3da 100%) !important;
  background-color:#f2e8df !important;
  color:#4f3b35 !important;
  font-weight:700 !important;
  letter-spacing:.03em !important;
}
html body.goods_body .ni-goods-desc-content .ni-v43-desc-section-heading,
html body.goods_body .ni-goods-desc-panel .ni-v43-desc-section-heading,
html body.goods_body .ni-goods-desc-content [data-ni-desc-heading-label="商品規格"],
html body.goods_body .ni-goods-desc-content [data-ni-desc-heading-label="訂購須知"],
html body.goods_body .ni-goods-desc-panel [data-ni-desc-heading-label="商品規格"],
html body.goods_body .ni-goods-desc-panel [data-ni-desc-heading-label="訂購須知"]{
  border-color:rgba(213,192,178,.88) !important;
}

/* 款式膠囊：極簡精品版。移除大面積玫瑰實心，改用淡底、細線、低調內陰影。 */
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill,
html body.goods_body #goodsInfo.ni-v43-product .catt .ni-spec-track a{
  border:1px solid rgba(221,201,190,.92) !important;
  background:rgba(255,253,249,.88) !important;
  color:#66514a !important;
  box-shadow:0 3px 10px rgba(78,57,50,.035), inset 0 1px 0 rgba(255,255,255,.96) !important;
  transform:none !important;
  font-weight:600 !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill:hover,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill:hover,
html body.goods_body #goodsInfo.ni-v43-product .catt .ni-spec-track a:hover{
  border-color:rgba(199,165,151,.96) !important;
  background:#fff9f5 !important;
  color:#553f39 !important;
  box-shadow:0 8px 18px rgba(96,68,52,.07), inset 0 1px 0 rgba(255,255,255,.98) !important;
  transform:translateY(-1px) !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.cattsel,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.clicked,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.current,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.selected,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.onbg,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.is-selected,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill.cattsel,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill.clicked,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill.current,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill.selected,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill.onbg,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill.is-selected{
  border-color:rgba(176,139,124,.98) !important;
  background:linear-gradient(180deg,#fbf6f1 0%,#f4e9e1 100%) !important;
  color:#3f2d28 !important;
  box-shadow:0 10px 22px rgba(87,58,44,.085), inset 0 -2px 0 rgba(178,112,112,.42), inset 0 1px 0 rgba(255,255,255,.96) !important;
  transform:none !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.is-selected:after,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.cattsel:after,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.selected:after,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.onbg:after{
  content:none !important;
  display:none !important;
}

/* 縮圖：取消高亮外框線。選中狀態改為淡背景、微陰影、底部細線，避免廉價感。 */
html body.goods_body #goodsInfo.ni-v43-product #imglist a{
  position:relative !important;
  border:1px solid rgba(226,211,202,.66) !important;
  background:#fffdf9 !important;
  box-shadow:0 5px 14px rgba(78,57,50,.045) !important;
  transform:none !important;
  overflow:hidden !important;
}
html body.goods_body #goodsInfo.ni-v43-product #imglist a:after{
  content:'';
  position:absolute;
  left:50%;
  bottom:5px;
  width:0;
  height:2px;
  border-radius:999px;
  background:rgba(161,111,99,.48);
  transform:translateX(-50%);
  opacity:0;
  transition:width .18s ease, opacity .18s ease, background .18s ease;
  pointer-events:none;
}
html body.goods_body #goodsInfo.ni-v43-product #imglist a:hover{
  border-color:rgba(213,190,178,.78) !important;
  background:#fffaf7 !important;
  box-shadow:0 9px 18px rgba(78,57,50,.065) !important;
  transform:translateY(-1px) !important;
}
html body.goods_body #goodsInfo.ni-v43-product #imglist a:hover:after{
  width:22px;
  opacity:.34;
}
html body.goods_body #goodsInfo.ni-v43-product #imglist a.is-active,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.onbg,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.tb-selected,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.selected{
  border-color:rgba(226,211,202,.66) !important;
  background:linear-gradient(180deg,#fffdf9 0%,#f8f1eb 100%) !important;
  box-shadow:0 10px 20px rgba(80,58,47,.075), inset 0 1px 0 rgba(255,255,255,.96) !important;
  transform:none !important;
}
html body.goods_body #goodsInfo.ni-v43-product #imglist a.is-active:after,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.onbg:after,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.tb-selected:after,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.selected:after{
  width:30px;
  opacity:.72;
  background:rgba(150,99,88,.58);
}
html body.goods_body #goodsInfo.ni-v43-product #imglist a img,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.is-active img,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.onbg img,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.tb-selected img,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.selected img,
html body.goods_body #goodsInfo.ni-v43-product #imglist img.onbg,
html body.goods_body #goodsInfo.ni-v43-product #imglist img.tb-selected,
html body.goods_body #goodsInfo.ni-v43-product #imglist img.selected{
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
  filter:none !important;
}

/* boutique glow highlight / centered description table === * 2026-05-25 * Requests: * - 商品介紹表格置中並恢復乾淨框線。 * - 款式與縮圖高亮重新設計：極簡、低調、有精品發光感。 * - 避免舊 inline / border-collapse 規則造成雙線或框線消失。 */

/* 商品介紹：讓後台自製表格在新版商品描述卡中置中，使用單一乾淨框線模型。 */
html body.goods_body .ni-goods-desc-content,
html body.goods_body .ni-goods-desc-panel{
  text-align:center !important;
}
html body.goods_body .ni-goods-desc-content table,
html body.goods_body .ni-goods-desc-panel table,
html body.goods_body .ni-goods-desc-content .nij-ueditor-default-center table{
  display:table !important;
  width:auto !important;
  min-width:min(620px, 100%) !important;
  max-width:min(980px, 100%) !important;
  margin:0 auto 26px !important;
  border-collapse:separate !important;
  border-spacing:0 !important;
  border:1px solid rgba(210,188,174,.92) !important;
  outline:0 !important;
  box-shadow:0 12px 30px rgba(92,63,48,.045) !important;
  background:#fffdf9 !important;
  overflow:hidden !important;
}
html body.goods_body .ni-goods-desc-content table table,
html body.goods_body .ni-goods-desc-panel table table{
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  margin:0 auto !important;
  border:1px solid rgba(210,188,174,.76) !important;
  box-shadow:none !important;
}
html body.goods_body .ni-goods-desc-content tr,
html body.goods_body .ni-goods-desc-panel tr{
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
}
html body.goods_body .ni-goods-desc-content td,
html body.goods_body .ni-goods-desc-content th,
html body.goods_body .ni-goods-desc-panel td,
html body.goods_body .ni-goods-desc-panel th{
  border:0 !important;
  border-right:1px solid rgba(210,188,174,.70) !important;
  border-bottom:1px solid rgba(210,188,174,.70) !important;
  outline:0 !important;
  box-shadow:none !important;
  background:#fffdf9 !important;
  color:#59463f !important;
  text-align:center !important;
  vertical-align:middle !important;
  font-size:15px !important;
  line-height:1.95 !important;
}
html body.goods_body .ni-goods-desc-content tr > td:last-child,
html body.goods_body .ni-goods-desc-content tr > th:last-child,
html body.goods_body .ni-goods-desc-panel tr > td:last-child,
html body.goods_body .ni-goods-desc-panel tr > th:last-child{
  border-right:0 !important;
}
html body.goods_body .ni-goods-desc-content tr:last-child > td,
html body.goods_body .ni-goods-desc-content tr:last-child > th,
html body.goods_body .ni-goods-desc-panel tr:last-child > td,
html body.goods_body .ni-goods-desc-panel tr:last-child > th{
  border-bottom:0 !important;
}
html body.goods_body .ni-goods-desc-content .ni-v43-desc-section-heading,
html body.goods_body .ni-goods-desc-panel .ni-v43-desc-section-heading,
html body.goods_body .ni-goods-desc-content tr.ni-v43-desc-section-row > td,
html body.goods_body .ni-goods-desc-content tr.ni-v43-desc-section-row > th,
html body.goods_body .ni-goods-desc-panel tr.ni-v43-desc-section-row > td,
html body.goods_body .ni-goods-desc-panel tr.ni-v43-desc-section-row > th{
  background:linear-gradient(180deg,#f8f1eb 0%,#efe3da 100%) !important;
  color:#4b362f !important;
  font-weight:800 !important;
  letter-spacing:.035em !important;
}
html body.goods_body .ni-goods-desc-content img,
html body.goods_body .ni-goods-desc-panel img{
  display:block !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

/* 款式膠囊：極簡精品發光感。選中不使用厚重實心色，改為柔光、薄霧底與低調焦點。 */
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill,
html body.goods_body #goodsInfo.ni-v43-product .catt .ni-spec-track a{
  position:relative !important;
  border:1px solid rgba(221,203,193,.88) !important;
  background:rgba(255,253,249,.90) !important;
  color:#66514a !important;
  box-shadow:0 4px 12px rgba(68,47,38,.035), inset 0 1px 0 rgba(255,255,255,.98) !important;
  transform:none !important;
  overflow:hidden !important;
  transition:background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease, color .2s ease !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill:before,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill:before,
html body.goods_body #goodsInfo.ni-v43-product .catt .ni-spec-track a:before{
  content:'';
  position:absolute;
  inset:-40% -30%;
  background:radial-gradient(circle at 50% 50%, rgba(255,217,211,.34), rgba(255,255,255,0) 62%);
  opacity:0;
  transform:scale(.75);
  transition:opacity .22s ease, transform .22s ease;
  pointer-events:none;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill:hover,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill:hover,
html body.goods_body #goodsInfo.ni-v43-product .catt .ni-spec-track a:hover{
  border-color:rgba(207,176,162,.96) !important;
  background:#fffaf7 !important;
  color:#503b35 !important;
  box-shadow:0 9px 20px rgba(92,63,49,.075), 0 0 16px rgba(220,174,167,.13), inset 0 1px 0 rgba(255,255,255,1) !important;
  transform:translateY(-1px) !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill:hover:before,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill:hover:before,
html body.goods_body #goodsInfo.ni-v43-product .catt .ni-spec-track a:hover:before{
  opacity:.75;
  transform:scale(1);
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.cattsel,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.clicked,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.current,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.selected,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.onbg,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.is-selected,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill.cattsel,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill.clicked,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill.current,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill.selected,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill.onbg,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill.is-selected{
  border-color:rgba(179,142,127,.90) !important;
  background:linear-gradient(180deg,rgba(255,252,249,.98) 0%,rgba(248,237,229,.98) 100%) !important;
  color:#3e2c27 !important;
  box-shadow:0 10px 24px rgba(86,58,45,.09), 0 0 24px rgba(216,158,150,.24), inset 0 0 0 1px rgba(255,255,255,.86), inset 0 -2px 0 rgba(176,112,104,.36) !important;
  transform:none !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.cattsel:before,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.clicked:before,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.current:before,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.selected:before,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.onbg:before,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.is-selected:before,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill.cattsel:before,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill.clicked:before,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill.current:before,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill.selected:before,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill.onbg:before,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill.is-selected:before{
  opacity:1;
  transform:scale(1.05);
}

/* 縮圖：保留極簡低調，但選中加入柔霧發光，不使用厚重外框線。 */
html body.goods_body #goodsInfo.ni-v43-product #imglist a{
  position:relative !important;
  border:1px solid rgba(226,211,202,.58) !important;
  background:rgba(255,253,249,.92) !important;
  box-shadow:0 6px 16px rgba(69,49,39,.045), inset 0 1px 0 rgba(255,255,255,.96) !important;
  transform:none !important;
  overflow:hidden !important;
  transition:box-shadow .22s ease, background .22s ease, transform .22s ease, border-color .22s ease, opacity .22s ease !important;
}
html body.goods_body #goodsInfo.ni-v43-product #imglist a:before{
  content:'';
  position:absolute;
  inset:-2px;
  border-radius:inherit;
  background:radial-gradient(circle at 50% 48%, rgba(255,223,218,.55), rgba(255,255,255,0) 70%);
  opacity:0;
  transition:opacity .22s ease;
  pointer-events:none;
  z-index:1;
}
html body.goods_body #goodsInfo.ni-v43-product #imglist a:after{
  content:'';
  position:absolute;
  left:50%;
  bottom:6px;
  width:0;
  height:2px;
  border-radius:999px;
  background:rgba(149,99,88,.55);
  transform:translateX(-50%);
  opacity:0;
  transition:width .2s ease, opacity .2s ease, background .2s ease;
  pointer-events:none;
  z-index:2;
}
html body.goods_body #goodsInfo.ni-v43-product #imglist a:hover{
  border-color:rgba(211,190,179,.76) !important;
  background:#fffaf7 !important;
  box-shadow:0 10px 22px rgba(73,51,40,.065), 0 0 18px rgba(219,174,166,.16), inset 0 1px 0 rgba(255,255,255,.98) !important;
  transform:translateY(-1px) !important;
}
html body.goods_body #goodsInfo.ni-v43-product #imglist a:hover:before{opacity:.52;}
html body.goods_body #goodsInfo.ni-v43-product #imglist a:hover:after{width:22px;opacity:.38;}
html body.goods_body #goodsInfo.ni-v43-product #imglist a.is-active,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.onbg,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.tb-selected,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.selected{
  border-color:rgba(226,211,202,.58) !important;
  background:linear-gradient(180deg,#fffefd 0%,#f8f0ea 100%) !important;
  box-shadow:0 12px 26px rgba(72,50,40,.08), 0 0 26px rgba(216,158,150,.26), inset 0 0 0 1px rgba(255,255,255,.86) !important;
  transform:none !important;
}
html body.goods_body #goodsInfo.ni-v43-product #imglist a.is-active:before,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.onbg:before,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.tb-selected:before,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.selected:before{opacity:.78;}
html body.goods_body #goodsInfo.ni-v43-product #imglist a.is-active:after,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.onbg:after,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.tb-selected:after,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.selected:after{
  width:34px;
  opacity:.76;
  background:rgba(142,92,82,.62);
}
html body.goods_body #goodsInfo.ni-v43-product #imglist a img,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.is-active img,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.onbg img,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.tb-selected img,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.selected img,
html body.goods_body #goodsInfo.ni-v43-product #imglist img.onbg,
html body.goods_body #goodsInfo.ni-v43-product #imglist img.tb-selected,
html body.goods_body #goodsInfo.ni-v43-product #imglist img.selected{
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
}

/* boutique background-glow highlight / quantity selection polish === * 2026-05-25 * Requests: * - 精品發光高亮要感覺從背景發出。 * - 選中縮圖加入質感外框。 * - 購買數量使用按鈕增減時不要出現選字色塊。 * - 保持商品介紹表格置中與框線。 */

/* 商品介紹表格維持置中，確保外框可見、框線乾淨。 */
html body.goods_body .ni-goods-desc-content,
html body.goods_body .ni-goods-desc-panel{
  text-align:center !important;
}
html body.goods_body .ni-goods-desc-content table,
html body.goods_body .ni-goods-desc-panel table,
html body.goods_body .ni-goods-desc-content .nij-ueditor-default-center table{
  width:auto !important;
  min-width:min(620px,100%) !important;
  max-width:min(980px,100%) !important;
  margin:0 auto 26px !important;
  border-collapse:separate !important;
  border-spacing:0 !important;
  border:1px solid rgba(210,188,174,.92) !important;
  box-shadow:0 10px 24px rgba(92,63,48,.04) !important;
  background:#fffdf9 !important;
}
html body.goods_body .ni-goods-desc-content td,
html body.goods_body .ni-goods-desc-content th,
html body.goods_body .ni-goods-desc-panel td,
html body.goods_body .ni-goods-desc-panel th{
  border-right:1px solid rgba(210,188,174,.70) !important;
  border-bottom:1px solid rgba(210,188,174,.70) !important;
  background:#fffdf9 !important;
  text-align:center !important;
  font-size:15px !important;
  line-height:1.95 !important;
}
html body.goods_body .ni-goods-desc-content tr:last-child > td,
html body.goods_body .ni-goods-desc-content tr:last-child > th,
html body.goods_body .ni-goods-desc-panel tr:last-child > td,
html body.goods_body .ni-goods-desc-panel tr:last-child > th{border-bottom:0 !important;}
html body.goods_body .ni-goods-desc-content tr > td:last-child,
html body.goods_body .ni-goods-desc-content tr > th:last-child,
html body.goods_body .ni-goods-desc-panel tr > td:last-child,
html body.goods_body .ni-goods-desc-panel tr > th:last-child{border-right:0 !important;}

/* 規格欄位：極簡質感，發光感從背景漫出。 */
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill,
html body.goods_body #goodsInfo.ni-v43-product .catt .ni-spec-track a{
  position:relative !important;
  overflow:visible !important;
  border:1px solid rgba(221,203,193,.88) !important;
  background:rgba(255,253,249,.94) !important;
  color:#645049 !important;
  box-shadow:0 4px 12px rgba(68,47,38,.035), inset 0 1px 0 rgba(255,255,255,.98) !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill:before,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill:before,
html body.goods_body #goodsInfo.ni-v43-product .catt .ni-spec-track a:before{
  content:'';
  position:absolute;
  left:-14px; right:-14px; top:-12px; bottom:-12px;
  border-radius:999px;
  background:radial-gradient(circle at 50% 50%, rgba(239,220,212,.74) 0%, rgba(246,233,227,.46) 34%, rgba(255,255,255,0) 72%);
  opacity:0;
  transform:scale(.86);
  filter:blur(8px);
  transition:opacity .22s ease, transform .22s ease;
  z-index:-1;
  pointer-events:none;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill:hover,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill:hover,
html body.goods_body #goodsInfo.ni-v43-product .catt .ni-spec-track a:hover{
  border-color:rgba(208,181,167,.94) !important;
  background:#fffaf7 !important;
  color:#4e3b35 !important;
  box-shadow:0 8px 18px rgba(92,63,49,.065), inset 0 1px 0 rgba(255,255,255,1) !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill:hover:before,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill:hover:before,
html body.goods_body #goodsInfo.ni-v43-product .catt .ni-spec-track a:hover:before{
  opacity:.78;
  transform:scale(1);
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.cattsel,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.clicked,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.current,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.selected,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.onbg,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.is-selected,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill.cattsel,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill.clicked,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill.current,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill.selected,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill.onbg,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill.is-selected{
  border-color:rgba(183,145,130,.86) !important;
  background:linear-gradient(180deg,rgba(255,252,249,.98) 0%, rgba(247,239,233,.98) 100%) !important;
  color:#3f2f29 !important;
  box-shadow:0 8px 18px rgba(86,58,45,.08), inset 0 1px 0 rgba(255,255,255,.96), inset 0 -1px 0 rgba(205,174,162,.42) !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.cattsel:before,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.clicked:before,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.current:before,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.selected:before,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.onbg:before,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.is-selected:before,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill.cattsel:before,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill.clicked:before,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill.current:before,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill.selected:before,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill.onbg:before,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill.is-selected:before{
  opacity:1;
  transform:scale(1.06);
}

/* 縮圖：高亮像背景柔光，選中時補一圈質感外框。 */
html body.goods_body #goodsInfo.ni-v43-product #imglist a{
  position:relative !important;
  overflow:visible !important;
  border:1px solid rgba(228,214,205,.72) !important;
  background:rgba(255,253,249,.94) !important;
  box-shadow:0 6px 16px rgba(69,49,39,.045), inset 0 1px 0 rgba(255,255,255,.96) !important;
}
html body.goods_body #goodsInfo.ni-v43-product #imglist a:before{
  content:'';
  position:absolute;
  left:-10px; right:-10px; top:-10px; bottom:-10px;
  border-radius:18px;
  background:radial-gradient(circle at 50% 50%, rgba(241,222,215,.7) 0%, rgba(249,239,233,.42) 36%, rgba(255,255,255,0) 74%);
  filter:blur(8px);
  opacity:0;
  transition:opacity .22s ease, transform .22s ease;
  transform:scale(.9);
  z-index:-1;
  pointer-events:none;
}
html body.goods_body #goodsInfo.ni-v43-product #imglist a:after{
  content:'';
  position:absolute;
  inset:-2px;
  border-radius:16px;
  border:1px solid rgba(226,211,202,0);
  box-shadow:inset 0 1px 0 rgba(255,255,255,0);
  transition:border-color .22s ease, box-shadow .22s ease, opacity .22s ease;
  opacity:0;
  pointer-events:none;
}
html body.goods_body #goodsInfo.ni-v43-product #imglist a:hover{
  border-color:rgba(214,192,182,.82) !important;
  background:#fffaf7 !important;
  box-shadow:0 10px 22px rgba(73,51,40,.062), inset 0 1px 0 rgba(255,255,255,.98) !important;
}
html body.goods_body #goodsInfo.ni-v43-product #imglist a:hover:before{
  opacity:.62;
  transform:scale(1);
}
html body.goods_body #goodsInfo.ni-v43-product #imglist a.is-active,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.onbg,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.tb-selected,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.selected{
  border-color:rgba(214,196,186,.84) !important;
  background:linear-gradient(180deg,#fffefd 0%,#f9f2ed 100%) !important;
  box-shadow:0 11px 24px rgba(72,50,40,.075), inset 0 1px 0 rgba(255,255,255,.96) !important;
}
html body.goods_body #goodsInfo.ni-v43-product #imglist a.is-active:before,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.onbg:before,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.tb-selected:before,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.selected:before{
  opacity:.92;
  transform:scale(1.04);
}
html body.goods_body #goodsInfo.ni-v43-product #imglist a.is-active:after,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.onbg:after,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.tb-selected:after,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.selected:after{
  opacity:1;
  border-color:rgba(190,160,147,.72);
  box-shadow:0 0 0 1px rgba(255,255,255,.9) inset, 0 0 0 1px rgba(236,223,216,.55), 0 0 18px rgba(223,188,180,.18);
}
html body.goods_body #goodsInfo.ni-v43-product #imglist a img,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.is-active img,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.onbg img,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.tb-selected img,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.selected img{
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
}

/* 數量加減：避免點擊時出現選字/藍色反白色塊。 */
html body.goods_body #goodsInfo.ni-v43-product .ni-qty-line,
html body.goods_body #goodsInfo.ni-v43-product .ni-qty-label,
html body.goods_body #goodsInfo.ni-v43-product .ni-qty-control,
html body.goods_body #goodsInfo.ni-v43-product .ni-qty-btn,
html body.goods_body #goodsInfo.ni-v43-product .ni-qty-amount{
  -webkit-user-select:none !important;
  -moz-user-select:none !important;
  user-select:none !important;
  -webkit-tap-highlight-color:transparent !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-qty-btn,
html body.goods_body #goodsInfo.ni-v43-product .ni-qty-btn:focus,
html body.goods_body #goodsInfo.ni-v43-product .ni-qty-btn:active,
html body.goods_body #goodsInfo.ni-v43-product .ni-qty-control button{
  outline:none !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-qty-btn::selection,
html body.goods_body #goodsInfo.ni-v43-product .ni-qty-label::selection,
html body.goods_body #goodsInfo.ni-v43-product .ni-qty-amount::selection,
html body.goods_body #goodsInfo.ni-v43-product .ni-qty-control::selection{
  background:transparent !important;
  color:inherit !important;
}
html body.goods_body #goodsInfo.ni-v43-product #number{
  -webkit-user-select:text !important;
  -moz-user-select:text !important;
  user-select:text !important;
  -webkit-tap-highlight-color:transparent !important;
  caret-color:#8b6e63 !important;
}
html body.goods_body #goodsInfo.ni-v43-product #number::selection{
  background:rgba(216,197,184,.18) !important;
  color:#4d3c36 !important;
}

/* revert spec/thumb selection style to + qty no fill + desc notice 14px === * Source reference: DOCKER_php8_v36g46_search_selection_cart_contrast_full. * Requirements: * - 購買數量加減按鈕避免出現底色。 * - 款式與縮圖選取特效與高亮改回 版。 * - 訂購須知內文欄位文字字級改為 14px，商品規格/訂購須知標題字級不變。 * - 訂購須知表格置中修復。 */
:root{
  --ni-v34-card:#fffefa;
  --ni-v34-soft:#f7f1eb;
  --ni-v34-line:#ded3c9;
  --ni-v34-line-soft:#eee7e0;
  --ni-v34-text:#5f5955;
  --ni-v34-accent:#f56f7a;
  --ni-v34-active:#ead8d1;
}

/* Quantity +/- buttons: no active background / no selection color block. */
html body.goods_body #goodsInfo.ni-v43-product .ni-qty-btn,
html body.goods_body #goodsInfo.ni-v43-product .ni-qty-btn:hover,
html body.goods_body #goodsInfo.ni-v43-product .ni-qty-btn:focus,
html body.goods_body #goodsInfo.ni-v43-product .ni-qty-btn:active{
  background:#fffdf9 !important;
  background-color:#fffdf9 !important;
  background-image:none !important;
  color:#805f55 !important;
  border-color:var(--ni-v43-line-strong) !important;
  box-shadow:none !important;
  outline:0 !important;
  -webkit-tap-highlight-color:transparent !important;
  -webkit-user-select:none !important;
  -moz-user-select:none !important;
  user-select:none !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-qty-btn:hover{
  color:#8d695f !important;
  border-color:#d8c3b6 !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-qty-btn::selection,
html body.goods_body #goodsInfo.ni-v43-product .ni-qty-control::selection,
html body.goods_body #goodsInfo.ni-v43-product .ni-qty-label::selection,
html body.goods_body #goodsInfo.ni-v43-product .ni-qty-amount::selection{
  background:transparent !important;
  color:inherit !important;
}

/* 款式/規格選取樣式：回到低調奶茶系，取消 / 背景發光。 */
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill,
html body.goods_body #goodsInfo.ni-v43-product .catt .ni-spec-track a{
  position:relative !important;
  overflow:hidden !important;
  background:var(--ni-v34-card) !important;
  background-color:var(--ni-v34-card) !important;
  background-image:none !important;
  border:1px solid var(--ni-v34-line) !important;
  color:var(--ni-v34-text) !important;
  box-shadow:none !important;
  transform:none !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill:before,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill:after,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill:before,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill:after,
html body.goods_body #goodsInfo.ni-v43-product .catt .ni-spec-track a:before,
html body.goods_body #goodsInfo.ni-v43-product .catt .ni-spec-track a:after{
  content:none !important;
  display:none !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill:hover,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill:hover,
html body.goods_body #goodsInfo.ni-v43-product .catt .ni-spec-track a:hover{
  background:var(--ni-v34-soft) !important;
  background-color:var(--ni-v34-soft) !important;
  background-image:none !important;
  border-color:#d7c5bc !important;
  color:var(--ni-v34-text) !important;
  box-shadow:none !important;
  transform:none !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.cattsel,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.clicked,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.current,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.selected,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.onbg,
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-pill.is-selected,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill.cattsel,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill.clicked,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill.current,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill.selected,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill.onbg,
html body.goods_body #goodsInfo.ni-v43-product .catt a.ni-spec-pill.is-selected,
html body.goods_body #goodsInfo.ni-v43-product .catt .ni-spec-track a.cattsel,
html body.goods_body #goodsInfo.ni-v43-product .catt .ni-spec-track a.clicked,
html body.goods_body #goodsInfo.ni-v43-product .catt .ni-spec-track a.current,
html body.goods_body #goodsInfo.ni-v43-product .catt .ni-spec-track a.selected,
html body.goods_body #goodsInfo.ni-v43-product .catt .ni-spec-track a.onbg,
html body.goods_body #goodsInfo.ni-v43-product .catt .ni-spec-track a.is-selected{
  background:var(--ni-v34-active) !important;
  background-color:var(--ni-v34-active) !important;
  background-image:none !important;
  border-color:#cdb9b0 !important;
  color:#6a5b54 !important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.48),0 4px 10px rgba(120,93,75,.07) !important;
  transform:none !important;
}

html body.goods_body #goodsInfo.ni-v43-product #imglist a{
  display:block !important;
  flex:0 0 auto !important;
  width:60px !important;
  height:60px !important;
  border-radius:var(--ni-v43-radius-image-thumb) !important;
  overflow:hidden !important;
  background:#fffaf7 !important;
  border:1px solid #ead9d9 !important;
  box-shadow:0 4px 12px rgba(0,0,0,.05) !important;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease !important;
}
html body.goods_body #goodsInfo.ni-v43-product #imglist a picture,
html body.goods_body #goodsInfo.ni-v43-product #imglist a .autoslim-picture{
  display:block !important;
  width:100% !important;
  height:100% !important;
  overflow:hidden !important;
  border-radius:inherit !important;
}
html body.goods_body #goodsInfo.ni-v43-product #imglist a:before,
html body.goods_body #goodsInfo.ni-v43-product #imglist a:after{
  content:none !important;
  display:none !important;
}
html body.goods_body #goodsInfo.ni-v43-product #imglist a:hover{
  transform:translateY(-2px) scale(1.04) !important;
  border-color:#fe9aa0 !important;
  box-shadow:0 10px 18px rgba(254,118,121,.18) !important;
}
html body.goods_body #goodsInfo.ni-v43-product #imglist a.is-active,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.tb-selected,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.selected,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.onbg{
  border-color:#fe7679 !important;
  box-shadow:0 0 0 2px rgba(254,118,121,.14),0 12px 18px rgba(254,118,121,.14) !important;
  transform:translateY(-1px) !important;
}
html body.goods_body #goodsInfo.ni-v43-product #imglist a img,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.is-active img,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.tb-selected img,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.selected img,
html body.goods_body #goodsInfo.ni-v43-product #imglist a.onbg img,
html body.goods_body #goodsInfo.ni-v43-product #imglist img.onbg,
html body.goods_body #goodsInfo.ni-v43-product #imglist img.tb-selected,
html body.goods_body #goodsInfo.ni-v43-product #imglist img.selected{
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
  border-radius:inherit !important;
}

/* 訂購須知表格置中修正：避免舊 inline width / align / float 讓表格貼左。 */
html body.goods_body .ni-goods-desc-content,
html body.goods_body .ni-goods-desc-panel,
html body.goods_body .ni-goods-detail-desc-only{
  text-align:center !important;
}
html body.goods_body .ni-goods-desc-content table,
html body.goods_body .ni-goods-desc-panel table,
html body.goods_body .ni-goods-desc-content .nij-ueditor-default-center table{
  float:none !important;
  clear:both !important;
  display:table !important;
  width:auto !important;
  min-width:min(620px,100%) !important;
  max-width:min(980px,100%) !important;
  margin:0 auto 26px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  border-collapse:separate !important;
  border-spacing:0 !important;
  border:1px solid rgba(210,188,174,.92) !important;
  background:#fffdf9 !important;
}
html body.goods_body .ni-goods-desc-content table[align="left"],
html body.goods_body .ni-goods-desc-panel table[align="left"],
html body.goods_body .ni-goods-desc-content table[align="right"],
html body.goods_body .ni-goods-desc-panel table[align="right"]{
  margin-left:auto !important;
  margin-right:auto !important;
}
html body.goods_body .ni-goods-desc-content td,
html body.goods_body .ni-goods-desc-content th,
html body.goods_body .ni-goods-desc-panel td,
html body.goods_body .ni-goods-desc-panel th{
  font-size:14px !important;
  line-height:1.95 !important;
}
html body.goods_body .ni-goods-desc-content .ni-v43-desc-section-heading,
html body.goods_body .ni-goods-desc-panel .ni-v43-desc-section-heading,
html body.goods_body .ni-goods-desc-content tr.ni-v43-desc-section-row > td,
html body.goods_body .ni-goods-desc-content tr.ni-v43-desc-section-row > th,
html body.goods_body .ni-goods-desc-panel tr.ni-v43-desc-section-row > td,
html body.goods_body .ni-goods-desc-panel tr.ni-v43-desc-section-row > th{
  font-size:15px !important;
  line-height:1.95 !important;
}

html body.goods_body .ni-v43-product-desc-wrap,
html body.goods_body .box.ni-goods-detail-desc-only.ni-v43-product-desc-wrap{
  padding-left:0 !important;
  padding-right:0 !important;
  box-sizing:border-box !important;
}
html body.goods_body .ni-v43-product-desc-wrap #com_h,
html body.goods_body .ni-v43-product-desc-wrap .ni-goods-desc-panel,
html body.goods_body .ni-v43-product-desc-wrap .ni-goods-desc-content,
html body.goods_body .ni-v43-product-desc-wrap .nij-ueditor-default-center{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  margin-left:auto !important;
  margin-right:auto !important;
  padding-left:0 !important;
  padding-right:0 !important;
  box-sizing:border-box !important;
  text-align:center !important;
}
html body.goods_body .ni-v43-product-desc-wrap blockquote,
html body.goods_body .ni-v43-product-desc-wrap blockquote.ni-v43-desc-blockquote{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  box-sizing:border-box !important;
  text-align:center !important;
}
html body.goods_body .ni-v43-product-desc-wrap .ni-goods-desc-content > table,
html body.goods_body .ni-v43-product-desc-wrap .ni-goods-desc-panel > table,
html body.goods_body .ni-v43-product-desc-wrap .nij-ueditor-default-center > table,
html body.goods_body .ni-goods-desc-content table,
html body.goods_body .ni-goods-desc-panel table{
  float:none !important;
  clear:both !important;
  display:table !important;
  width:auto !important;
  min-width:min(620px,100%) !important;
  max-width:min(980px,100%) !important;
  margin-left:auto !important;
  margin-right:auto !important;
  margin-top:0 !important;
  margin-bottom:26px !important;
  transform:none !important;
  position:relative !important;
  left:auto !important;
  right:auto !important;
  box-sizing:border-box !important;
}
@media (max-width:700px){
  html body.goods_body .ni-v43-product-desc-wrap .ni-goods-desc-content > table,
  html body.goods_body .ni-v43-product-desc-wrap .nij-ueditor-default-center > table,
  html body.goods_body .ni-goods-desc-content table,
  html body.goods_body .ni-goods-desc-panel table{
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
  }
}

/* 商品標題：改用現代黑體系，避免明體 fallback 造成中英混排字重與字距怪異。 */
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-product-title,
html body.goods_body #goodsInfo.ni-v43-product .textInfo .ni-v43-product-title,
html body.goods_body #goodsInfo.ni-v43-product h1.ni-v43-product-title{
  font-family:"Noto Sans TC","PingFang TC","Hiragino Sans","Microsoft JhengHei","Heiti TC",Arial,sans-serif !important;
  font-size:29px !important;
  line-height:1.46 !important;
  font-weight:650 !important;
  letter-spacing:.012em !important;
  color:#3a2823 !important;
  word-break:normal !important;
  overflow-wrap:anywhere !important;
  text-wrap:pretty;
  -webkit-font-smoothing:antialiased !important;
  text-rendering:geometricPrecision !important;
}
@media (max-width:959px) and (min-width:901px){
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-product-title,
  html body.goods_body #goodsInfo.ni-v43-product .textInfo .ni-v43-product-title,
  html body.goods_body #goodsInfo.ni-v43-product h1.ni-v43-product-title{
    font-size:26px !important;
    line-height:1.44 !important;
    letter-spacing:.008em !important;
  }
}
@media (max-width:700px){
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-product-title,
  html body.goods_body #goodsInfo.ni-v43-product .textInfo .ni-v43-product-title,
  html body.goods_body #goodsInfo.ni-v43-product h1.ni-v43-product-title{
    font-size:23px !important;
    line-height:1.42 !important;
  }
}

/* 款式/規格膠囊：靠左排列，不再置中。 */
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-scroll,
html body.goods_body #goodsInfo.ni-v43-product .catt .ni-spec-scroll{
  text-align:left !important;
  justify-content:flex-start !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-track,
html body.goods_body #goodsInfo.ni-v43-product .catt .ni-spec-track{
  justify-content:flex-start !important;
  align-items:center !important;
  margin-left:0 !important;
  margin-right:auto !important;
  text-align:left !important;
  width:max-content !important;
  min-width:0 !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-scroll-wrap{
  justify-content:flex-start !important;
  text-align:left !important;
}
@media (min-width:901px){
  html body.goods_body #goodsInfo.ni-v43-product .ni-spec-scroll{
    padding-left:28px !important;
    padding-right:28px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-spec-track{
    transform:none !important;
  }
}
@media (max-width:900px){
  html body.goods_body #goodsInfo.ni-v43-product .ni-spec-scroll{
    padding-left:20px !important;
    padding-right:20px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product .ni-spec-track{
    justify-content:flex-start !important;
  }
}

/* spec-left / title typography / compact CTA spacing === * 2026-05-25 * Requests: * - 款式膠囊置左顯示。 * - 修正商品標題在中英日混排下看起來怪的問題。 * - 購買數量與下方加入購物車/加入收藏膠囊間距收窄。 */

/* 商品標題：改用穩定現代黑體系，避免大型明體在長中文、英文、日文混排時字距和筆畫粗細怪異。 */
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-product-title,
html body.goods_body #goodsInfo.ni-v43-product .textInfo .ni-v43-product-title,
html body.goods_body #goodsInfo.ni-v43-product h1.ni-v43-product-title{
  font-family:"Noto Sans TC","PingFang TC","Hiragino Sans","Microsoft JhengHei","Heiti TC",Arial,sans-serif !important;
  font-size:29px !important;
  line-height:1.46 !important;
  font-weight:650 !important;
  letter-spacing:.012em !important;
  color:#3a2823 !important;
  word-break:normal !important;
  overflow-wrap:anywhere !important;
  -webkit-font-smoothing:antialiased !important;
  text-rendering:geometricPrecision !important;
}
@media (max-width:959px) and (min-width:901px){
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-product-title,
  html body.goods_body #goodsInfo.ni-v43-product .textInfo .ni-v43-product-title,
  html body.goods_body #goodsInfo.ni-v43-product h1.ni-v43-product-title{
    font-size:26px !important;
    line-height:1.44 !important;
    letter-spacing:.008em !important;
  }
}
@media (max-width:700px){
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-product-title,
  html body.goods_body #goodsInfo.ni-v43-product .textInfo .ni-v43-product-title,
  html body.goods_body #goodsInfo.ni-v43-product h1.ni-v43-product-title{
    font-size:23px !important;
    line-height:1.42 !important;
  }
}

/* 款式/規格膠囊：靠左排列，保留橫向滑動。 */
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-scroll,
html body.goods_body #goodsInfo.ni-v43-product .catt .ni-spec-scroll{
  text-align:left !important;
  justify-content:flex-start !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-scroll-wrap{
  justify-content:flex-start !important;
  text-align:left !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-track,
html body.goods_body #goodsInfo.ni-v43-product .catt .ni-spec-track{
  justify-content:flex-start !important;
  align-items:center !important;
  margin-left:0 !important;
  margin-right:auto !important;
  text-align:left !important;
  width:max-content !important;
  min-width:0 !important;
  transform:none !important;
}
@media (min-width:901px){
  html body.goods_body #goodsInfo.ni-v43-product .ni-spec-scroll{
    padding-left:28px !important;
    padding-right:28px !important;
  }
}
@media (max-width:900px){
  html body.goods_body #goodsInfo.ni-v43-product .ni-spec-scroll{
    padding-left:20px !important;
    padding-right:20px !important;
  }
}

/* 購買數量與下方 CTA 膠囊間距收窄：覆蓋前版 24~34px spacer。 */
html body.goods_body #goodsInfo.ni-v43-product ul.bnt_box > li.ni-v43-actions,
html body.goods_body #goodsInfo.ni-v43-product li.ni-v43-actions{
  margin-top:0 !important;
  padding-top:0 !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-actions:before{
  content:'' !important;
  display:block !important;
  width:100% !important;
  height:12px !important;
  min-height:12px !important;
  clear:both !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-actions dd{
  margin-top:0 !important;
}
@media (max-width:959px) and (min-width:901px){
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-actions:before{
    height:10px !important;
    min-height:10px !important;
  }
}
@media (max-width:900px){
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-actions:before{
    height:12px !important;
    min-height:12px !important;
  }
}

/* spec pills further left / CTA spacing tighter === * 2026-05-25 * Requests: * - 款式膠囊再靠左。 * - 購買數量與下方 CTA 膠囊間距再收窄。 */

/* 款式/規格膠囊：再往左靠，保留左右箭頭與橫向滑動功能。 */
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-scroll-wrap,
html body.goods_body #goodsInfo.ni-v43-product .catt .ni-spec-scroll-wrap{
  justify-content:flex-start !important;
  text-align:left !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-scroll,
html body.goods_body #goodsInfo.ni-v43-product .catt .ni-spec-scroll{
  justify-content:flex-start !important;
  text-align:left !important;
  padding-left:6px !important;
  padding-right:20px !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-spec-track,
html body.goods_body #goodsInfo.ni-v43-product .catt .ni-spec-track{
  justify-content:flex-start !important;
  margin-left:0 !important;
  margin-right:auto !important;
  transform:none !important;
}
@media (min-width:901px){
  html body.goods_body #goodsInfo.ni-v43-product .ni-spec-scroll,
  html body.goods_body #goodsInfo.ni-v43-product .catt .ni-spec-scroll{
    padding-left:4px !important;
    padding-right:22px !important;
  }
}
@media (max-width:900px){
  html body.goods_body #goodsInfo.ni-v43-product .ni-spec-scroll,
  html body.goods_body #goodsInfo.ni-v43-product .catt .ni-spec-scroll{
    padding-left:8px !important;
    padding-right:16px !important;
  }
}

/* 購買數量與 CTA：再收窄間距，但保留可讀性與點擊安全距離。 */
html body.goods_body #goodsInfo.ni-v43-product .ni-qty-line{
  margin-bottom:0 !important;
  padding-bottom:0 !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-qty-line dd.ni-qty-dd{
  padding-bottom:0 !important;
  margin-bottom:0 !important;
}
html body.goods_body #goodsInfo.ni-v43-product ul.bnt_box > li.ni-v43-actions,
html body.goods_body #goodsInfo.ni-v43-product li.ni-v43-actions{
  margin-top:0 !important;
  padding-top:0 !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-actions:before{
  content:'' !important;
  display:block !important;
  width:100% !important;
  height:4px !important;
  min-height:4px !important;
  clear:both !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-v43-actions dd{
  margin-top:0 !important;
  padding-top:0 !important;
}
@media (max-width:959px) and (min-width:901px){
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-actions:before{
    height:4px !important;
    min-height:4px !important;
  }
}
@media (max-width:900px){
  html body.goods_body #goodsInfo.ni-v43-product .ni-v43-actions:before{
    height:6px !important;
    min-height:6px !important;
  }
}

/* Modern product recommendations and recently viewed === * Replace old ECShop hot-goods / browsing-history blocks with modern horizontal boutique cards. */
html body.goods_body .ni-v43-modern-products{
  width:min(100%, 1320px);
  margin:34px auto 0;
  padding:28px 30px 30px;
  border:1px solid rgba(224,204,193,.88);
  border-radius:28px;
  background:linear-gradient(180deg,#fffdf9 0%,#fff9f4 100%);
  box-shadow:0 18px 44px rgba(114,82,64,.055);
  box-sizing:border-box;
  overflow:hidden;
}
html body.goods_body .ni-v43-modern-products__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin:0 0 20px;
}
html body.goods_body .ni-v43-modern-products__head h2{
  margin:0;
  color:#4f352e;
  font-size:21px;
  line-height:1.35;
  letter-spacing:.04em;
  font-family:"Noto Sans TC","PingFang TC","Hiragino Sans","Microsoft JhengHei",sans-serif;
  font-weight:700;
}
html body.goods_body .ni-v43-modern-products__head h2.ni-heading-heart::before{
  content:"";
  display:inline-block;
  width:var(--ni-heart-size-heading,20px);
  height:var(--ni-heart-size-heading,20px);
  margin-right:7px;
  vertical-align:2px;
  background-color:var(--ni-heart-active,#c4a29d);
  -webkit-mask:var(--ni-heart-filled) center/contain no-repeat;
  mask:var(--ni-heart-filled) center/contain no-repeat;
}
html body.goods_body .ni-v43-modern-products__head h2:not(.ni-heading-heart)::before{
  content:none;
}
html body.goods_body .ni-v43-modern-products__head p{
  margin:6px 0 0;
  color:#9a8379;
  font-size:13px;
  line-height:1.6;
}
html body.goods_body .ni-v43-modern-products__rail{
  display:grid;
  grid-template-columns:repeat(5, minmax(0, 1fr));
  gap:22px;
}
html body.goods_body .ni-v43-modern-product-card{
  display:block;
  min-width:0;
  padding:12px 12px 16px;
  border:1px solid rgba(230,213,204,.72);
  border-radius:22px;
  background:rgba(255,255,253,.82);
  text-decoration:none !important;
  color:#61504a;
  box-shadow:0 10px 24px rgba(88,64,48,.035);
  box-sizing:border-box;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
html body.goods_body .ni-v43-modern-product-card:hover{
  transform:translateY(-2px);
  border-color:rgba(212,180,166,.9);
  background:#fffdf9;
  box-shadow:0 18px 36px rgba(95,64,48,.075);
}
html body.goods_body .ni-v43-modern-product-card__image{
  display:block;
  width:100%;
  aspect-ratio:1 / 1;
  border-radius:18px;
  overflow:hidden;
  background:#fff8f3;
  margin:0 0 12px;
}
html body.goods_body .ni-v43-modern-product-card__image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  border:0 !important;
  border-radius:inherit !important;
}
html body.goods_body .ni-v43-modern-product-card__name{
  display:-webkit-box;
  min-height:42px;
  margin:0 auto 6px;
  color:#69564f;
  font-size:14px;
  line-height:1.5;
  text-align:center;
  overflow:hidden;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
html body.goods_body .ni-v43-modern-product-card__price{
  display:block;
  color:#ef6c77;
  font-size:16px;
  line-height:1.35;
  text-align:center;
  font-weight:700;
  font-family:Arial,"Noto Sans TC","Microsoft JhengHei",sans-serif;
}

/* Recently viewed uses the legacy insert_history() HTML, modernized by container CSS. */
html body.goods_body .ni-v43-modern-products--history{
  margin-top:26px;
  padding-bottom:26px;
}
html body.goods_body .ni-v43-history-clear{
  appearance:none;
  border:1px solid rgba(220,197,185,.9);
  border-radius:999px;
  background:#fffdf9;
  color:#9a756c;
  padding:7px 14px;
  font-size:12px;
  line-height:1;
  cursor:pointer;
  transition:background .18s ease,border-color .18s ease,color .18s ease;
}
html body.goods_body .ni-v43-history-clear:hover{
  background:#fff5f2;
  border-color:#d9aaa6;
  color:#bf686f;
}
html body.goods_body .ni-v43-history-list{
  display:flex;
  gap:14px;
  overflow-x:auto;
  overflow-y:hidden;
  padding:2px 2px 10px;
  scroll-snap-type:x proximity;
  -webkit-overflow-scrolling:touch;
}
html body.goods_body .ni-v43-history-list::-webkit-scrollbar,
html body.goods_body .ni-v43-modern-products__rail::-webkit-scrollbar{height:6px;}
html body.goods_body .ni-v43-history-list::-webkit-scrollbar-thumb,
html body.goods_body .ni-v43-modern-products__rail::-webkit-scrollbar-thumb{
  background:rgba(218,190,178,.72);
  border-radius:999px;
}

/* NI_CONVERGENCE: product detail history supports the canonical insert_history()
 * article markup used by listing sidebars.  The previous product detail CSS only
 * styled old ul.clearfix history output, so recently viewed looked missing after
 * insert_history() was converged.
 */
html body.goods_body .ni-v43-history-list .ni-history-product{
  flex:0 0 250px;
  display:grid !important;
  grid-template-columns:82px minmax(0,1fr);
  gap:13px;
  align-items:center;
  margin:0 !important;
  padding:12px !important;
  border:1px solid rgba(230,213,204,.72);
  border-radius:22px;
  background:rgba(255,255,253,.82);
  box-shadow:0 10px 24px rgba(88,64,48,.035);
  scroll-snap-align:start;
  box-sizing:border-box;
}
html body.goods_body .ni-v43-history-list .ni-history-product__media{
  display:flex;
  align-items:center;
  justify-content:center;
  width:82px;
  height:82px;
  overflow:hidden;
  border-radius:18px;
  background:#fff8f3;
}
html body.goods_body .ni-v43-history-list .ni-history-product__media img{
  display:block;
  width:82px !important;
  height:82px !important;
  object-fit:contain;
  object-position:center;
  border:0 !important;
  border-radius:18px;
}
html body.goods_body .ni-v43-history-list .ni-history-product__body{
  min-width:0;
  color:#6d5b54;
  font-size:13px;
  line-height:1.55;
  text-align:left;
}
html body.goods_body .ni-v43-history-list .ni-history-product__title{
  display:-webkit-box;
  color:#62504a !important;
  text-decoration:none !important;
  overflow:hidden;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
html body.goods_body .ni-v43-history-list .ni-history-product__price{
  display:block;
  margin-top:5px;
  color:#ef6c77 !important;
  font-size:14px;
  font-weight:700;
  line-height:1.35;
  font-family:Arial,"Noto Sans TC","Microsoft JhengHei",sans-serif;
}

html body.goods_body .ni-v43-history-list ul.clearfix{
  flex:0 0 250px;
  display:grid !important;
  grid-template-columns:82px minmax(0,1fr);
  gap:13px;
  align-items:center;
  margin:0 !important;
  padding:12px !important;
  border:1px solid rgba(230,213,204,.72);
  border-radius:22px;
  background:rgba(255,255,253,.82);
  box-shadow:0 10px 24px rgba(88,64,48,.035);
  list-style:none;
  scroll-snap-align:start;
  box-sizing:border-box;
}
html body.goods_body .ni-v43-history-list ul.clearfix li{list-style:none;margin:0;padding:0;}
html body.goods_body .ni-v43-history-list li.goodsimg,
html body.goods_body .ni-v43-history-list li.goodsimg a{
  display:block;
  width:82px;
  height:82px;
}
html body.goods_body .ni-v43-history-list li.goodsimg img{
  display:block;
  width:82px !important;
  height:82px !important;
  object-fit:contain;
  object-position:center;
  border:0 !important;
  border-radius:18px;
  background:#fff8f3;
}
html body.goods_body .ni-v43-history-list ul.clearfix li:not(.goodsimg){
  min-width:0;
  color:#6d5b54;
  font-size:13px;
  line-height:1.55;
  text-align:left;
}
html body.goods_body .ni-v43-history-list ul.clearfix li:not(.goodsimg) > a{
  display:-webkit-box;
  color:#62504a !important;
  text-decoration:none !important;
  overflow:hidden;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
html body.goods_body .ni-v43-history-list .f1,
html body.goods_body .ni-v43-history-list font.f1{
  color:#ef6c77 !important;
  font-size:14px;
  font-weight:700;
  font-family:Arial,"Noto Sans TC","Microsoft JhengHei",sans-serif;
}
html body.goods_body .ni-v43-history-list #clear_history{
  flex:0 0 auto;
  display:none !important;
}
html body.goods_body .ni-v43-history-empty{
  color:#9a8379;
  font-size:13px;
  padding:10px 0;
}

/* Legacy blocks should not leak old sidebar/grid layout inside the product page. */
html body.goods_body .ni-v43-product-desc-wrap + .box,
html body.goods_body .AreaL .box_1 h3,
html body.goods_body .AreaL .goodsItem{
  box-shadow:none;
}

@media (max-width:959px){
  html body.goods_body .ni-v43-modern-products{
    width:calc(100% - 48px);
    padding:24px 22px 26px;
    border-radius:24px;
  }
  html body.goods_body .ni-v43-modern-products__rail{
    display:flex;
    gap:16px;
    overflow-x:auto;
    padding:2px 2px 10px;
    scroll-snap-type:x proximity;
    -webkit-overflow-scrolling:touch;
  }
  html body.goods_body .ni-v43-modern-product-card{
    flex:0 0 190px;
    scroll-snap-align:start;
  }
}
@media (max-width:640px){
  html body.goods_body .ni-v43-modern-products{
    width:calc(100% - 24px);
    margin-top:22px;
    padding:20px 16px 22px;
    border-radius:22px;
  }
  html body.goods_body .ni-v43-modern-products__head{
    align-items:flex-start;
    flex-direction:column;
    gap:10px;
    margin-bottom:16px;
  }
  html body.goods_body .ni-v43-modern-products__head h2{font-size:18px;}
  html body.goods_body .ni-v43-modern-product-card{flex-basis:154px;padding:10px 10px 14px;border-radius:19px;}
  html body.goods_body .ni-v43-modern-product-card__image{border-radius:15px;}
  html body.goods_body .ni-v43-modern-product-card__name{font-size:13px;min-height:39px;}
  html body.goods_body .ni-v43-history-list .ni-history-product{flex-basis:218px;grid-template-columns:74px minmax(0,1fr);}
  html body.goods_body .ni-v43-history-list .ni-history-product__media,
  html body.goods_body .ni-v43-history-list .ni-history-product__media img{width:74px !important;height:74px !important;}
  html body.goods_body .ni-v43-history-list ul.clearfix{flex-basis:218px;grid-template-columns:74px minmax(0,1fr);}
  html body.goods_body .ni-v43-history-list li.goodsimg,
  html body.goods_body .ni-v43-history-list li.goodsimg a,
  html body.goods_body .ni-v43-history-list li.goodsimg img{width:74px !important;height:74px !important;}
}

html body.goods_body .ni-v43-product-desc-wrap,
html body.goods_body .box.ni-goods-detail-desc-only.ni-v43-product-desc-wrap{
  width:min(100%,1320px) !important;
  max-width:100% !important;
  margin:34px auto 0 !important;
  padding-left:0 !important;
  box-sizing:border-box !important;
  clear:both !important;
}
html body.goods_body .ni-v43-product-desc-wrap .ni-goods-detail-tabs{
  width:100% !important;
  box-sizing:border-box !important;
}
html body.goods_body .ni-v43-product-desc-wrap #com_h{
  display:block !important;
  width:100% !important;
  box-sizing:border-box !important;
  text-align:center !important;
  margin:0 !important;
  padding:0 !important;
}
html body.goods_body .ni-v43-product-desc-wrap .ni-v43-desc-blockquote,
html body.goods_body .ni-v43-product-desc-wrap blockquote{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  box-sizing:border-box !important;
}
html body.goods_body .ni-v43-product-desc-wrap .ni-goods-desc-content,
html body.goods_body .ni-v43-product-desc-wrap .nij-ueditor-default-center{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  margin:0 auto !important;
  padding:34px 20px 42px !important;
  box-sizing:border-box !important;
  text-align:center !important;
}
html body.goods_body .ni-v43-product-desc-wrap .ni-goods-desc-content > table,
html body.goods_body .ni-v43-product-desc-wrap .nij-ueditor-default-center > table,
html body.goods_body .ni-goods-desc-content > table{
  float:none !important;
  clear:both !important;
  display:table !important;
  margin-left:auto !important;
  margin-right:auto !important;
  margin-top:0 !important;
  margin-bottom:26px !important;
  max-width:min(980px,100%) !important;
  box-sizing:border-box !important;
}
@media (max-width:900px){
  html body.goods_body .ni-v43-product-desc-wrap,
  html body.goods_body .box.ni-goods-detail-desc-only.ni-v43-product-desc-wrap{
    width:calc(100% - 24px) !important;
    margin-top:24px !important;
  }
  html body.goods_body .ni-v43-product-desc-wrap .ni-goods-desc-content,
  html body.goods_body .ni-v43-product-desc-wrap .nij-ueditor-default-center{
    padding:24px 12px 32px !important;
  }
}

/* collapsible modern recommend/history blocks === * 2026-05-25 * Requests: 「一起帶回的小物 / 最近看過」可收合、展開，預設收合。 */
html body.goods_body .ni-v43-collapsible-products{
  padding:0 !important;
  overflow:hidden !important;
}
html body.goods_body .ni-v43-collapsible-products > summary{
  list-style:none !important;
  cursor:pointer !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:18px !important;
  padding:22px 28px !important;
  user-select:none !important;
  -webkit-user-select:none !important;
  -webkit-tap-highlight-color:transparent !important;
}
html body.goods_body .ni-v43-collapsible-products > summary::-webkit-details-marker{display:none !important;}
html body.goods_body .ni-v43-collapsible-products > summary .ni-v43-modern-products__head{
  flex:1 1 auto !important;
  margin:0 !important;
  padding:0 !important;
}
html body.goods_body .ni-v43-collapsible-products .ni-v43-collapse-icon{
  width:14px !important;
  height:14px !important;
  flex:0 0 14px !important;
  border-right:2px solid #cf6f75 !important;
  border-bottom:2px solid #cf6f75 !important;
  transform:rotate(45deg) translateY(-2px) !important;
  transition:transform .22s ease, opacity .22s ease !important;
  opacity:.86 !important;
}
html body.goods_body .ni-v43-collapsible-products[open] .ni-v43-collapse-icon{
  transform:rotate(225deg) translate(-2px,-1px) !important;
}
html body.goods_body .ni-v43-collapsible-products .ni-v43-modern-products__body{
  border-top:1px solid rgba(222,202,190,.68) !important;
  padding:22px 28px 28px !important;
  background:rgba(255,253,249,.64) !important;
}
html body.goods_body .ni-v43-collapsible-products:not([open]) .ni-v43-modern-products__body{
  display:none !important;
}
html body.goods_body .ni-v43-collapsible-products[open] .ni-v43-modern-products__body{
  display:block !important;
}
html body.goods_body .ni-v43-collapsible-products .ni-v43-modern-products__rail,
html body.goods_body .ni-v43-collapsible-products .ni-v43-history-list{
  margin-top:0 !important;
}
html body.goods_body .ni-v43-history-tools{
  display:flex !important;
  justify-content:flex-end !important;
  margin:0 0 14px !important;
}
html body.goods_body .ni-v43-history-tools .ni-v43-history-clear{
  margin:0 !important;
}
@media (max-width:768px){
  html body.goods_body .ni-v43-collapsible-products > summary{
    padding:18px 18px !important;
    gap:12px !important;
  }
  html body.goods_body .ni-v43-collapsible-products .ni-v43-modern-products__body{
    padding:18px 16px 22px !important;
  }
}

html body.goods_body .ni-v43-product-desc-wrap,
html body.goods_body .box.ni-goods-detail-desc-only.ni-v43-product-desc-wrap{
  display:block !important;
  width:min(100%,1320px) !important;
  max-width:100% !important;
  margin:34px auto 0 !important;
  padding:0 !important;
  padding-left:0 !important;
  padding-right:0 !important;
  float:none !important;
  clear:both !important;
  box-sizing:border-box !important;
  overflow:visible !important;
  background:#fffdf9 !important;
}
html body.goods_body .ni-v43-product-desc-wrap .ni-goods-detail-tabs{
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
  box-sizing:border-box !important;
}
html body.goods_body .ni-v43-product-desc-wrap #com_v{
  width:100% !important;
  margin:0 !important;
  padding:10px 0 !important;
  box-sizing:border-box !important;
}
html body.goods_body .ni-v43-product-desc-wrap #com_h{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  margin:0 !important;
  padding:0 !important;
  float:none !important;
  clear:both !important;
  box-sizing:border-box !important;
  text-align:center !important;
}
html body.goods_body .ni-v43-product-desc-wrap .ni-v43-desc-blockquote,
html body.goods_body .ni-v43-product-desc-wrap blockquote{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  float:none !important;
  clear:both !important;
  box-sizing:border-box !important;
  text-align:center !important;
}
html body.goods_body .ni-v43-product-desc-wrap .ni-goods-desc-content,
html body.goods_body .ni-v43-product-desc-wrap .nij-ueditor-default-center{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  margin:0 auto !important;
  padding:34px 20px 42px !important;
  float:none !important;
  clear:both !important;
  box-sizing:border-box !important;
  text-align:center !important;
}
html body.goods_body .ni-v43-product-desc-wrap .ni-goods-desc-content > table,
html body.goods_body .ni-v43-product-desc-wrap .nij-ueditor-default-center > table,
html body.goods_body .ni-v43-product-desc-wrap #com_h table,
html body.goods_body .ni-goods-desc-content > table{
  float:none !important;
  clear:both !important;
  position:relative !important;
  left:auto !important;
  right:auto !important;
  transform:none !important;
  display:table !important;
  width:auto !important;
  min-width:min(620px,100%) !important;
  max-width:min(980px,100%) !important;
  margin:0 auto 26px !important;
  box-sizing:border-box !important;
  text-align:center !important;
}
html body.goods_body .ni-v43-product-desc-wrap .ni-goods-desc-content img,
html body.goods_body .ni-v43-product-desc-wrap .nij-ueditor-default-center img{
  display:block !important;
  max-width:100% !important;
  height:auto !important;
  margin-left:auto !important;
  margin-right:auto !important;
  border-radius:var(--ni-v43-radius-image-desc) !important;
  overflow:hidden !important;
}
html body.goods_body .ni-v43-product-desc-wrap + .ni-v43-modern-products,
html body.goods_body .ni-v43-product-desc-wrap ~ .ni-v43-modern-products{
  clear:both !important;
}
@media (max-width:900px){
  html body.goods_body .ni-v43-product-desc-wrap,
  html body.goods_body .box.ni-goods-detail-desc-only.ni-v43-product-desc-wrap{
    width:calc(100% - 24px) !important;
    margin-top:24px !important;
  }
  html body.goods_body .ni-v43-product-desc-wrap .ni-goods-desc-content,
  html body.goods_body .ni-v43-product-desc-wrap .nij-ueditor-default-center{
    padding:24px 12px 32px !important;
  }
}

/* 商品描述字級鎖定版 === * 2026-05-25 * 目的：只有「商品規格」「訂購須知」標題格維持 15px；所有內文欄位一律 14px。 * 修正點：早期版本用 tr.ni- > td 全列 15px，會讓同列內文被誤放大。 */
html body.goods_body .ni-v43-product-desc-wrap .ni-goods-desc-content td,
html body.goods_body .ni-v43-product-desc-wrap .ni-goods-desc-content th,
html body.goods_body .ni-v43-product-desc-wrap .ni-goods-desc-panel td,
html body.goods_body .ni-v43-product-desc-wrap .ni-goods-desc-panel th,
html body.goods_body .ni-goods-desc-content td,
html body.goods_body .ni-goods-desc-content th,
html body.goods_body .ni-goods-desc-panel td,
html body.goods_body .ni-goods-desc-panel th{
  font-size:14px !important;
  line-height:1.95 !important;
}
html body.goods_body .ni-v43-product-desc-wrap .ni-goods-desc-content td.ni-v43-desc-section-heading,
html body.goods_body .ni-v43-product-desc-wrap .ni-goods-desc-content th.ni-v43-desc-section-heading,
html body.goods_body .ni-v43-product-desc-wrap .ni-goods-desc-panel td.ni-v43-desc-section-heading,
html body.goods_body .ni-v43-product-desc-wrap .ni-goods-desc-panel th.ni-v43-desc-section-heading,
html body.goods_body .ni-goods-desc-content td.ni-v43-desc-section-heading,
html body.goods_body .ni-goods-desc-content th.ni-v43-desc-section-heading,
html body.goods_body .ni-goods-desc-panel td.ni-v43-desc-section-heading,
html body.goods_body .ni-goods-desc-panel th.ni-v43-desc-section-heading{
  font-size:15px !important;
  line-height:1.95 !important;
  font-weight:800 !important;
}
/* 即使 row 被標成 section row，也不要整列放大；非標題格一律回 14px。 */
html body.goods_body .ni-v43-product-desc-wrap tr.ni-v43-desc-section-row > td:not(.ni-v43-desc-section-heading),
html body.goods_body .ni-v43-product-desc-wrap tr.ni-v43-desc-section-row > th:not(.ni-v43-desc-section-heading),
html body.goods_body .ni-goods-desc-content tr.ni-v43-desc-section-row > td:not(.ni-v43-desc-section-heading),
html body.goods_body .ni-goods-desc-content tr.ni-v43-desc-section-row > th:not(.ni-v43-desc-section-heading),
html body.goods_body .ni-goods-desc-panel tr.ni-v43-desc-section-row > td:not(.ni-v43-desc-section-heading),
html body.goods_body .ni-goods-desc-panel tr.ni-v43-desc-section-row > th:not(.ni-v43-desc-section-heading){
  font-size:14px !important;
  font-weight:400 !important;
}

/* product compact header navigation === * 商品詳情頁專用精簡首頁導覽：左品牌 / 中分類 / 右功能；匯款通知放在購物車後方。 * 不修改首頁 page_header.lbi，只覆蓋商品頁本地 header。 */
html body.goods_body .ni-v43-local-header.ni-v43-compact-header{
  width:min(1280px, calc(100% - 56px)) !important;
  max-width:1280px !important;
  min-height:58px !important;
  margin:28px auto 0 !important;
  padding:0 22px !important;
  display:grid !important;
  grid-template-columns:auto minmax(320px,1fr) auto !important;
  align-items:center !important;
  gap:18px !important;
  border:1px solid rgba(223,202,190,.88) !important;
  border-radius:22px 22px 0 0 !important;
  background:rgba(255,253,249,.95) !important;
  box-shadow:0 10px 28px rgba(126,96,77,.06) !important;
  color:#4f372f !important;
  box-sizing:border-box !important;
  overflow:visible !important;
  position:relative !important;
  z-index:40 !important;
}
html body.goods_body .ni-v43-compact-brand{
  display:inline-flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  gap:2px !important;
  min-width:150px !important;
  color:#4f372f !important;
  text-decoration:none !important;
  white-space:nowrap !important;
}
html body.goods_body .ni-v43-compact-brand strong{
  display:block !important;
  font-family:"Times New Roman","Noto Serif TC","PMingLiU",serif !important;
  font-size:23px !important;
  line-height:1.05 !important;
  letter-spacing:.035em !important;
  font-weight:700 !important;
}
html body.goods_body .ni-v43-compact-brand span{
  display:block !important;
  font-family:"Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif !important;
  font-size:11px !important;
  line-height:1.25 !important;
  letter-spacing:.12em !important;
  color:#b78379 !important;
}
html body.goods_body .ni-v43-compact-nav,
html body.goods_body .ni-v43-compact-actions{
  display:flex !important;
  align-items:center !important;
  min-width:0 !important;
}
html body.goods_body .ni-v43-compact-nav{
  justify-content:center !important;
  gap:22px !important;
}
html body.goods_body .ni-v43-compact-actions{
  justify-content:flex-end !important;
  gap:10px !important;
  white-space:nowrap !important;
}
html body.goods_body .ni-v43-compact-nav a,
html body.goods_body .ni-v43-compact-actions a{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:32px !important;
  color:#6b5048 !important;
  text-decoration:none !important;
  font-family:"Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif !important;
  font-size:13px !important;
  line-height:1 !important;
  letter-spacing:.08em !important;
  white-space:nowrap !important;
  border-radius:999px !important;
  transition:color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease !important;
}
html body.goods_body .ni-v43-compact-nav a{padding:0 2px !important;position:relative !important;}
html body.goods_body .ni-v43-compact-nav a:after{
  content:'' !important;
  position:absolute !important;
  left:50% !important;
  bottom:2px !important;
  width:0 !important;
  height:1px !important;
  border-radius:999px !important;
  background:rgba(185,106,111,.58) !important;
  transform:translateX(-50%) !important;
  transition:width .18s ease !important;
}
html body.goods_body .ni-v43-compact-nav a:hover{color:#9f5c62 !important;background:transparent !important;}
html body.goods_body .ni-v43-compact-nav a:hover:after{width:72% !important;}
html body.goods_body .ni-v43-compact-actions a{
  min-width:34px !important;
  padding:0 9px !important;
  border:1px solid transparent !important;
  color:#765b53 !important;
}
html body.goods_body .ni-v43-compact-actions a:hover{
  color:#9f5c62 !important;
  background:#fff5f3 !important;
  border-color:rgba(229,199,190,.72) !important;
  box-shadow:0 8px 18px rgba(112,78,64,.055) !important;
}
html body.goods_body .ni-v43-compact-actions .ni-v43-payment-link{
  padding:0 13px !important;
  border-color:rgba(220,198,187,.82) !important;
  background:rgba(255,250,247,.7) !important;
  color:#7a5d55 !important;
}
html body.goods_body .ni-v43-compact-actions .ni-v43-payment-link:hover{
  background:#fff1ef !important;
  color:#a45f66 !important;
}
html body.goods_body .ni-v43-action-icon{font-size:15px !important;line-height:1 !important;margin-right:3px !important;}
html body.goods_body .ni-v43-compact-mobile{display:none !important;}

@media (max-width:1120px){
  html body.goods_body .ni-v43-local-header.ni-v43-compact-header{
    grid-template-columns:auto minmax(260px,1fr) auto !important;
    gap:12px !important;
    padding:0 16px !important;
  }
  html body.goods_body .ni-v43-compact-nav{gap:14px !important;}
  html body.goods_body .ni-v43-compact-actions{gap:6px !important;}
  html body.goods_body .ni-v43-compact-actions a{padding:0 7px !important;font-size:12px !important;}
  html body.goods_body .ni-v43-compact-brand{min-width:132px !important;}
  html body.goods_body .ni-v43-compact-brand strong{font-size:20px !important;}
}
@media (max-width:900px){
  html body.goods_body .ni-v43-local-header.ni-v43-compact-header{
    width:calc(100% - 22px) !important;
    min-height:54px !important;
    margin-top:10px !important;
    padding:0 14px !important;
    grid-template-columns:auto 1fr auto !important;
    border-radius:18px !important;
  }
  html body.goods_body .ni-v43-compact-nav{display:none !important;}
  html body.goods_body .ni-v43-compact-actions{
    justify-self:end !important;
    gap:8px !important;
  }
  html body.goods_body .ni-v43-compact-actions a{min-width:30px !important;padding:0 6px !important;}
  html body.goods_body .ni-v43-compact-actions .ni-v43-action-text{display:none !important;}
  html body.goods_body .ni-v43-compact-actions .ni-v43-action-icon{margin-right:0 !important;}
  html body.goods_body .ni-v43-compact-actions .ni-v43-payment-link{display:none !important;}
  html body.goods_body .ni-v43-compact-brand strong{font-size:18px !important;}
  html body.goods_body .ni-v43-compact-brand span{font-size:10px !important;}
  html body.goods_body .ni-v43-compact-mobile{
    display:block !important;
    justify-self:start !important;
    grid-column:1 / 2 !important;
    grid-row:1 !important;
    order:-1 !important;
  }
  html body.goods_body .ni-v43-compact-brand{
    grid-column:2 / 3 !important;
    text-align:center !important;
    align-items:center !important;
    min-width:0 !important;
  }
  html body.goods_body .ni-v43-compact-actions{grid-column:3 / 4 !important;grid-row:1 !important;}
  html body.goods_body .ni-v43-compact-mobile summary{
    width:32px !important;
    height:32px !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:4px !important;
    border:1px solid rgba(220,198,187,.78) !important;
    border-radius:999px !important;
    background:#fffbf8 !important;
    list-style:none !important;
    cursor:pointer !important;
  }
  html body.goods_body .ni-v43-compact-mobile summary::-webkit-details-marker{display:none !important;}
  html body.goods_body .ni-v43-compact-mobile summary span{
    width:13px !important;
    height:1px !important;
    border-radius:999px !important;
    background:#7b6058 !important;
    display:block !important;
  }
  html body.goods_body .ni-v43-compact-mobile-panel{
    position:absolute !important;
    left:0 !important;
    right:0 !important;
    top:calc(100% + 8px) !important;
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:8px !important;
    padding:14px !important;
    border:1px solid rgba(222,202,190,.9) !important;
    border-radius:18px !important;
    background:rgba(255,253,249,.98) !important;
    box-shadow:0 18px 38px rgba(92,63,48,.12) !important;
    z-index:80 !important;
  }
  html body.goods_body .ni-v43-compact-mobile-panel a{
    min-height:38px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    border:1px solid rgba(228,209,198,.78) !important;
    border-radius:14px !important;
    background:#fffaf7 !important;
    color:#654c45 !important;
    text-decoration:none !important;
    font-size:13px !important;
    letter-spacing:.06em !important;
  }
}
@media (max-width:520px){
  html body.goods_body .ni-v43-local-header.ni-v43-compact-header{width:calc(100% - 14px) !important;padding:0 10px !important;}
  html body.goods_body .ni-v43-compact-actions a[aria-label="我的收藏"]{display:none !important;}
  html body.goods_body .ni-v43-compact-brand strong{font-size:17px !important;}
}

/* === V46D15: product footer / notice / product page convergence ===
 * Scope:
 * - Remove the separate 搭配推薦 preview block from the rendered flow.
 * - Keep 購物指南 / 關於我們 / 會員服務 on one row from tablet down to phone width.
 * - Refine the bank-transfer notice text rhythm.
 * - Preserve V46D14 thumbnail/header/runtime-neutral visual fixes without adding new JS.
 */
html body.goods_body .ni-v43-story-row,
html body.goods_body .ni-v43-related-preview{
  display:none !important;
}

/* Collapsible bought/history headings: left-aligned, compact, and stable during resize. */
html body.goods_body .ni-v43-collapsible-products > summary{
  justify-content:space-between !important;
  text-align:left !important;
}
html body.goods_body .ni-v43-collapsible-products > summary .ni-v43-modern-products__head,
html body.goods_body .ni-v43-collapsible-products > summary .ni-v43-modern-products__head > div{
  display:block !important;
  width:100% !important;
  min-width:0 !important;
  text-align:left !important;
}
html body.goods_body .ni-v43-collapsible-products > summary .ni-v43-modern-products__head h2,
html body.goods_body .ni-v43-collapsible-products > summary .ni-v43-modern-products__head p{
  text-align:left !important;
  margin-left:0 !important;
  margin-right:0 !important;
}
html body.goods_body .ni-v43-collapsible-products > summary .ni-v43-modern-products__head h2:before{
  margin-left:0 !important;
}

/* Header refinements retained from V46D14. */
html body.goods_body .ni-v43-action-icon--search{
  font-size:18px !important;
  transform:translateY(-1px) !important;
}
html body.goods_body .ni-v43-action-icon--member{
  font-size:14px !important;
  margin-right:3px !important;
  transform:translateY(-1px) !important;
}
@media (max-width:900px){
  html body.goods_body .ni-v43-compact-brand{
    justify-self:start !important;
    text-align:left !important;
    align-items:flex-start !important;
    padding-left:2px !important;
  }
  html body.goods_body .ni-v43-compact-brand strong,
  html body.goods_body .ni-v43-compact-brand span{
    text-align:left !important;
  }
  html body.goods_body .ni-v43-compact-actions .ni-v43-action-icon--search{
    font-size:19px !important;
  }
}

/* Bank-transfer notice: balanced line length, compact bullets, no heavy browser focus frame. */
html body.goods_body .ni-v43-promo-details summary{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
  line-height:1.55 !important;
  color:#7a625b !important;
  outline:none !important;
}
html body.goods_body .ni-v43-promo-details summary:focus,
html body.goods_body .ni-v43-promo-details summary:focus-visible{
  outline:none !important;
  box-shadow:inset 0 0 0 1px rgba(207,111,117,.28) !important;
  border-radius:16px !important;
}
html body.goods_body .ni-v43-promo-details summary:after{
  float:none !important;
  flex:0 0 auto !important;
  font-size:18px !important;
  line-height:1 !important;
  color:#b9827d !important;
}
html body.goods_body .ni-v43-promo-details .notice-card{
  width:min(100%, 720px) !important;
  max-width:720px !important;
  margin:4px auto 18px !important;
  padding:18px 22px 20px !important;
  border:1px solid #efcec8 !important;
  border-left:1px solid #efcec8 !important;
  border-radius:18px !important;
  background:#fffdf9 !important;
  box-shadow:none !important;
  color:#66514a !important;
}
html body.goods_body .ni-v43-promo-details .notice-card h2{
  margin:0 0 14px !important;
  color:#d26d73 !important;
  font-size:18px !important;
  line-height:1.45 !important;
  font-weight:800 !important;
  letter-spacing:.03em !important;
}
html body.goods_body .ni-v43-promo-details .notice-card .important{
  margin:0 0 16px !important;
  padding:10px 12px !important;
  border-radius:12px !important;
  font-size:14px !important;
  line-height:1.55 !important;
}
html body.goods_body .ni-v43-promo-details .notice-card li{
  display:grid !important;
  grid-template-columns:10px minmax(0,1fr) !important;
  column-gap:12px !important;
  align-items:start !important;
  padding:9px 0 !important;
  color:#66514a !important;
  font-size:14px !important;
  line-height:1.7 !important;
  word-break:normal !important;
  overflow-wrap:normal !important;
  box-sizing:border-box !important;
}
html body.goods_body .ni-v43-promo-details .notice-card li:before{
  width:7px !important;
  height:7px !important;
  margin-top:.7em !important;
}
html body.goods_body .ni-v43-promo-details .notice-card li > .notice-copy{
  display:block !important;
  min-width:0 !important;
  max-width:100% !important;
  word-break:normal !important;
  overflow-wrap:normal !important;
  line-break:auto !important;
}
html body.goods_body .ni-v43-promo-details .notice-card .notice-date,
html body.goods_body .ni-v43-promo-details .notice-card .nowrap{
  white-space:nowrap !important;
}
html body.goods_body .ni-v43-promo-details .notice-card small{
  margin-top:12px !important;
  color:#9b847c !important;
  font-size:13px !important;
  line-height:1.6 !important;
}
@media (max-width:560px){
  html body.goods_body .ni-v43-promo-row{padding-left:14px !important;padding-right:14px !important;}
  html body.goods_body .ni-v43-promo-details summary{padding:12px 14px !important;font-size:13px !important;}
  html body.goods_body .ni-v43-promo-details .notice-card{width:calc(100% - 24px) !important;padding:16px 16px 18px !important;border-radius:16px !important;}
  html body.goods_body .ni-v43-promo-details .notice-card h2{font-size:16px !important;}
  html body.goods_body .ni-v43-promo-details .notice-card .important{font-size:13px !important;padding:9px 10px !important;}
  html body.goods_body .ni-v43-promo-details .notice-card li{grid-template-columns:8px minmax(0,1fr) !important;font-size:13px !important;line-height:1.68 !important;column-gap:10px !important;}
}

/* Footer canonical responsive layout. The three service columns must stay on one row. */
@media (max-width:900px){
  html body.goods_body .ni-v43-footer{
    width:calc(100% - 22px) !important;
    border-radius:22px 22px 0 0 !important;
  }
  html body.goods_body .ni-v43-footer-inner{
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    column-gap:22px !important;
    row-gap:24px !important;
    padding:28px 28px 24px !important;
    align-items:start !important;
  }
  html body.goods_body .ni-v43-footer-brand,
  html body.goods_body .ni-v43-footer-newsletter{
    grid-column:1 / -1 !important;
    justify-self:center !important;
    width:min(100%, 520px) !important;
    text-align:center !important;
  }
  html body.goods_body .ni-v43-footer-social{justify-content:center !important;}
  html body.goods_body .ni-v43-footer-col{
    grid-column:auto !important;
    min-width:0 !important;
    text-align:left !important;
  }
  html body.goods_body .ni-v43-footer h4{
    margin:0 0 10px !important;
    font-size:14px !important;
    line-height:1.35 !important;
    white-space:nowrap !important;
  }
  html body.goods_body .ni-v43-footer-col a{
    margin-bottom:8px !important;
    font-size:13px !important;
    line-height:1.45 !important;
    white-space:nowrap !important;
  }
  html body.goods_body .ni-v43-footer-newsletter form{
    max-width:430px !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
}
@media (max-width:640px){
  html body.goods_body .ni-v43-footer{width:calc(100% - 14px) !important;}
  html body.goods_body .ni-v43-footer-inner{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    column-gap:12px !important;
    row-gap:22px !important;
    padding:26px 22px 22px !important;
  }
  html body.goods_body .ni-v43-footer-brand strong{font-size:25px !important;}
  html body.goods_body .ni-v43-footer p{font-size:13px !important;line-height:1.85 !important;}
  html body.goods_body .ni-v43-footer h4{font-size:13px !important;letter-spacing:.04em !important;}
  html body.goods_body .ni-v43-footer-col a{font-size:12px !important;line-height:1.5 !important;}
  html body.goods_body .ni-v43-footer-newsletter{margin-top:2px !important;}
}
@media (max-width:380px){
  html body.goods_body .ni-v43-footer-inner{
    column-gap:8px !important;
    padding-left:14px !important;
    padding-right:14px !important;
  }
  html body.goods_body .ni-v43-footer h4{font-size:12px !important;letter-spacing:.02em !important;}
  html body.goods_body .ni-v43-footer-col a{font-size:11px !important;line-height:1.45 !important;}
  html body.goods_body .ni-v43-footer-newsletter input{font-size:12px !important;padding:0 11px !important;}
  html body.goods_body .ni-v43-footer-newsletter button{flex-basis:72px !important;font-size:13px !important;}
}

/* === AutoSlim V2 product media transition convergence ===
 * Single canonical low-key transition for spec/gallery main image switching.
 * Keep AVIF/WebP <picture> selection intact; do not globally rewrite product media.
 */
html body.goods_body #goodsInfo.ni-v43-product #zoom1.ni-main-image-link{
  position:relative !important;
  isolation:isolate;
  background:
    radial-gradient(circle at 50% 45%, rgba(255,255,255,.72), rgba(255,247,243,.56) 62%, rgba(247,235,229,.68) 100%),
    #fffaf7 !important;
}
html body.goods_body #goodsInfo.ni-v43-product #zoom1.ni-main-image-link > picture,
html body.goods_body #goodsInfo.ni-v43-product #zoom1.ni-main-image-link > img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  flex:0 0 100%;
  will-change:opacity, transform, filter;
}
html body.goods_body #goodsInfo.ni-v43-product #zoom1.ni-main-image-link > picture img,
html body.goods_body #goodsInfo.ni-v43-product #zoom1.ni-main-image-link > img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  object-position:center !important;
}
html body.goods_body #goodsInfo.ni-v43-product #zoom1.ni-main-image-link.is-ni-media-transitioning{
  cursor:progress !important;
}
html body.goods_body #goodsInfo.ni-v43-product #zoom1.ni-main-image-link > .ni-main-media-next{
  position:absolute !important;
  inset:0;
  z-index:3;
  opacity:0;
  transform:scale(1.012);
  filter:blur(3px) saturate(.98) contrast(.99);
  transition:
    opacity .30s ease,
    transform .42s cubic-bezier(.22,.78,.28,1),
    filter .42s ease;
  pointer-events:none;
}
html body.goods_body #goodsInfo.ni-v43-product #zoom1.ni-main-image-link > .ni-main-media-next.is-active{
  opacity:1;
  transform:scale(1);
  filter:blur(0) saturate(1) contrast(1);
}
html body.goods_body #goodsInfo.ni-v43-product #zoom1.ni-main-image-link > .ni-main-media-current-out{
  opacity:.42;
  transform:scale(.996);
  filter:saturate(.94) contrast(.98);
  transition:
    opacity .24s ease,
    transform .36s cubic-bezier(.22,.78,.28,1),
    filter .36s ease;
}
html body.goods_body #goodsInfo.ni-v43-product #imglist a,
html body.goods_body #goodsInfo.ni-v43-product #imglist img{
  transition:
    border-color .22s ease,
    box-shadow .22s ease,
    transform .24s cubic-bezier(.22,.78,.28,1),
    filter .24s ease,
    opacity .22s ease;
}
@media (prefers-reduced-motion: reduce){
  html body.goods_body #goodsInfo.ni-v43-product #zoom1.ni-main-image-link > .ni-main-media-next,
  html body.goods_body #goodsInfo.ni-v43-product #zoom1.ni-main-image-link > .ni-main-media-current-out,
  html body.goods_body #goodsInfo.ni-v43-product #imglist a,
  html body.goods_body #goodsInfo.ni-v43-product #imglist img{
    transition:none !important;
    transform:none !important;
    filter:none !important;
  }
}
html body.goods_body #goodsInfo.ni-v43-product #zoom1.ni-main-image-link.is-ni-media-transitioning:hover img{
  transform:none !important;
}

/* === Product description heading band canonical source ===
 * Root cause:
 * UEditor default goods_desc table uses alternating row classes, not one stable semantic class:
 * - 商品規格 is usually a td[rowspan] inside tr.ue-table-interlace-color-double.
 * - 訂購須知 is usually a th inside tr.ue-table-interlace-color-single.
 * Previous fixes depended on JS/PHP markers, but the visible row can be cloned by reg("com")
 * and old normalizers can remove marker classes.  This canonical block paints both structural
 * heading rows directly without changing table width, margin, border, radius, or layout.
 */
html body.goods_body .ni-goods-desc-content table tr.ue-table-interlace-color-double > td[rowspan],
html body.goods_body .ni-goods-desc-panel table tr.ue-table-interlace-color-double > td[rowspan],
html body.goods_body .ni-goods-desc-content table tr.ue-table-interlace-color-single:not(.firstRow) > th,
html body.goods_body .ni-goods-desc-panel table tr.ue-table-interlace-color-single:not(.firstRow) > th,
html body.goods_body .ni-goods-desc-content table td.ni-v43-desc-section-heading,
html body.goods_body .ni-goods-desc-content table th.ni-v43-desc-section-heading,
html body.goods_body .ni-goods-desc-panel table td.ni-v43-desc-section-heading,
html body.goods_body .ni-goods-desc-panel table th.ni-v43-desc-section-heading,
html body.goods_body .ni-goods-desc-content table td.ni-desc-heading-cell,
html body.goods_body .ni-goods-desc-content table th.ni-desc-heading-cell,
html body.goods_body .ni-goods-desc-panel table td.ni-desc-heading-cell,
html body.goods_body .ni-goods-desc-panel table th.ni-desc-heading-cell,
html body.goods_body .ni-goods-desc-content table td[data-ni-desc-heading-label="商品規格"],
html body.goods_body .ni-goods-desc-content table th[data-ni-desc-heading-label="商品規格"],
html body.goods_body .ni-goods-desc-content table td[data-ni-desc-heading-label="訂購須知"],
html body.goods_body .ni-goods-desc-content table th[data-ni-desc-heading-label="訂購須知"],
html body.goods_body .ni-goods-desc-panel table td[data-ni-desc-heading-label="商品規格"],
html body.goods_body .ni-goods-desc-panel table th[data-ni-desc-heading-label="商品規格"],
html body.goods_body .ni-goods-desc-panel table td[data-ni-desc-heading-label="訂購須知"],
html body.goods_body .ni-goods-desc-panel table th[data-ni-desc-heading-label="訂購須知"]{
  background:#f2e8df !important;
  background-color:#f2e8df !important;
  background-image:linear-gradient(180deg,#f8f1eb 0%,#efe3da 100%) !important;
  color:#4f3b35 !important;
  font-size:15px !important;
  font-weight:800 !important;
  line-height:1.95 !important;
  letter-spacing:.035em !important;
}
html body.goods_body .ni-goods-desc-content table tr.ue-table-interlace-color-double > td[rowspan] *,
html body.goods_body .ni-goods-desc-panel table tr.ue-table-interlace-color-double > td[rowspan] *,
html body.goods_body .ni-goods-desc-content table tr.ue-table-interlace-color-single:not(.firstRow) > th *,
html body.goods_body .ni-goods-desc-panel table tr.ue-table-interlace-color-single:not(.firstRow) > th *,
html body.goods_body .ni-goods-desc-content table .ni-v43-desc-section-heading *,
html body.goods_body .ni-goods-desc-panel table .ni-v43-desc-section-heading *,
html body.goods_body .ni-goods-desc-content table .ni-desc-heading-cell *,
html body.goods_body .ni-goods-desc-panel table .ni-desc-heading-cell *,
html body.goods_body .ni-goods-desc-content table [data-ni-desc-heading-label] *,
html body.goods_body .ni-goods-desc-panel table [data-ni-desc-heading-label] *{
  background:transparent !important;
  background-color:transparent !important;
  background-image:none !important;
  color:inherit !important;
  font-size:inherit !important;
  font-weight:inherit !important;
  line-height:inherit !important;
}

/* === Product description heading band final source: known order-notice row ===
 * Root cause closure:
 * The current goods_desc HTML already has a stable semantic content marker:
 *   <td class="ni-order-notice-content">...</td>
 * The heading row to paint is the previous table row.  Earlier fixes searched by
 * text or UEditor odd/even rows, but those can be reset by old normalizers or by
 * empty rows.  This final rule targets the structural relationship directly and
 * does not alter table layout, width, border radius, or spacing.
 */
html body.goods_body #com_v table tr:has(+ tr > td.ni-order-notice-content) > th,
html body.goods_body #com_v table tr:has(+ tr > td.ni-order-notice-content) > td,
html body.goods_body #com_h table tr:has(+ tr > td.ni-order-notice-content) > th,
html body.goods_body #com_h table tr:has(+ tr > td.ni-order-notice-content) > td,
html body.goods_body .ni-goods-desc-panel table tr:has(+ tr > td.ni-order-notice-content) > th,
html body.goods_body .ni-goods-desc-panel table tr:has(+ tr > td.ni-order-notice-content) > td,
html body.goods_body .ni-goods-desc-content table tr:has(+ tr > td.ni-order-notice-content) > th,
html body.goods_body .ni-goods-desc-content table tr:has(+ tr > td.ni-order-notice-content) > td,
html body.goods_body .ni-goods-desc-panel table .ni-order-notice-heading-cell,
html body.goods_body .ni-goods-desc-content table .ni-order-notice-heading-cell,
html body.goods_body #com_v table .ni-order-notice-heading-cell,
html body.goods_body #com_h table .ni-order-notice-heading-cell{
  background:#f2e8df !important;
  background-color:#f2e8df !important;
  background-image:linear-gradient(180deg,#f8f1eb 0%,#efe3da 100%) !important;
  color:#4f3b35 !important;
  font-size:15px !important;
  font-weight:800 !important;
  line-height:1.95 !important;
  letter-spacing:.035em !important;
}
html body.goods_body #com_v table tr:has(+ tr > td.ni-order-notice-content) > th *,
html body.goods_body #com_v table tr:has(+ tr > td.ni-order-notice-content) > td *,
html body.goods_body #com_h table tr:has(+ tr > td.ni-order-notice-content) > th *,
html body.goods_body #com_h table tr:has(+ tr > td.ni-order-notice-content) > td *,
html body.goods_body .ni-goods-desc-panel table tr:has(+ tr > td.ni-order-notice-content) > th *,
html body.goods_body .ni-goods-desc-panel table tr:has(+ tr > td.ni-order-notice-content) > td *,
html body.goods_body .ni-goods-desc-content table tr:has(+ tr > td.ni-order-notice-content) > th *,
html body.goods_body .ni-goods-desc-content table tr:has(+ tr > td.ni-order-notice-content) > td *,
html body.goods_body .ni-goods-desc-panel table .ni-order-notice-heading-cell *,
html body.goods_body .ni-goods-desc-content table .ni-order-notice-heading-cell *,
html body.goods_body #com_v table .ni-order-notice-heading-cell *,
html body.goods_body #com_h table .ni-order-notice-heading-cell *{
  background:transparent !important;
  background-color:transparent !important;
  background-image:none !important;
  color:inherit !important;
  font-size:inherit !important;
  font-weight:inherit !important;
  line-height:inherit !important;
}

/* === DESC_LIGHTBOX_DESC_IMAGE_SCOPE_CLEAN_START === */
/*
 * Accepted convergence after desc-known-row-accepted-clean / flow-audit-opt.
 * Scope:
 * 1) Keep browser-native link status behavior; no href suppression.
 * 2) Keep the gallery-card shape while showing 1-2 more thumbnails by reducing wasted side padding only.
 * 3) Restore UEditor-compatible image scaling only for real goods_desc content images.
 *
 * Important guardrail learned from the 訂購須知 fix:
 * - Do not rewrite full UEditor table geometry.
 * - Do not force table/base-plate images into the 760px responsive content-image rule.
 * - The order notice heading band is still owned by ni_product.js through:
 *   td.ni-order-notice-content -> previous non-empty tr.
 */

/* Gallery: keep current card layout, only reduce side waste so 1-2 more thumbnails can be visible. */
html body.goods_body #goodsInfo.ni-v43-product .ni-gallery-box{
  padding-left:26px !important;
  padding-right:26px !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-gallery-scroll-wrap{
  gap:8px !important;
  width:100% !important;
  max-width:100% !important;
  box-sizing:border-box !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-gallery-scroll{
  flex:1 1 auto !important;
  width:auto !important;
  max-width:none !important;
  min-width:0 !important;
  justify-content:flex-start !important;
}
html body.goods_body #goodsInfo.ni-v43-product .ni-gallery-scroll #imglist,
html body.goods_body #goodsInfo.ni-v43-product #imglist{
  gap:12px !important;
  margin-left:0 !important;
  margin-right:0 !important;
}
html body.goods_body #goodsInfo.ni-v43-product #imglist a{
  width:60px !important;
  height:60px !important;
}
@media (min-width:960px){
  html body.goods_body #goodsInfo.ni-v43-product .ni-gallery-box{
    padding-left:22px !important;
    padding-right:22px !important;
  }
}
@media (max-width:700px){
  html body.goods_body #goodsInfo.ni-v43-product .ni-gallery-box{
    padding-left:12px !important;
    padding-right:12px !important;
  }
  html body.goods_body #goodsInfo.ni-v43-product #imglist a{
    width:58px !important;
    height:58px !important;
  }
}

/* Real goods_desc content images: match admin UEditor initialStyle. */
html body.goods_body .ni-goods-desc-content img.ni-content-img,
html body.goods_body .ni-goods-desc-content img[data-ni-image-role="content"],
html body.goods_body .ni-goods-desc-panel img.ni-content-img,
html body.goods_body .ni-goods-desc-panel img[data-ni-image-role="content"]{
  display:block !important;
  width:min(100%, 760px) !important;
  max-width:760px !important;
  height:auto !important;
  margin:18px auto !important;
  border-radius:12px !important;
  object-fit:contain !important;
}
html body.goods_body .ni-goods-desc-content img.ni-content-img[data-ni-image-wide="1"],
html body.goods_body .ni-goods-desc-content img[data-ni-image-role="content"][data-ni-image-wide="1"],
html body.goods_body .ni-goods-desc-panel img.ni-content-img[data-ni-image-wide="1"],
html body.goods_body .ni-goods-desc-panel img[data-ni-image-role="content"][data-ni-image-wide="1"]{
  width:min(100%, 960px) !important;
  max-width:960px !important;
}
html body.goods_body .ni-goods-desc-content picture.autoslim-picture,
html body.goods_body .ni-goods-desc-content .autoslim-picture,
html body.goods_body .ni-goods-desc-panel picture.autoslim-picture,
html body.goods_body .ni-goods-desc-panel .autoslim-picture{
  display:block !important;
  max-width:100% !important;
  margin-left:auto !important;
  margin-right:auto !important;
  text-align:center !important;
}

/* UEditor table/base-plate images: preserve original table image style and only prevent overflow. */
html body.goods_body .ni-goods-desc-content table img,
html body.goods_body .ni-goods-desc-panel table img,
html body.goods_body .ni-goods-desc-content table img.ni-content-img,
html body.goods_body .ni-goods-desc-content table img[data-ni-image-role="content"],
html body.goods_body .ni-goods-desc-panel table img.ni-content-img,
html body.goods_body .ni-goods-desc-panel table img[data-ni-image-role="content"]{
  display:inline-block !important;
  width:auto !important;
  max-width:100% !important;
  height:auto !important;
  margin:0 auto !important;
  border-radius:0 !important;
  object-fit:contain !important;
}
html body.goods_body .ni-goods-desc-content table picture.autoslim-picture,
html body.goods_body .ni-goods-desc-content table .autoslim-picture,
html body.goods_body .ni-goods-desc-panel table picture.autoslim-picture,
html body.goods_body .ni-goods-desc-panel table .autoslim-picture{
  display:inline-block !important;
  width:auto !important;
  max-width:100% !important;
  margin:0 auto !important;
  text-align:center !important;
}

/* Never let this frontend rule rewrite the editor's table structure. */
html body.goods_body .ni-goods-desc-content table,
html body.goods_body .ni-goods-desc-panel table{
  table-layout:auto !important;
}
/* === DESC_LIGHTBOX_DESC_IMAGE_SCOPE_CLEAN_END === */

/* NI_CONVERGENCE: product-detail recently viewed card style.
 * Kept implementation: the same boutique card rhythm used by 「一起帶回的小物」.
 * Retired implementation: compact two-column history cards that looked different from recommendations.
 */
html body.goods_body .ni-v43-modern-products--history .ni-v43-modern-products__head h2.ni-heading-heart::before{
  content:"";
}

html body.goods_body .ni-v43-modern-products--history .ni-v43-history-list{
  display:grid !important;
  grid-template-columns:repeat(5,minmax(0,1fr)) !important;
  gap:22px !important;
  overflow:visible !important;
  padding:0 !important;
  scroll-snap-type:none !important;
}

html body.goods_body .ni-v43-modern-products--history .ni-history-product{
  display:block !important;
  min-width:0 !important;
  width:auto !important;
  flex:initial !important;
  margin:0 !important;
  padding:12px 12px 16px !important;
  border:1px solid rgba(230,213,204,.72) !important;
  border-radius:22px !important;
  background:rgba(255,255,253,.82) !important;
  color:#61504a !important;
  text-decoration:none !important;
  box-shadow:0 10px 24px rgba(88,64,48,.035) !important;
  box-sizing:border-box !important;
  scroll-snap-align:start !important;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease !important;
}

html body.goods_body .ni-v43-modern-products--history .ni-history-product:hover{
  transform:translateY(-2px);
  border-color:rgba(212,180,166,.9) !important;
  background:#fffdf9 !important;
  box-shadow:0 18px 36px rgba(95,64,48,.075) !important;
}

html body.goods_body .ni-v43-modern-products--history .ni-history-product__media{
  display:block !important;
  width:100% !important;
  height:auto !important;
  aspect-ratio:1 / 1 !important;
  margin:0 0 12px !important;
  overflow:hidden !important;
  border-radius:18px !important;
  background:#fff8f3 !important;
  text-decoration:none !important;
}

html body.goods_body .ni-v43-modern-products--history .ni-history-product__media img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
  object-position:center !important;
  border:0 !important;
  border-radius:inherit !important;
}

html body.goods_body .ni-v43-modern-products--history .ni-history-product__body{
  display:block !important;
  min-width:0 !important;
  text-align:center !important;
}

html body.goods_body .ni-v43-modern-products--history .ni-history-product__title{
  display:-webkit-box !important;
  min-height:42px !important;
  margin:0 auto 6px !important;
  color:#69564f !important;
  font-size:14px !important;
  line-height:1.5 !important;
  text-align:center !important;
  text-decoration:none !important;
  overflow:hidden !important;
  -webkit-line-clamp:2 !important;
  -webkit-box-orient:vertical !important;
}

html body.goods_body .ni-v43-modern-products--history .ni-history-product__price{
  display:block !important;
  margin:0 !important;
  color:#ef6c77 !important;
  font-size:16px !important;
  line-height:1.35 !important;
  text-align:center !important;
  font-weight:700 !important;
  font-family:Arial,"Noto Sans TC","Microsoft JhengHei",sans-serif !important;
}

@media (max-width:959px){
  html body.goods_body .ni-v43-modern-products--history .ni-v43-history-list{
    display:flex !important;
    gap:16px !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    padding:2px 2px 10px !important;
    scroll-snap-type:x proximity !important;
    -webkit-overflow-scrolling:touch !important;
  }

  html body.goods_body .ni-v43-modern-products--history .ni-history-product{
    flex:0 0 190px !important;
  }
}

@media (max-width:640px){
  html body.goods_body .ni-v43-modern-products--history .ni-history-product{
    flex-basis:154px !important;
    padding:10px 10px 14px !important;
    border-radius:19px !important;
  }

  html body.goods_body .ni-v43-modern-products--history .ni-history-product__media{
    border-radius:15px !important;
  }

  html body.goods_body .ni-v43-modern-products--history .ni-history-product__title{
    min-height:39px !important;
    font-size:13px !important;
  }
}
