/**
 * 2026-10-19 站头 W1 字標（PDP／購物車／結帳）
 * 標記與尺寸沿用 page-home-v2.php #top：C 圖示 44px（手機 36px）、var(--nw-brand-600, #A85A16)、透明底；
 * 主標 Open Huninn（僅字標；display-font.css 提供 @font-face）、副標 Noto Sans TC。t7：正文／UI 用 C 系統黑體棧。
 * 只作用於 a.mldi-wordmark（Astra 站名／結帳頁 .mldi-co-logo），不影響導覽與版面。
 */

/* 副標字體：僅「貓狗日常用品」6 字所在的本地 Noto Sans TC 切片，獨立字族名，不改動頁面其他文字 */
@font-face {
  font-family: "MLDI Logo Sub";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/noto-sans-tc/-nF7OG829Oofr2wohFbTp9iFOisNA_cTyNromxqQuEMQ2wHYwbnmy1R1jDujLebozBXCo2qYhRo.117.woff2") format("woff2");
  unicode-range: U+8C93, U+72D7;
}
@font-face {
  font-family: "MLDI Logo Sub";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/noto-sans-tc/-nF7OG829Oofr2wohFbTp9iFOisNA_cTyNromxqQuEMQ2wHYwbnmy1R1jDujLebozBXCo2qYhRo.122.woff2") format("woff2");
  unicode-range: U+5E38, U+54C1;
}
@font-face {
  font-family: "MLDI Logo Sub";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/noto-sans-tc/-nF7OG829Oofr2wohFbTp9iFOisNA_cTyNromxqQuEMQ2wHYwbnmy1R1jDujLebozBXCo2qYhRo.123.woff2") format("woff2");
  unicode-range: U+65E5, U+7528;
}

/* 字標高 51px，Astra .site-branding 上下 padding 各 16px；負邊距抵銷 3px，站頭維持原 80px 高 */
.site-header .site-title.mldi-wordmark-wrap {
  line-height: 1;
  margin: -2px 0;
  display: block;
}
a.logo.mldi-wordmark,
body.mldi-checkout-page a.mldi-co-logo.mldi-wordmark {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  letter-spacing: normal;
}
.mldi-wordmark .logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 0;
  background: transparent !important;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: var(--nw-brand-600, #A85A16); /* t6 */
  line-height: 0;
}
.mldi-wordmark .logo-mark svg.ic {
  width: 44px;
  height: 44px;
  display: block;
  flex-shrink: 0;
}
.mldi-wordmark .logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mldi-wordmark .logo-main {
  font-family: "Open Huninn", "Noto Sans TC", sans-serif;
  font-weight: 700;
  font-size: 1.85rem;
  letter-spacing: .12em;
  color: #1a1a1a;
  line-height: 1.15;
  white-space: nowrap;
}
.mldi-wordmark .logo-sub {
  display: block;
  font-family: "MLDI Logo Sub", "Noto Sans TC", "Noto Sans CJK TC", "Noto Sans CJK", sans-serif;
  font-weight: 400;
  font-size: .72rem;
  letter-spacing: .18em;
  color: #5a5a5a;
  line-height: 1.3;
  text-align: left;
  margin-top: 0;
  white-space: nowrap;
}

@media (max-width: 720px) {
  a.logo.mldi-wordmark,
  body.mldi-checkout-page a.mldi-co-logo.mldi-wordmark { gap: 10px; }
  .mldi-wordmark .logo-mark,
  .mldi-wordmark .logo-mark svg.ic { width: 36px; height: 36px; }
  .mldi-wordmark .logo-main { font-size: 1.35rem; letter-spacing: .1em; }
  .mldi-wordmark .logo-sub { font-size: .62rem; letter-spacing: .14em; }
}


/* 2026-10-19 FAQ 頁：內文 CSS 隱藏了 Astra 頁尾；只把版權列顯示回來 */
body.page-id-19 #colophon,
body.page-id-19 .site-footer{
  display:block!important;
  background:transparent;
  border:0;
  margin:0;
  padding:16px 20px 24px;
  text-align:center;
}
body.page-id-19 .ast-footer-copyright{justify-content:center}
body.page-id-19 .ast-footer-copyright p{margin:0;color:#999;font-size:13px}

/* Neway t2 override */
a.mldi-wordmark .logo-mark { color: var(--nw-brand-600, #A85A16) !important; }
a.mldi-wordmark .logo-main { color: var(--nw-ink, #181818); }

