@charset "utf-8";
/* ==========================================================================
   115修正版)
   ========================================================================== */

/* --------------------------------------------------------------------------
   【第一部分：全站最新 CDN 引入與基礎環境重設 (Reset & Base)】
   -------------------------------------------------------------------------- */
html { color: #000; background: #FFF; }
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, button, textarea, p, blockquote, th, td { margin: 0; padding: 0; }
table { border-collapse: collapse; border-spacing: 0; font-size: inherit; font: 100%; }
fieldset, img { border: 0; }
address, caption, cite, code, dfn, em, strong, th, var, optgroup { font-style: inherit; font-weight: inherit; }
del, ins { text-decoration: none; }
li { list-style: none; }
caption, th { text-align: left; }
h1, h2, h3, h4, h5, h6 { font-size: 100%; font-weight: normal; }
q:before, q:after { content: ''; }
abbr, acronym { border: 0; font-variant: normal; }
sup, sub { vertical-align: baseline; }
legend { color: #000; }
input, button, textarea, select, optgroup, option { font-family: inherit; font-size: inherit; font-style: inherit; font-weight: inherit; }
input, button, textarea, select { *font-size: 100%; font: 99% arial, helvetica, clean, sans-serif; }
pre, code, kbd, samp, tt { font-family: monospace; *font-size: 108%; line-height: 100%; }

body {
  background: url('../images/bg2.jpg');  
  background-repeat: repeat-x;
  font-family: -apple-system, BlinkMacSystemFont, "Microsoft JhengHei", "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

/* 基礎超連結預設 */
a { color: #333; text-decoration: none; }
a:hover { color: #900; text-decoration: none; }

/* 基礎佈局容器 */
#outter_wrapper { clear: both; width: 900px; margin: 0 auto; border: 1px #eee solid; overflow: hidden; background: #FFF; color: #333333; }
#contentwrapper { padding: 10px; overflow: hidden; text-align: left; }
.clear { clear: both; }  
.left { float: left; padding-right: 15px; }
.box-shadow { box-shadow: 0px 1px 4px 0px #ff9900; }
.top-radius { border-top-left-radius: 8px; border-top-right-radius: 8px; }
.top-radius-15 { border-radius: 15px 15px 0px 0px; }
.top-radius-10 { border-radius: 10px 10px 0px 0px; }
.radius-box { border-radius: 5px !important; } 
hr { border: 0; height: 1px; margin: 30px 0; background-image: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,0.35), rgba(0,0,0,0)); }
hr.hr1 { clear: both; margin: 20px 0; border-top: 0px dashed #8c8b8b; }
.fa { padding-right: 2px; }

/* --------------------------------------------------------------------------
   【第二部分：傳統桌機版排版、價目表 Table 與通用舊元件】
   -------------------------------------------------------------------------- */
/* 麵包屑導覽 */
.nav-bar { margin: 0px 0; }
.nav-bar li { float: left; font-family: "微軟正黑體"; color: #000; padding: 15px 5px; font-size: 1.2em; }
.nav-bar li a { color: #06F; }
.nav-bar li a:visited { color: #06F; }
.nav-bar li a:hover { color: #906; }
.nav-bar li:last-child { color: #ff0000; }

/* 數字圖示流水號系列 */
.num-icon { width: 15px; height: 15px; display: block; line-height: 15px; padding: 3px; background: #b81c22; color: #FFF; font-weight: 600; float: left; margin: 3px 3px 0px 0; text-align: center; border-radius: 15px; font-size: 13px; }
.num-icon-2 { width: 13px; height: 13px; display: block; line-height: 13px; padding: 3px; background: #FC0; color: #FFF; font-weight: 600; float: left; margin: 3px 3px 0px 0; text-align: center; border-radius: 15px; font-size: 13px; }
.num-icon-3 { width: 10px; height: 10px; display: block; line-height: 10px; padding: 3px; background: #033650; color: #FFF; font-weight: 600; float: left; margin: 5px 3px 0px 0; text-align: center; border-radius: 15px; font-size: 13px; }
.num-icon-4 { width: 15px; height: 15px; display: block; line-height: 15px; padding: 3px; font-family: "微軟正黑體"; background: #F00; color: #FFF; float: left; margin: 3px 3px 0px 0; text-align: center; border-radius: 15px; font-size: 15px; }

/* 傳統內容區塊類 */
.box-noneboder { clear: both; font-family: "微軟正黑體"; font-size: 1.0em; text-align: justify; line-height: 25px; margin: 0px; padding: 0 5px 0 0; }

/* 【核心除錯：優化原有 .m-box 元件，整合底層設定，徹底防外溢】 */
.m-box { 
  clear: both !important; 
  position: relative !important; 
  margin: 0px auto !important; 
  padding: 10px 0 !important; 
  border: 0px solid #eee; 
  width: 900px !important;
  max-width: 900px !important;
  min-width: 900px !important;
  box-sizing: border-box !important;
  display: block !important;
  float: none !important;
  overflow: hidden !important;
  background-color: #ffffff !important;
}

/* 傳統舊版標題控制設定 */
#outter_wrapper .m-box h2, #outter_wrapper .m-box h3, #outter_wrapper.m-box h4 { font-size: 1.2em; letter-spacing: 2px; padding: 5px; }
#outter_wrapper h1, #outter_wrapper h2, #outter_wrapper h3 { margin: 10px 0px 10px 0; }
.left-h3 { font-family: "微軟正黑體"; font-size: 1.5em; margin: 0; width: 100%; letter-spacing: 1px; display: block; background: #f3c01e; padding: 13px; font-weight: 600; color: #ff0000; text-shadow: 1px 1px 1px #fff; background-image: url(../images/left-h3-bg.png); border-bottom: 5px solid #e2b21b; }
.left-h4 { clear: both; font-size: 1.3em; margin: 15px 0 0 0; width: 99%; font-weight: 600; letter-spacing: 0px; display: block; padding: 1px; }

/* 大歷史紀錄：統整 107-2 搬移過來的特殊標題設定 */
#outter_wrapper .m-box .ul-50 h3, #outter_wrapper .m-box .ul-100 h3 { padding: 10px 0; font-size: 28px; background: #e31621; color: #fdf636; margin: 0px; }
#outter_wrapper .m-box h2, #outter_wrapper .m-box h3 { padding: 15px 0; margin: 0; font-weight: 600; font-size: 30px; text-align: center; line-height: 35px; }
#outter_wrapper .m-box .img3 img { width: 280px; height: 220px; }
#outter_wrapper .m-box .img3 h3 { line-height: 20px; }

/* 價目表 Table 專屬樣式控制 */
.m-box table, th, td { font-family: "微軟正黑體"; border: 1px solid #ffcc33; letter-spacing: 1px; padding: 5px; }
.m-box table { margin: 0px 0 25px 0; }
.m-box table th { font-size: 18px; background: #ffff99; padding: 8px 5px; font-weight: 600; text-align: center; color: #333; }
.m-box table.tb5 th, .m-box table.tb8 th { font-size: 15px; }
.m-box table.tb8 th { color: #03F; }
.m-box table td { font-size: 15px; }
.m-box table td p { margin-bottom: 8px; line-height: 20px; letter-spacing: 0px; }
.m-box table.tb5 td, .m-box table.tb8 td { font-size: 14px; }

/* 舊版卡片筆記與提示區塊 */
.box-note { margin-top: -25px; font-size: 1.1em; padding: 10px; color: #009; text-align: center; line-height: 35px; letter-spacing: 2px; font-weight: 600; display: block; background: #ffff99; border: 1px solid #ffcc33; }
.div-note { font-size: 1.0em; padding: 10px; color: #000; letter-spacing: 1px; border: 2px solid #ffcc33; }
#outter_wrapper .box-h3 { font-family: "微軟正黑體"; margin: 0 0 -5px 0; font-size: 1.0em; padding: 25px; text-align: center; line-height: 35px; letter-spacing: 2px; display: block; background: url('../images/pay/title-bg-2.jpg') no-repeat right bottom; font-weight: 600; border-top: 3px solid #ffcc33; border-bottom: 2px solid #ffcc33; text-shadow: 1px 1px 2px #fff; border-top-left-radius: 9px; border-top-right-radius: 9px; }
.m-h3 { font-family: "微軟正黑體"; font-size: 2.1em; margin: 25px 10px 0px 10px; padding: 10px 5px 10px 10px; text-align: center; line-height: 35px; letter-spacing: 2px; display: block; background: url('../images/pay/title-bg-2.jpg') no-repeat right bottom; color: #f00; font-weight: 600; border-left: 5px solid #f00; border-right: 5px solid #f00; text-shadow: 1px 1px 2px #fff; }
.m-h3-2 { font-family: "微軟正黑體"; font-size: 1.2em; margin: 0; letter-spacing: 1px; display: block; padding: 13px; font-weight: 600; }
.m-h4 { font-size: 1.3em; margin: 10px 0 15px 0; width: 99%; font-weight: 600; letter-spacing: 0px; display: block; padding: 5px; }
.m-h4-2 { font-size: 1.1em; margin: 15px 0 0 0; width: 99%; font-weight: 600; letter-spacing: 0px; display: block; padding: 5px; }
.god-h3 { background: #fef165; padding: 8px 3px; border-bottom: 1px solid #FFCC00; }

/* 舊型圓角按鈕 */
.radius-box-0 { padding: 0 5px; color: #fff; text-align: center; font-weight: 600; background: #f00; border-radius: 5px; }
.radius-box { padding: 10px 5px; color: #f00; font-size: 1.3em; text-align: center; font-weight: 600; background: #ffe32a; border-bottom-left-radius: 9px; border-bottom-right-radius: 9px; }
.radius-note { padding: 15px 5px; margin: 10px 0; letter-spacing: 2px; color: #f00; font-size: 1.4em; text-align: center; font-weight: 600; background: #ffe32a; border-radius: 9px; }
.radius-box-h2 { padding: 25px 10px; color: #FFF; line-height: 28px; background: #F00; }
.bg_box { width: 70px; padding: 2px 5px; border-radius: 5px; background: #ff0000; color: #fff; text-align: center; }

/* 多欄式排版結構 (桌機固定尺寸排版) */
.ul-50 { width: 426px; display: block; margin: 15px 10px 30px 10px; border-radius: 10px; float: left; border: 1px solid #eee; }
.ul-50-h3 { font-size: 1.0em; font-weight: 600; letter-spacing: 0px; color: #000; }
.ul-50-title { background: #FC0; font-weight: 600; font-size: 1.5em; padding: 15px; border-bottom: 1px solid #666; color: #000; }
.ul-50 ul, .ul-100 ul { position: absolute; margin: 0; padding: 0; height: auto; display: block; }
.ul-50 li { display: block; color: #06F; background: #FFF; cursor: pointer; border-bottom: 1px solid #666; }
.ul-100 { width: 900px; display: block; margin: 20px 0px; border-radius: 10px; float: left; border: 0px solid #ccc; }
.ul-50 img, .ul-100 img { width: 100%; }
.ul-50 p, .ul-100 p { padding: 5px; }
.ul-100 li { font-size: 19px; padding: 12px 10px; letter-spacing: 1px; color: #06F; border-bottom: 1px dotted #f00; }
.ul-100 li a { color: #0033ff; font-weight: 600; }
.ul-100 li a:hover { color: #f00; }
.ul-30 { width: 33%; display: block; float: left; text-align: center; }
.ul-60 { width: 61%; display: block; float: right; }
.ul-30-p { padding: 5px; text-align: left; color: #039; }
.ul-30 li { font-size: 19px; display: block; padding: 12px 10px; color: #06F; background: #FFF; border-bottom: 1px solid #fbfb82; }
.ul-left ul { clear: both; margin: 0; padding: 0; }
.ul-left li { font-size: 16px; width: 45%; padding: 5px; color: #06F; float: left; border-bottom: 1px dashed #ccc; }
.ul-left-3 li { font-size: 16px; width: 20%; padding: 5px 17px 5px 8px; color: #06F; float: left; border-bottom: 1px dashed #ccc; }
.h3 { margin: 0; padding: 0; }
.item-widht { width: 290px; }

/* 老式桌機導購按鈕 */
.go-btn { font-family: "微軟正黑體"; display: block; width: 94%; background: #ffeb41; color: #FF0000; font-size: 23px; letter-spacing: 1px; padding: 15px; border: 3px solid #FFF; border-radius: 15px; margin: -10px 0 15px 0px; font-weight: 600; }
.go-btn-2 { font-family: "微軟正黑體"; display: block; width: 94%; background: #ffeb41; color: #FF0000; font-size: 23px; letter-spacing: 1px; padding: 15px; border: 3px solid #FFF; border-radius: 15px; margin: 0px 0 15px 0px; font-weight: 600; }
.pay-box { border-radius: 10px; margin: 5px 0; padding: 10px; }
.row-1 { width: 880px; margin-left: 0px; }  
.row-1 ul { width: 875px; margin: 0 10px 30px 10px; border-radius: 10px; border: 1px solid #cc0000; }
.row-1 ul li a { font-size: 22px; color: #040ca1; }
.row-1 ul li:last-child { border: none; }

/* 傳統舊版 CSS 桌子佈局 (替代 Table) */
#css_table { display: table; width: 100%; border: 1px solid #306; border-radius: 5px; background: #f9e720; margin-bottom: 15px; }
#css_table_2 { display: table; width: 100%; border: 1px solid #306; border-radius: 5px; background: #fff; }
.css_td_2 { display: table-cell; padding: 10px 5px; vertical-align: middle; border-bottom: 1px solid #ccc; border-right: 1px solid #ccc; }
.css_tr { display: table-row; }
.css_td { display: table-cell; padding: 10px 5px; vertical-align: middle; border-bottom: 1px solid #fff; border-right: 1px solid #fff; }
.css_td p, .css_td_2 p { padding: 0px; }    
.css_td:last-child, .css_td_2:last-child { border-right: none; }
.td-1 { font-size: 1.5em; font-weight: 600; width: 20%; }
.td-2 { font-size: 1.3em; width: 80%; }
.td-4-1 { font-size: 1.5em; width: 10%; }
.td-4-2 { font-size: 1.5em; width: 10%; }
.td-4-3 { font-size: 1.5em; width: 20%; }
.td-4-4 { font-size: 1.5em; width: 60%; }
.td-5-1 { font-size: 1.5em; width: 40%; }
.td-5-2 { font-size: 1.5em; width: 11%; }
.td-5-3 { font-size: 1.5em; width: 10%; }
.td-5-4 { font-size: 1.5em; width: 40%; }
.t-center { text-align: center; }
.t-titel { font-size: 1.5em; font-weight: 600; }
.block-4 { width: 225px; padding-top: 5px; text-align: center; float: left; margin-bottom: 5px; }
.block-3 { width: 284px; padding: 8px; float: left; margin-bottom: 5px; }
.price { font-size: 15px; font-weight: 600; float: left; width: 50%; margin: 0; padding: 0; height: 20px; }

/* 注意事項與頁尾聯絡資訊 */
.note { line-height: 21px; letter-spacing: 1px; font-size: 13px; }
.note h3, .note h4 { font-size: 17px; line-height: 21px; letter-spacing: 1px; margin: 0; }
.note ul li { margin-bottom: 7px; }
.note3 ul li { margin-bottom: 5px; }  
.addrs { margin-top: 10px; border: 1px solid #eee; padding: 5px; display: block; height: 90px; border-radius: 5px; }
.addrs p { width: 280px; height: 20px; line-height: 20px; float: left; }
#footer { clear: both; border-top: 5px solid #eee; background-image: url(../_img/bg4.gif); color: #333; padding: 10px 0; }
#footer a { color: #333; }
#footer ul { width: 80%; height: auto; margin: 0 auto; padding: 0px; }
#footer ul li { line-height: 22px; font-size: 16px; letter-spacing: 1px; text-align: left; font-family: "微軟正黑體"; height: auto; padding: 3px; }

/* 傳統排版控制 */
.cl-3 { width: 30%; margin: 5px; padding: 7px; float: left; }
.cl-1 { width: 97.7%; margin: 8px 3px 8px 9px; }
.cl-2 { width: 48%; margin: 3px 3px 5px 10px; float: left; }
.cl-4 { width: 23%; margin: 3px; padding: 5px; float: left; }
.cl-3>p { margin: 0; padding: 5px; word-break: break-all; }
.sty-1 { background: #ff0000; border: 2px solid #c20202; border-radius: 10px; }
.sty-1 a { color: #fff; font-weight: 600; }
.sty-1 a:hover { color: #feee5a; }
.sty-2 { border: 2px solid #eee; border-radius: 10px; }
.sty-0 { border: 1px solid #eee; border-radius: 10px; }        
.cl-1>.p1, .cl-2>.p1, .cl-3>.p1 { color: #fff; text-shadow: #000 0.1em 0.1em 0.2em; text-align: center; font-weight: 700; }
.cl-3>.p2 { text-align: center; font-weight: 700; }
.cl-1>p, .cl-2>p { margin: 0px; padding: 4px 8px; }
.cl-1>img, .cl-2>img, .cl-3>img, .cl-4>img { width: 100%; }
.cl-1>a>img, .cl-2>a>img, .cl-3>a>img, .cl-4>a>img { width: 100%; }
.note_btn { font-family: '微軟正黑體'; border-radius: 5px; text-align: center; text-decoration: none; display: inline-block; font-weight: 600; background: #ff0000; border: none; color: #fff; padding: 3px; }

/* 通訊資料盒元件 */
.line-1 { width: 600px; height: 158px; background-image: url(../images/line-1.jpg); background-repeat: no-repeat; }
.line-1 li { padding-left: 53px; padding-top: 20px; width: 247px; height: 40px; float: left; font-size: 18px; color: #0033CC; }
.contact a { color: #ff0000; }
.contact a:hover { color: #3366ff; }
.b-text { font-weight: 600; }
.size-16 { font-size: 16px; } .size-17 { font-size: 17px; } .size-18 { font-size: 18px; } .size-19 { font-size: 19px; } .size-20 { font-size: 20px; }
.size-21 { font-size: 21px; } .size-22 { font-size: 22px; } .size-23 { font-size: 23px; } .size-24 { font-size: 24px; } .size-25 { font-size: 25px; }
.text-center { text-align: center; }
.bg-none { background: none; }
.b-color { color: #000080; } .b2-color { color: #0033ff; } .b3-color { color: #139FEC; } .black-color { color: #000; }
.red-color { color: #ff0000; } .red2-color { color: #CC0000; } .red3-color { color: #cc3300; } .gray-color { color: #333333; }
.purple { color: #7203aa; } .green-color { color: #009900; } .green2-color { color: #006600; } .y-color { color: #f4db0b; }
.y2-color { color: #fdf636; } .w-color { color: #fff; } .org-color { color: #eb6100; } .dark-color { color: #8a6b1b; } .brown-color { color: #983620; }
.line-height-22 { line-height: 22px; } .height-40 { height: 40px; }
hr.style-six { border: 0; height: 0; border-top: 1px solid rgba(0,0,0,0.1); border-bottom: 1px solid rgba(255,255,255,0.3); }

/* 老式聯絡通訊網格 */
.infomation-box { width: 900px; height: auto; overflow: hidden; margin: 10px 0px; }
.infomation-box ul { height: auto; overflow: hidden; margin: 10px 0px 0 0; padding-left: 0px; }
.infomation-box ul li { float: left; width: 125px; height: 38px; padding-left: 40px; padding-bottom: 5px; font-size: 20px; font-weight: 600; color: #009900; line-height: 38px; }
.line-icon { background-image: url(../images/icons/line-icon.jpg); background-repeat: no-repeat; }
.wechat-icon { background-image: url(../images/icons/wechat-icon.jpg); background-repeat: no-repeat; }
.skype-icon { background-image: url(../images/icons/skype-icon.jpg); background-repeat: no-repeat; }
.qq-icon { background-image: url(../images/icons/qq-icon.jpg); background-repeat: no-repeat; }
.address-icon { background-image: url(../images/icons/address-icon.jpg); background-repeat: no-repeat; }
.tel-icon { background-image: url(../images/icons/tel-icon.jpg); background-repeat: no-repeat; }
.mail-icon { background-image: url(../images/icons/mail-icon.jpg); background-repeat: no-repeat; }
.underLine { border-bottom: 1px solid #e0e0e0; }
.red-underLine { border-bottom: 1px solid #b20a0a; }

/* 傳統網格欄位排版 */
.flex-row, .flex-row-reverse, .flex-column, .flex-column-reverse { display: inline-flex; width: 898px; border-top: 0px solid #eee; vertical-align: top; }
.flex-row { flex-direction: row; } .flex-row-reverse { flex-direction: row-reverse; }
.flex-column { flex-direction: column; } .flex-column-reverse { flex-direction: column-reverse; }
.flex-item { margin: 8px 0; border: 2px solid #fff; text-align: center; }
.flex-item img { width: 100%; height: 200px; overflow: hidden; }
.flex-item p { font-size: 16px; text-align: left; margin: 0; padding: 0; }
.h3-clo-4 { font-size: 20px; margin: 0; padding: 8px; letter-spacing: 2px; background: url('../images/pay/title-bg-2.jpg') no-repeat right bottom; color: #ff0000; font-weight: 600; text-shadow: 2px 2px 3px #fff; }

/* 傳統舊版大輪播 (Banner) 設定 */
.banner-box { margin: 0; padding: 0; position: relative; width: 900px; height: 370px; z-index: 0; }
.banner-title { position: absolute; bottom: 0px; padding: 15px 1px; right: 0; background: rgba(204,0,0,0.5); width: 900px; height: 140px; z-index: 1; }
.address li { padding: 3px 0; letter-spacing: 1px; }
.red-title { padding: 15px 5px; background: #ff0000; }

/* 傳統五號表單樣式控制 */
.form-style-5 { max-width: 800px; background: #f4f7f8; margin: 10px auto; padding: 20px; border-radius: 8px; }
.form-style-5 fieldset { border: none; }
.form-style-5 legend { font-size: 1.4em; margin-bottom: 10px; }
.form-style-5 label { display: block; margin-bottom: 8px; }
.form-style-5 input[type="text"], .form-style-5 input[type="date"], .form-style-5 input[type="datetime"], .form-style-5 input[type="email"], .form-style-5 input[type="number"], .form-style-5 input[type="search"], .form-style-5 input[type="time"], .form-style-5 input[type="url"], .form-style-5 textarea, .form-style-5 select { font-family: -apple-system, BlinkMacSystemFont, "Microsoft JhengHei", "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif; background: rgba(255,255,255,.1); border: none; border-radius: 4px; margin: 0; outline: 0; padding: 10px; width: 100%; box-sizing: border-box; background-color: #fff; color: #8a97a0; box-shadow: 0px 1px 4px 0px #ff9900; margin-bottom: 30px; }
.form-style-5 input[type="text"]:focus, .form-style-5 input[type="date"]:focus, .form-style-5 input[type="datetime"]:focus, .form-style-5 input[type="email"]:focus, .form-style-5 input[type="number"]:focus, .form-style-5 input[type="search"]:focus, .form-style-5 input[type="time"]:focus, .form-style-5 input[type="url"]:focus, .form-style-5 textarea:focus, .form-style-5 select:focus { background: #eee; }
.form-style-5 select { -webkit-appearance: menulist-button; height: 35px; }
.form-style-5 .number { background: #cc0000; color: #fff; height: 30px; width: 30px; display: inline-block; font-size: 0.8em; margin-right: 4px; line-height: 30px; text-align: center; border-radius: 15px 15px 15px 0px; }
.form-style-5 input[type="submit"], .form-style-5 input[type="button"] { font-family: -apple-system, BlinkMacSystemFont, "Microsoft JhengHei", "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif; position: relative; display: block; padding: 19px 39px 18px 39px; color: #FFF; margin: 0 auto; background: #cc0000; font-size: 22px; text-align: center; width: 100%; border: 1px solid #660000; border-width: 1px 1px 3px; margin-bottom: 10px; }
.form-style-5 input[type="submit"]:hover, .form-style-5 input[type="button"]:hover { background: #ff1606; }

/* 傳統導購小按鈕組 */
.btn-buy { background: #ff0000; border: 0px solid #ff9900; display: inline-block; cursor: pointer; color: #fff; width: 45%; font-weight: 600; padding: 5px 3px; letter-spacing: 2px; margin: 0 3px; text-decoration: none; }
.btn-buy i { color: #fff; }
.btn-buy:hover { background: #d60a00; color: #fff; }
.btn-buy:active { position: relative; top: 1px; }
.btn-5 { clear: both; font-size: 22px; height: 50px; line-height: 50px; letter-spacing: 1px; background: #ff0000; padding: 15px; margin: 5px 10px; font-weight: 700; color: #fff; border: 1px solid #ff0000; border-radius: 6px; }
.btn-5:hover { color: #ffe34c; }
.setbtn { font-size: 20px; font-weight: 600; padding: 10px 0; width: 150px; margin-right: 15px; }
.setbtn2 { font-size: 20px; font-weight: 600; padding: 10px 0; width: 270px; }
.btn-red { background: #ff0000; padding: 10px; border: 1px solid #e1a607; border-radius: 8px; font-weight: 600; color: #fff; text-align: center; cursor: pointer; }
.btn-red:hover { color: #ff0000; background: #f5f33a; }
.btn-mor { -webkit-box-shadow: 0px 1px 0px 0px #fff6af; box-shadow: 0px 1px 0px 0px #fff6af; background: linear-gradient(to bottom, #ffec64 5%, #ffab23 100%); background-color: #ffec64; border-radius: 10px; border: 1px solid #ffaa22; display: inline-block; margin: 10px 0; cursor: pointer; color: #ff0000; font-size: 22px; font-weight: bold; padding: 8px 24px; text-decoration: none; text-shadow: 0px 1px 0px #ffee66; }
.btn-mor:hover { background: linear-gradient(to bottom, #ffab23 5%, #ffec64 100%); background-color: #ccc; }
.btn-mor:active { position: relative; top: 1px; }

/* 傳統寶寶抓周表格 */
#baby-party-table { font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; border-collapse: collapse; width: 100%; }
#baby-party-table td, #baby-party-table th { border: 1px solid #ddd; padding: 12px 8px; text-align: center; font-size: 23px; }
#baby-party-table tr:nth-child(even) { background-color: #f2f2f2; }
#baby-party-table tr:hover { background-color: #ddd; }
#baby-party-table th { padding-top: 12px; padding-bottom: 12px; line-height: 35px; background-color: #ff0000; color: white; }


/* --------------------------------------------------------------------------
   【第三部分：首頁新樣式
   -------------------------------------------------------------------------- */

/* 元件 A：【全站標題 (.title)】 */
.title {
  font-size: 32px !important;
  font-weight: 800 !important;
  color: #3a2e2e !important;
  text-align: center !important;
  margin: 30px auto 20px auto !important;
  padding: 15px 0 !important;
  letter-spacing: 3px !important;
  text-shadow: 1px 1px 2px rgba(225, 225, 225, 0.8) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 25px;
}
.title::before { content: "" !important; flex: 1 !important; max-width: 120px !important; height: 2px !important; background: linear-gradient(to left, #b81c22 0%, #d9b48f 70%, rgba(217,180,143,0) 100%) !important; }
.title::after { content: "" !important; flex: 1 !important; max-width: 120px !important; height: 2px !important; background: linear-gradient(to right, #b81c22 0%, #d9b48f 70%, rgba(217,180,143,0) 100%) !important; }

/* 元件 B：【全站內文段落 (p) 硃砂立體與黑檀木排版優化】 */
.m-box p, .premium-intro-container p {
  font-size: 16px !important;
  line-height: 1.9 !important;
  color: #3a3232 !important;
  text-align: justify !important;
  letter-spacing: 0.8px !important;
}
.m-box p a, .premium-intro-container p a { 
  color: #b81c22 !important;
  font-weight: bold !important;
  text-decoration: underline !important;
  transition: all 0.2s ease-in-out !important;
}
.m-box p a:hover, .premium-intro-container p a:hover {
  color: #fdb933 !important;
  text-decoration: underline !important;
}

/* 硃砂印泥立體微浮雕星號 Icon 控制 */
.m-box i.fa-star {
  font-size: 16px !important;
  color: #b81c22 !important;
  margin-right: 8px !important;
  text-shadow: 1px 1px 1px rgba(96, 17, 17, 0.8), 0 0 2px rgba(253, 246, 54, 0.3) !important;
  transition: all 0.3s ease-in-out !important;
}
.m-box i.fa-star:hover {
  color: #fdb933 !important;
  text-shadow: 0 0 8px rgba(253, 246, 54, 0.8) !important;
  transform: scale(1.1) translateY(-1px);
}

/* 精密文案 SEO 導流粗體襯底控制 */
.m-box p strong.red-color, .m-box p b.red-color, .premium-intro-container p strong.red-color, .premium-intro-container p b.red-color {
  font-size: 16.5px !important;
  background-color: rgba(253, 246, 54, 0.15) !important;
  padding: 1px 5px !important;
  border-radius: 4px !important;
  letter-spacing: 0.5px !important;
  display: inline-block !important;
  line-height: 1.4 !important;
}

/* 主內文區塊桌機大尺寸控制穩定結構 */
#main-seal-intro-title { margin-bottom: 25px !important; }
.premium-intro-container { width: 900px; margin: 0 auto !important; padding: 20px 10px !important; background-color: #ffffff !important; box-sizing: border-box !important; }
.highlight-card { background-color: #fdfaf2 !important; border-left: 4px solid #b81c22 !important; padding: 20px 25px !important; border-radius: 0 6px 6px 0; margin: 30px 0 !important; }
.highlight-card p { margin: 0 !important; font-weight: 600 !important; }
.intro-media-wrap { margin: 25px 0 !important; text-align: center; }
.img-premium-radius { border-radius: 8px !important; box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important; }
.intro-video-container { width: 100%; margin: 35px 0 !important; background-color: #151212; border-radius: 8px; padding: 15px; box-sizing: border-box; box-shadow: 0 10px 25px rgba(0,0,0,0.15); }
.video-iframe-wrap { width: 100%; border-radius: 4px; overflow: hidden; }
.video-title-premium { color: #ffffff !important; font-size: 18px !important; font-weight: bold !important; text-align: center !important; margin: 15px 0 5px 0 !important; letter-spacing: 1px; }
.footer-store-text { font-size: 15px !important; line-height: 1.7 !important; color: #555555 !important; margin-top: 25px !important; }
.premium-hr { border: 0 !important; height: 1px !important; background: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(184,28,34,0.2) 50%, rgba(0,0,0,0) 100%) !important; margin: 30px 0 !important; }

/* 元件 C：官方新貨上架 社群區塊 */
.premium-social-box {
  width: 900px !important;
  max-width: 900px !important;
  min-width: 900px !important;
  margin: 10px auto 30px !important;
  float: none !important;
  clear: both !important;
  background: radial-gradient(circle at 50% 30%, #1f1a1a 0%, #0d0a0a 60%, #080606 100%) !important;
  border: 1px solid #3a2e2e !important; 
  border-top: 5px solid #b81c22 !important; 
  border-radius: 12px !important;
  padding: 40px 35px !important; 
  font-family: "Helvetica Neue", "Microsoft JhengHei", sans-serif !important;
  box-shadow: 10px 10px 45px rgba(0, 0, 0, 0.2) !important; 
  box-sizing: border-box !important;
  overflow: hidden !important;
}
.premium-social-box .main-title { color: #fdb933 !important; font-size: 26px !important; font-weight: 800 !important; text-align: center !important; margin-bottom: 8px !important; letter-spacing: 2px !important; text-shadow: 0px 2px 4px rgba(0,0,0,0.5) !important; }
.premium-social-box .sub-title { color: #8c8282 !important; font-size: 14px !important; text-align: center !important; margin-bottom: 35px !important; letter-spacing: 0.5px !important; }
.premium-card-stack { display: flex !important; flex-direction: column !important; gap: 20px !important; }
.premium-card { background: rgba(255, 255, 255, 0.03) !important; border: 1px solid rgba(255, 255, 255, 0.05) !important; border-left: 4px solid #fdb933 !important; border-radius: 6px !important; padding: 22px 25px !important; box-sizing: border-box !important; display: flex !important; gap: 15px !important; }
.premium-card .card-icon { font-size: 22px !important; color: #fdb933 !important; padding-top: 2px !important; width: 25px !important; text-align: center !important; }
.premium-card .card-info { flex: 1 !important; }
.premium-card h4 { color: #ffffff !important; font-size: 17px !important; font-weight: bold !important; margin: 0 0 10px 0 !important; letter-spacing: 0.5px !important; }
.premium-card p { color: #bfaeae !important; font-size: 14px !important; line-height: 1.7 !important; margin: 0 !important; text-align: justify !important; }
.premium-card .highlight-text { color: #fdb933 !important; font-weight: bold !important; }

/* 四顆大按鈕桌機平行排版 */
.premium-btn-group { display: flex !important; justify-content: space-between !important; gap: 15px !important; margin-top: 35px !important; }
.premium-btn { flex: 1 !important; display: flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important; background: rgba(255, 255, 255, 0.05) !important; color: #ffffff !important; text-decoration: none !important; font-size: 14px !important; font-weight: bold !important; padding: 14px 0 !important; border-radius: 6px !important; border: 1px solid rgba(255, 255, 255, 0.15) !important; box-sizing: border-box !important; transition: all 0.3s ease-in-out !important; }
.premium-btn i { font-size: 16px !important; width: 20px !important; text-align: center !important; display: inline-block !important; transition: color 0.3s ease-in-out !important; }
.premium-btn-fb i { color: #1877f2 !important; } .premium-btn-ig i { color: #fdb933 !important; } .premium-btn-threads i { color: #ffffff !important; } .premium-btn-line i { color: #06c755 !important; }

.premium-btn-fb:hover { background: #1877f2 !important; border-color: #1877f2 !important; box-shadow: 0 0 18px rgba(24, 119, 242, 0.6) !important; transform: translateY(-3px) !important; color: #ffffff !important; }
.premium-btn-fb:hover i { color: #ffffff !important; }
.premium-btn-ig:hover { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important; border-color: #e6683c !important; box-shadow: 0 0 18px rgba(230, 104, 60, 0.6) !important; transform: translateY(-3px) !important; color: #ffffff !important; }
.premium-btn-ig:hover i { color: #ffffff !important; }
.premium-btn-threads:hover { background: #ffffff !important; border-color: #ffffff !important; box-shadow: 0 0 18px rgba(255, 255, 255, 0.6) !important; transform: translateY(-3px) !important; color: #000000 !important; }
.premium-btn-threads:hover i { color: #000000 !important; }
.premium-btn-line:hover { background: #06c755 !important; border-color: #06c755 !important; box-shadow: 0 0 18px rgba(6, 199, 85, 0.6) !important; transform: translateY(-3px) !important; color: #ffffff !important; }
.premium-btn-line:hover i { color: #ffffff !important; }

/* 元件 D：【宮廷輕奢金邊目錄四欄矩陣 (.premium-menu - 固定 900px 桌機寬)】 */
.premium-menu-box { padding: 30px 20px !important; background: transparent !important; border: none !important; width: 900px; margin: 0 auto; box-sizing: border-box; }
.premium-menu-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; width: 100%; box-sizing: border-box; }
.premium-menu-btn { display: flex !important; align-items: center; justify-content: flex-start; padding: 14px 18px !important; background: linear-gradient(180deg, #ffffff 0%, #f9f6f0 100%) !important; border: 1px solid #d9b48f !important; border-radius: 6px !important; color: #4a3c31 !important; font-size: 15px !important; font-weight: bold !important; text-decoration: none !important; letter-spacing: 0.5px; box-sizing: border-box; box-shadow: 0 3px 6px rgba(146, 90, 37, 0.1); transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important; }
.premium-menu-btn i { font-size: 16px; color: #b81c22; width: 24px; text-align: center; transition: color 0.3s ease; }
.premium-menu-btn:hover { background: #b81c22 !important; color: #ffffff !important; border-color: #b81c22 !important; transform: translateY(-3px); box-shadow: 0 6px 15px rgba(184, 28, 34, 0.3); text-decoration: none !important; }
.premium-menu-btn:hover i { color: #fdf636 !important; }


/* 2. 終極全自動斷行、圖片限寬防爆補強控制 */
.m-box p, .premium-intro-container p {
  font-size: 16px !important;
  line-height: 1.9 !important;
  color: #3a3232 !important;
  text-align: justify !important;
  letter-spacing: 0.8px !important;
  margin: 0 0 20px 0 !important;
  padding: 0 15px !important; /* 封鎖舊 paddings 干擾 */
  box-sizing: border-box !important;
  word-wrap: break-word !important;
  word-break: break-all !important;
  white-space: normal !important;
}

/* 核心修正：洗除全站粗體強記字 (b, strong) 誤加的黃底 */
.m-box p b, .m-box p strong, .m-box p b.red-color, .m-box p strong.red-color, .premium-intro-container p b.red-color {
  background-color: transparent !important;
  background: transparent !important;
  color: #ff0000 !important;
  font-weight: bold !important;
  font-size: 16px !important;
  display: inline !important; /* 強制流式布局換行 */
  padding: 0 !important;
  margin: 0 !important;
}

/* 全自動圖片桌機寬度防護牆 */
.m-box img, .m-box a img {
  max-width: 900px !important;
  width: 100% !important;
  height: auto !important;
  display: block !important;
  clear: both !important;
  float: none !important;
  margin: 15px auto !important;
  box-sizing: border-box !important;
}

/* 傳統舊式清單防重疊跑位 */
.m-box ul.ul-100 {
  position: relative !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: 900px !important;
  display: block !important;
  margin: 20px 0 !important;
  padding: 0 15px !important;
  box-sizing: border-box !important;
}
.m-box ul.ul-100 li {
  position: relative !important;
  float: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 10px 15px !important;
  border-bottom: 1px dashed #e1c08e !important;
  background: transparent !important;
}
.m-box ul.ul-100 li a { color: #4a3c31 !important; font-weight: bold !important; text-decoration: none !important; display: inline-block !important; width: 100% !important; }
.m-box ul.ul-100 li:hover { background-color: #fff9e6 !important; }
.m-box ul.ul-100 li a:hover { color: #b81c22 !important; }