/* Standalone .html polish — safe-only 2026-09-20c
   Intentionally does NOT touch .banner, .productlist, .bigpics, or float grids.
   Previous rules broke image/text alignment inside product cards. */

body.standalone-page {
  font-family: "Microsoft JhengHei", "微軟正黑體", "PingFang TC", "Noto Sans TC", PMingLiU, sans-serif !important;
  font-size: 14px;
  line-height: 1.55;
  color: #2b2b2b;
  background-color: #f7f0e4 !important;
}

body.standalone-page .header .menu {
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.12);
}
body.standalone-page .header .menu li a {
  font-size: 14px !important;
}
body.standalone-page .header .menu li a:hover {
  color: #fff5d6 !important;
}

body.standalone-page .content {
  background-color: #ffe2a3 !important;
}

/* Intro copy only — single block, not a float grid */
body.standalone-page .intro {
  background: #fffaf0;
  border: 1px solid #c9892a;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 10px auto 14px;
  box-shadow: 0 4px 14px rgba(90,60,0,.08);
  box-sizing: border-box;
}
body.standalone-page .intro p {
  font-size: 15px !important;
  line-height: 1.75 !important;
}

body.standalone-page .enquiry,
body.standalone-page .footer {
  background-color: #fff0b8 !important;
}
body.standalone-page .footer {
  padding: 12px 0 !important;
  font-size: 13px;
}

body.standalone-page table[width="960"] {
  margin-left: auto;
  margin-right: auto;
}
body.standalone-page table[bgcolor="#FFCC66"],
body.standalone-page table[bgcolor="#ffcc66"] {
  background-color: #ffe2a3 !important;
}

/* select article page */
body.standalone-page .container h1 {
  color: #6b4508;
  font-size: 22px;
  letter-spacing: 0.04em;
  margin: 12px 0;
}
body.standalone-page .container h2 {
  color: #8a5a00;
  font-size: 18px;
}
body.standalone-page .container > ul {
  background: #fffaf0;
  border: 1px solid #e0b45a;
  border-radius: 8px;
  padding: 10px 14px 10px 28px;
  margin: 0 0 14px;
}
body.standalone-page .container > p {
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 12px;
}
body.standalone-page .container > p strong {
  color: #8a5a00;
  display: inline-block;
  margin-top: 6px;
}

/* Visible headings/links moved out of .banner */
body.standalone-page .standalone-h {
  color: #6b4508 !important;
  font-size: 17px !important;
  letter-spacing: 0.06em;
  margin: 14px 0 8px !important;
  padding-bottom: 6px;
  border-bottom: 1px solid #e0b45a;
}
body.standalone-page .standalone-links {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
body.standalone-page .standalone-links li {
  margin: 0;
  padding: 0;
  width: auto !important;
  float: none !important;
  height: auto !important;
  border: 0 !important;
  background: transparent !important;
}
body.standalone-page .standalone-links a {
  display: inline-block;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid #c9892a;
  border-radius: 999px;
  color: #6b4508 !important;
  text-decoration: none;
  font-size: 14px;
}
body.standalone-page .standalone-links a:hover {
  background: #fff6e0;
}
body.standalone-page .breadcrumb {
  font-size: 13px !important;
  color: #666 !important;
  margin-bottom: 12px !important;
}
body.standalone-page .intro.article-page p {
  text-align: left !important;
}
body.standalone-page .intro img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 12px;
  border-radius: 8px;
}

/* Match main-site Lmenu.php sidebar */
body.standalone-page .leftcolumn {
  padding-top: 12px;
  padding-left: 10px;
  width: 200px;
  float: left;
  box-sizing: border-box;
}
body.standalone-page .mmenu {
  width: 180px;
  margin: 0 auto;
  font-family: "Microsoft JhengHei", "微軟正黑體", PMingLiU, sans-serif;
  border: 2px solid #8a5a00;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
body.standalone-page .mmenu .hd {
  background: #8a5a00;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  padding: 8px 4px;
  letter-spacing: 6px;
  text-align: center;
}
body.standalone-page .mmenu a.mrow {
  display: block;
  text-decoration: none;
  color: #333333;
  font-size: 14px;
  padding: 6px 12px;
  border-bottom: 1px solid #D18B00;
  background: #fff;
  text-indent: 0;
  width: auto;
}
body.standalone-page .mmenu a.mrow:hover { background: #FFD97A; }
body.standalone-page .mmenu a.mrow:last-child { border-bottom: none; }
body.standalone-page .mmenu a.mrow.on {
  background: #B26A00;
  color: #fff;
  font-weight: bold;
}
body.standalone-page .mhours {
  width: 180px;
  margin: 12px auto 0;
  background: #fff;
  border: 2px solid #8a5a00;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.8;
  color: #333333;
  box-sizing: border-box;
}
body.standalone-page .mhours b { color: #B26A00; }

/* Top menu: ensure float layout like style.css */
body.standalone-page .header .menu ul {
  height: 25px;
  width: auto;
  max-width: 520px;
  float: right;
  list-style: none;
  background-color: #D18B00;
  margin: 0;
  padding: 0 8px 0 0;
}
body.standalone-page .header .menu li {
  float: left;
  width: auto;
  padding: 4px 10px 0;
  border-left: 1px solid #000;
}

/* Prevent intro/rightcolumn overflow (style.css sets fixed 740/750 widths) */
body.standalone-page .rightcolumn {
  width: 740px !important;
  max-width: calc(960px - 210px);
  box-sizing: border-box;
  overflow: hidden;
  padding-right: 8px;
}
body.standalone-page .intro {
  width: auto !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden;
}
body.standalone-page .intro p,
body.standalone-page .intro .product,
body.standalone-page .intro .center {
  width: auto !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}
body.standalone-page .intro img,
body.standalone-page .intro picture {
  max-width: 100% !important;
  height: auto !important;
}
