/* 康科特官網樣式：依 concordmed.com.tw 原版型（cssIndex.css）重建。
   所有樣式集中於本檔，頁面不使用 inline style，符合 CSP style-src 'self'。 */

/* ---------- 基礎 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Microsoft JhengHei", "微軟正黑體", "PingFang TC", "Noto Sans TC", PMingLiU, "新細明體", sans-serif;
  font-size: 12px; line-height: 20px; color: #333; background: #fff;
}
img { border: 0; max-width: 100%; height: auto; }
a:link, a:visited { font-size: 12px; line-height: 26px; color: #333; text-decoration: none; }
a:hover { color: #4e306c; letter-spacing: 1px; }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid #6a3590; outline-offset: 2px;
}
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: #6a3590; color: #fff !important; padding: 8px 16px; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- 字型類別（沿用原站命名） ---------- */
.p16text, .p16text p { font-size: 15px; line-height: 28px; color: #000; letter-spacing: 1px; }
.p16text2a { font-size: 14px; line-height: 20px; color: #6a3590; letter-spacing: 1px; }
.p16text2b { font-family: Verdana, Geneva, sans-serif; font-size: 11px; line-height: 20px; color: #6a3590; letter-spacing: 0; }
.p12text2 { font-family: Verdana, Geneva, sans-serif; font-size: 11px; line-height: 25px; color: #000; letter-spacing: 0; }
.p14like { font-size: 11px; line-height: 20px; color: #6a3590; letter-spacing: 0; }
.p14grayTextAbout { font-size: 14px; line-height: 22px; color: #000; }
a.link:link, a.link:visited, .link { font-size: 12px; line-height: 18px; color: #333; padding: 4px; }
a.link:hover, .link-button:hover { color: #fff; background: #4e306c; letter-spacing: 0; }
a.link2:link, a.link2:visited { font-family: Verdana, Geneva, "Microsoft JhengHei", sans-serif; font-size: 12px; line-height: 18px; color: #000; padding: 4px; }
a.link2:hover { color: #333; letter-spacing: 0; }
a.link3:link, a.link3:visited { font-size: 11px; line-height: 18px; color: #000; padding: 4px; letter-spacing: 0; }
a.link3:hover { color: #4e306c; letter-spacing: 0; }
.link-button { border: 0; background: none; cursor: pointer; font-family: inherit; }

/* ---------- 頁首 ---------- */
.top { border-bottom: 5px solid #6cc197; }
.topMain { width: 980px; height: 100px; margin: 0 auto; position: relative; }
.logo { position: absolute; left: 0; top: 18px; line-height: 0; }
.logo img { display: block; width: 231px; height: 64px; }
.botton_language {
  position: absolute; right: 0; top: 0; padding: 3px;
  font-family: Arial, Helvetica, sans-serif; font-size: 11px; line-height: 18px; color: #333;
}
.botton_language a.link2:link, .botton_language a.link2:visited { font-size: 11px; }

/* 主選單：圖片標籤（一般／滑過與目前單元），下拉子選單沿用原站配色 */
.imenus { position: absolute; left: 240px; top: 67px; z-index: 50; }
.imenus-main { display: flex; }
.imenus-main > li { position: relative; }
.m-tab { display: block; height: 37px; background-repeat: no-repeat; background-position: left top; }
.m-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.m-about .m-tab { width: 108px; background-image: url(../theme/menu/about.jpg); }
.m-news .m-tab { width: 103px; background-image: url(../theme/menu/news.jpg); }
.m-service .m-tab { width: 103px; background-image: url(../theme/menu/service.jpg); }
.m-partner .m-tab { width: 103px; background-image: url(../theme/menu/partner.jpg); }
.m-investor .m-tab { width: 122px; background-image: url(../theme/menu/investor.jpg); }
.m-contact .m-tab { width: 103px; background-image: url(../theme/menu/contact.jpg); }
.m-about:hover .m-tab, .m-about:focus-within .m-tab, .m-about.is-current .m-tab { background-image: url(../theme/menu/about-on.jpg); }
.m-news:hover .m-tab, .m-news:focus-within .m-tab, .m-news.is-current .m-tab { background-image: url(../theme/menu/news-on.jpg); }
.m-service:hover .m-tab, .m-service:focus-within .m-tab, .m-service.is-current .m-tab { background-image: url(../theme/menu/service-on.jpg); }
.m-partner:hover .m-tab, .m-partner:focus-within .m-tab, .m-partner.is-current .m-tab { background-image: url(../theme/menu/partner-on.jpg); }
.m-investor:hover .m-tab, .m-investor:focus-within .m-tab, .m-investor.is-current .m-tab { background-image: url(../theme/menu/investor-on.jpg); }
.m-contact:hover .m-tab, .m-contact:focus-within .m-tab, .m-contact.is-current .m-tab { background-image: url(../theme/menu/contact-on.jpg); }
/* 預載滑過圖，避免第一次滑過閃白 */
.imenus::after {
  content: ""; position: absolute; width: 0; height: 0; overflow: hidden;
  background-image: url(../theme/menu/about-on.jpg), url(../theme/menu/news-on.jpg), url(../theme/menu/service-on.jpg),
    url(../theme/menu/partner-on.jpg), url(../theme/menu/investor-on.jpg), url(../theme/menu/contact-on.jpg);
}
.imenus-sub {
  position: absolute; left: 0; top: 37px; margin: 2px; min-width: calc(100% - 4px);
  background: #6cc197; visibility: hidden; opacity: 0; transition: opacity .12s;
  z-index: 60; white-space: nowrap;
}
.imenus-main > li:hover > .imenus-sub,
.imenus-main > li:focus-within > .imenus-sub { visibility: visible; opacity: 1; }
.imenus-sub a:link, .imenus-sub a:visited {
  display: block; padding: 2px 5px; text-align: center;
  font-size: 14px; line-height: 24px; color: #fff; letter-spacing: 0;
}
.imenus-sub a:hover, .imenus-sub a:focus, .imenus-sub a.iactive { color: #6b3990; background: #91d0b0; }
.nav-toggle { display: none; }

/* ---------- 單元橫幅 ---------- */
.mainImageAbout {
  height: 171px; border-top: 3px solid #fff;
  background-repeat: no-repeat; background-position: center; background-color: #e9f5ef;
}
.banner-about { background-image: url(../theme/banner/about.jpg); }
.banner-news { background-image: url(../theme/banner/news.jpg); }
.banner-service { background-image: url(../theme/banner/service.jpg); }
.banner-partner { background-image: url(../theme/banner/partner.jpg); }
.banner-investor { background-image: url(../theme/banner/investor.jpg); }
.banner-contact { background-image: url(../theme/banner/contact.jpg); }

/* ---------- 內頁版面：左側選單 182px＋內容 733px ---------- */
.bottomMain { background: url(../theme/ui/bg-band.jpg) repeat-x top; margin-top: 2px; }
.bottom_main { width: 980px; margin: 0 auto; padding: 20px 0 10px; }
.page-layout { display: grid; grid-template-columns: 182px 733px; column-gap: 6px; align-items: start; min-height: 420px; }
.p34title { font-family: "Trebuchet MS", Arial, sans-serif; font-size: 34px; line-height: 32px; color: #98ddbb; }
.p16title { font-size: 16px; line-height: 20px; color: #6a3590; font-weight: bold; padding-bottom: 5px; }
.left-nav li + li { background: url(../theme/ui/left-sep.jpg) no-repeat left top; padding-top: 5px; }
.left-nav a:link, .left-nav a:visited {
  display: block; font-size: 15px; line-height: 28px; font-weight: bold; letter-spacing: 1px;
  text-indent: 32px; background-repeat: no-repeat; background-position: 12px center;
}
.left-nav a.button_Left2 { color: #333; background-color: #fff; background-image: url(../theme/ui/bullet-off.gif); }
.left-nav a.button_Left2:hover, .left-nav a.button_Left2:focus,
.left-nav a.button_Left2a { color: #fff; background-color: #6cc197; background-image: url(../theme/ui/bullet.gif); }

.page-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 45px; padding: 2px 2px 2px 22px;
  background: url(../theme/ui/title-bar.gif) no-repeat 2px center;
  border-bottom: 1px solid #e3e3e3;
}
.p24title { font-size: 24px; line-height: 24px; color: #6a3590; font-weight: 400; padding-top: 3px; }
.crumb { flex: none; padding-left: 8px; background: url(../theme/ui/crumb.gif) no-repeat left center; font-size: 11px; color: #000; }
.content-body { padding: 26px 30px 20px 18px; min-height: 300px; }
.content-body h2 { font-size: 16px; line-height: 30px; color: #3b9c6c; font-weight: bold; letter-spacing: 1px; margin: 18px 0 6px; }
.content-body h2:first-child { margin-top: 0; }
.content-body h3 { font-size: 15px; line-height: 26px; color: #6a3590; font-weight: bold; margin: 14px 0 4px; }
.content-body p { margin: 0 0 10px; }
.content-body a:link, .content-body a:visited { font-size: inherit; line-height: inherit; color: #6a3590; }
.content-body a:hover { color: #000; letter-spacing: 0; }
.prose img { max-width: 100%; height: auto; }
/* 舊站內容格式（匯入時由 align／font／style 轉換而來） */
.content-body .prose h2 { font-size: 16px; line-height: 28px; color: #000; margin: 16px 0 8px; }
.content-body .prose h3 { font-size: 15px; line-height: 26px; color: #000; }
.ta-center { text-align: center; }
.ta-right { text-align: right; }
.ta-justify { text-align: justify; }
.prose .c-purple, .content-body .prose h2.c-purple, .content-body .prose h2 .c-purple { color: #492582; }
.prose .c-green { color: #3b9c6c; }
.prose .c-red { color: #d40000; }
.prose .c-orange { color: #e07000; }
.prose .c-blue { color: #1f5fa8; }
.prose .c-gray { color: #666; }
.prose .fw-bold { font-weight: bold; }
.prose .fs-sm { font-size: 12px; line-height: 20px; }
.prose .fs-lg { font-size: 18px; line-height: 30px; }
.prose .fs-xl { font-size: 24px; line-height: 36px; }
.prose table { border-collapse: collapse; max-width: 100%; }
.prose td, .prose th { padding: 4px 6px; vertical-align: top; }
.prose ul { list-style: disc; padding-left: 1.5em; margin-bottom: 10px; }
.prose ol { list-style: decimal; padding-left: 1.5em; margin-bottom: 10px; }
.note { font-size: 12px; color: #666; margin-top: 10px; }

/* 回頁首（同原站 top 圖示） */
.gotop { position: fixed; right: 18px; bottom: 24px; z-index: 40; line-height: 0; opacity: 0; visibility: hidden; transition: opacity .2s; }
.gotop.is-visible { opacity: 1; visibility: visible; }
.gotop img { display: block; }

/* ---------- 列表（新聞發佈、醫學新知） ---------- */
.list-table { width: 680px; max-width: 100%; border-collapse: separate; border-spacing: 0; }
.p16_bg { padding: 4px; font-size: 15px; line-height: 24px; color: #000; font-weight: normal; text-align: center; background: #d9d9d9; border: 1px solid #fff; }
.list-table .date-col { width: 120px; text-align: center; }
.list-table tbody td { border-bottom: 1px dotted #ccc; padding: 5px 4px; vertical-align: middle; }
.list-table tbody td:first-child { padding-left: 25px; background: url(../theme/ui/bullet.gif) no-repeat 8px center; }
.list-table tbody tr:hover td { background-color: #f7f7f7; }
.content-body a.title:link, .content-body a.title:visited { font-size: 14px; line-height: 22px; color: #000; }
.content-body a.title:hover { color: #6a3590; font-weight: bold; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 16px 0 0; font-family: Verdana, sans-serif; font-size: 11px; }
.pagination a:link, .pagination a:visited, .pagination span { font-size: 11px; line-height: 20px; color: #999; padding: 0 2px; }
.pagination a:hover, .pagination [aria-current] { color: #6a3590; font-weight: bold; }
.pagination .pg-arrow { display: inline-block; width: 18px; height: 18px; border-radius: 50%; background: #ddd; position: relative; padding: 0; }
.pagination .pg-arrow::after { content: ""; position: absolute; top: 5px; border: 4px solid transparent; }
.pagination .pg-prev::after { left: 3px; border-right-color: #666; }
.pagination .pg-next::after { left: 7px; border-left-color: #666; }
.pagination .is-disabled { opacity: .45; }

/* 文章內頁 */
.article-title { font-size: 18px !important; line-height: 28px !important; color: #6a3590 !important; margin: 0 0 4px !important; }
.article-meta { margin-bottom: 16px; padding-bottom: 6px; border-bottom: 1px dotted #ccc; }
.back-link { margin-top: 24px; text-align: right; }

/* 公司發展 */
.history-list { width: 670px; max-width: 100%; }
.history-list li { display: grid; grid-template-columns: 80px 1fr; align-items: center; border-bottom: 1px dotted #ccc; padding: 5px 0; }
.history-list li:hover { background: #f7f7f7; }
.history-list .p16text2b { text-align: center; }

/* 影片：直接嵌入（YouTube 隱私加強模式／Google 雲端硬碟） */
.video-item { margin-bottom: 34px; }
.content-body .video-title {
  font-size: 18px; line-height: 26px; color: #3b9c6c; font-weight: bold; letter-spacing: 1px;
  padding-left: 22px; background: url(../theme/ui/field.jpg) no-repeat -4px 0; background-size: 24px 23px; margin: 0 0 10px;
}
.video-desc { margin-bottom: 10px; }
.video-frame { width: 620px; max-width: 100%; aspect-ratio: 620 / 415; background: #000; }
.video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- 投資人專區 ---------- */
.year-picker { font-size: 15px; letter-spacing: 1px; margin-bottom: 4px; }
.year-picker select { font-family: inherit; padding: 1px 2px; border: 1px solid #aaa; }
.table-title { display: flex; align-items: flex-end; justify-content: space-between; width: 680px; max-width: 100%; min-height: 50px; padding-left: 26px; background: url(../theme/ui/field.jpg) no-repeat left 14px; }
.content-body .p16titleInvestor { font-size: 16px; line-height: 30px; color: #3b9c6c; font-weight: bold; letter-spacing: 1px; margin: 0; }
.revenue-table { width: 680px; max-width: 100%; border-collapse: separate; border-spacing: 1px; text-align: center; }
.p16_bg3 { padding: 2px; font-size: 15px; line-height: 22px; color: #000; font-weight: normal; background: #d9d9d9; }
.revenue-table tbody th, .revenue-table tbody td { font-size: 14px; line-height: 20px; font-weight: normal; color: #000; padding: 5px 2px; border-bottom: 1px dotted #ccc; }
.revenue-table tbody td { font-size: 13px; }
.revenue-table tbody tr:hover th, .revenue-table tbody tr:hover td { background: #f7f7f7; }
.revenue-table tfoot th, .revenue-table tfoot td { background: #d9d9d9; font-size: 14px; font-weight: normal; padding: 5px 2px; }

.table-wrap { overflow-x: auto; }
.data-table { width: 100%; max-width: 680px; border-collapse: separate; border-spacing: 1px; }
.data-table th, .data-table td { padding: 5px 6px; font-size: 14px; line-height: 20px; border-bottom: 1px dotted #ccc; text-align: left; vertical-align: top; }
.data-table thead th { background: #d9d9d9; font-weight: normal; text-align: center; border-bottom: 0; font-size: 15px; }
.data-table tbody th { font-weight: normal; }
.data-table tr:hover td { background: #f7f7f7; }
.data-table .center { text-align: center; }
.data-table .num { text-align: right; }
.data-table caption { caption-side: top; text-align: right; font-size: 11px; color: #000; }
.contact-table th { width: 110px; color: #3b9c6c; font-weight: bold; }
.file-link:link, .file-link:visited { display: inline-block; padding: 0 8px !important; border: 1px solid #6cc197; border-radius: 2px; color: #3b9c6c !important; font-size: 12px !important; line-height: 20px !important; }
.file-link:hover { background: #6cc197; color: #fff !important; }

/* ---------- 聯絡我們（原站表單樣式） ---------- */
.contact-layout { display: block; }
.contact-info dl { display: grid; grid-template-columns: 70px 1fr; gap: 2px 8px; margin: 0 0 20px; font-size: 14px; }
.contact-info dt { color: #3b9c6c; font-weight: bold; }
.contact-info dd { margin: 0; }
.contact-form form { width: 682px; max-width: 100%; }
.form-row { display: grid; grid-template-columns: 106px 1fr; align-items: start; border-bottom: 1px dotted #ccc; padding: 5px 0; }
.form-row:hover { background: #f7f7f7; }
.form-row > label { font-size: 14px; line-height: 25px; color: #000; padding-left: 31px; background: url(../theme/ui/field.jpg) no-repeat left top; letter-spacing: 0; }
.form-row input, .form-row textarea {
  font-family: inherit; font-size: 14px; line-height: 20px; color: #333; border: 1px solid #ccc; padding: 2px 4px; width: 100%; max-width: 340px;
}
.form-row textarea { max-width: 100%; min-height: 110px; }
.form-row .field-error { grid-column: 2; }
.form-check { grid-template-columns: auto 1fr; gap: 6px; align-items: center; }
.form-check > label { background: none; padding-left: 0; }
.form-check input { width: auto; }
.req { color: #c00; margin-left: 2px; }
.field-error { color: #c00; font-size: 13px; margin: 2px 0 0; }
.has-error input, .has-error textarea { border-color: #c00; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.privacy-notice { margin: 12px 0; font-size: 13px; line-height: 22px; color: #333; border: 1px solid #e3e3e3; padding: 8px 12px; background: #fafafa; }
.privacy-notice summary { cursor: pointer; color: #3b9c6c; font-weight: bold; }
.privacy-notice p { font-size: 13px !important; line-height: 22px !important; margin: 6px 0 0; }
.alert { padding: 8px 12px; margin-bottom: 14px; border: 1px solid; font-size: 14px; }
.alert-error { border-color: #e5a3a3; background: #fdf0f0; color: #8a1f1f; }
.alert-success { border-color: #9fd6b9; background: #eef8f2; color: #1f5e3c; }

/* 按鈕 */
.btn, a.btn:link, a.btn:visited {
  display: inline-block; padding: 4px 18px; margin: 6px 0; border: 1px solid #6cc197; background: #6cc197;
  color: #fff; font-size: 15px; line-height: 24px; cursor: pointer; letter-spacing: 1px;
}
.btn:hover, a.btn:hover { background: #91d0b0; color: #6b3990; border-color: #91d0b0; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-outline, a.btn-outline:link, a.btn-outline:visited { background: #fff; color: #3b9c6c; }
.error-code { font-family: "Trebuchet MS", Arial, sans-serif; font-size: 48px; line-height: 56px; color: #98ddbb; }

/* ---------- 頁尾 ---------- */
.bottom2 { background: #f3f3f3; min-height: 60px; margin-top: 15px; padding-bottom: 8px; }
.botton_main2 {
  width: 980px; margin: 0 auto; padding-top: 12px; text-align: center;
  font-family: Verdana, Geneva, "Microsoft JhengHei", sans-serif; font-size: 12px; line-height: 20px; color: #666; letter-spacing: 1px;
}
.botton_main3 {
  width: 980px; margin: 0 auto; padding-top: 5px; text-align: center;
  font-family: Verdana, Geneva, "Microsoft JhengHei", sans-serif; font-size: 11px; line-height: 20px; color: #333;
}

/* ---------- 首頁 ---------- */
.mainImage { border-top: 3px solid #fff; }
.main_promo { position: relative; height: 349px; overflow: hidden; background: #e9f5ef; }
.main_promo .photo { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s, visibility .8s; }
.main_promo .photo.is-active { opacity: 1; visibility: visible; }
.main_promo .photo a, .main_promo .photo span { display: block; height: 100%; }
.main_promo .photo img { position: absolute; left: 50%; top: 0; width: 1600px; max-width: none; height: auto; transform: translateX(-50%); }
.bottom { background: url(../theme/ui/bg-band.jpg) repeat-x top; margin-top: 2px; }
.home-grid { display: grid; grid-template-columns: 348px 399px 200px; column-gap: 16px; align-items: start; min-height: 255px; }
.home-grid > .home-video { margin-left: 1px; }
.img-title { line-height: 0; }
.img-title img { display: block; }
.home-list { padding-top: 3px; background: url(../theme/home/sep.jpg) no-repeat left top; width: 347px; }
.home-list li {
  display: grid; grid-template-columns: 10px 1fr 65px; align-items: center;
  padding-bottom: 3px; background: url(../theme/home/sep.jpg) no-repeat left bottom;
  font-family: Verdana, Geneva, sans-serif; font-size: 11px; line-height: 25px; color: #000;
}
.home-list a:link, .home-list a:visited { font-size: 12px; line-height: 25px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-list a:hover { letter-spacing: 0; }
.home-list time { text-align: right; }
.home-block-2 { padding-top: 6px; }
.product-slider { position: relative; display: grid; grid-template-columns: 32px 338px 30px; height: 111px; margin-top: 0; }
.product-slider .sliderContent { position: relative; width: 337px; height: 111px; overflow: hidden; background: #fff; }
.product-slider .item { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.product-slider .item.is-active { opacity: 1; visibility: visible; }
.product-slider .item img { display: block; width: 337px; height: 111px; max-width: none; }
.product-slider .arrow { border: 0; padding: 0; cursor: pointer; height: 111px; background-repeat: no-repeat; background-color: transparent; }
.product-slider .arrow-prev { width: 32px; background-image: url(../theme/home/arrow-prev.jpg); }
.product-slider .arrow-next { width: 30px; background-image: url(../theme/home/arrow-next.jpg); }
.sliderBullets { position: absolute; top: -19px; right: 34px; display: flex; gap: 1px; }
.sliderBullets button { width: 11px; height: 10px; border: 0; padding: 0; cursor: pointer; background: url(../theme/ui/dots.jpg) no-repeat 0 0; }
.sliderBullets button[aria-current="true"] { background-position: 0 -10px; }
.quick-buttons { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.qbtn { display: block; width: 173px; height: 58px; background-repeat: no-repeat; }
.qbtn-management { background-image: url(../theme/home/btn-management.jpg); }
.qbtn-management:hover, .qbtn-management:focus { background-image: url(../theme/home/btn-management-on.jpg); }
.qbtn-procurement { background-image: url(../theme/home/btn-procurement.jpg); }
.qbtn-procurement:hover, .qbtn-procurement:focus { background-image: url(../theme/home/btn-procurement-on.jpg); }
.home-video .video-thumb { display: block; margin-top: 8px; line-height: 0; }
.home-video .video-thumb img { width: 188px; height: auto; }
.home-video .more { text-align: right; padding-right: 12px; }

/* ---------- Cookie 說明 ---------- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  background: rgba(60, 40, 80, .96); color: #fff; box-shadow: 0 -2px 10px rgba(0, 0, 0, .25);
}
.cookie-inner { max-width: 980px; margin: 0 auto; padding: 14px 16px; display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; align-items: center; }
.cookie-inner h2 { grid-column: 1 / -1; font-size: 15px; line-height: 22px; font-weight: bold; color: #fff; }
.cookie-inner p { font-size: 13px; line-height: 21px; color: #fff; }
.cookie-inner a:link, .cookie-inner a:visited { color: #c8f0dc; text-decoration: underline; font-size: 13px; line-height: 21px; }
.cookie-actions { display: flex; gap: 8px; }
.cookie-actions .btn { margin: 0; font-size: 14px; }
.cookie-banner a.btn-outline:link, .cookie-banner a.btn-outline:visited { text-decoration: none; color: #3b9c6c; }

/* ---------- 小螢幕：保留原站配色與元件，改為單欄 ---------- */
@media (max-width: 999px) {
  .topMain, .bottom_main, .botton_main2, .botton_main3 { width: auto; }
  .topMain { height: auto; min-height: 82px; padding: 0 12px; }
  .logo { position: static; display: inline-block; margin-top: 10px; }
  .botton_language { right: 56px; }
  .nav-toggle {
    display: block; position: absolute; right: 10px; top: 22px; width: 40px; height: 36px;
    border: 1px solid #6cc197; background: #fff; cursor: pointer;
  }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
    display: block; width: 20px; height: 2px; background: #6a3590; margin: 0 auto; position: relative;
  }
  .nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bar::before { top: -6px; }
  .nav-toggle-bar::after { top: 6px; }
  .imenus { position: static; display: none; padding-bottom: 8px; }
  .imenus.is-open { display: block; }
  .imenus-main { flex-direction: column; }
  .m-tab { width: auto !important; height: auto; background: none !important; padding: 8px 4px; border-top: 1px solid #e3e3e3; }
  .m-label { position: static; width: auto; height: auto; clip: auto; font-size: 15px; color: #6a3590; }
  .is-current .m-label { color: #3b9c6c; font-weight: bold; }
  .imenus-sub { position: static; visibility: visible; opacity: 1; margin: 0 0 4px; white-space: normal; }
  .imenus-sub a:link, .imenus-sub a:visited { text-align: left; padding-left: 16px; }
  .mainImageAbout { height: 110px; background-size: auto 110px; }
  .bottom_main { padding: 14px 12px; }
  .page-layout { grid-template-columns: 1fr; row-gap: 14px; min-height: 0; }
  .left-nav { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 2px 6px; }
  .left-nav li + li { background: none; padding-top: 0; }
  .page-head { flex-wrap: wrap; }
  .content-body { padding: 18px 4px; }
  .main_promo { height: 180px; }
  .main_promo .photo img { width: auto; height: 190px; }
  .home-grid { grid-template-columns: 1fr; row-gap: 18px; justify-items: center; }
  .home-list { width: 100%; max-width: 347px; }
  .cookie-inner { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .main_promo .photo, .product-slider .item, .imenus-sub, .gotop { transition: none; }
}
@media print {
  .top .imenus, .nav-toggle, .cookie-banner, .gotop, .left-col, .mainImageAbout { display: none !important; }
  .page-layout { display: block; }
}
