/* Fatty Mántou 全站樣式（由 mu-plugins/fm-site.php 載入；原始檔在 建站檔案/mu-plugins/fm-site/site.css）
   色票、字體取自客戶設計稿（網頁設計稿.ai）。class 前綴：hd- 頁首、ft- 頁尾、hm- 首頁、ab- 關於、od- 穿搭日記、sh- 商店、pd- 商品、pt- 文章、sv- 服務頁 */

:root {
  --fm-yellow: #ece3bd;
  --fm-logo: #e7e0bb;
  --fm-pink: #f1cfbb;
  --fm-navy: #294d5a;
  --fm-teal: #58a4b0;
  --fm-sky: #7cafc4;
  --fm-magenta: #bc6f91;
  --fm-lime: #c7cd8e;
  --fm-lime-text: #d3d986;
  --fm-lilac: #cda7c5;
  --fm-cream: #f7f2e5;
  --fm-paper: #f7f4e6;
  --fm-tan: #dabb88;
  --fm-mauve: #a47b79;
  --fm-mauve-d: #8a6563;
  --fm-rust: #d89584;
  --fm-text: #5e4d4f;
  --fm-text-2: #8a7a7b;
  --fm-display: "Nerko One", "Noto Sans TC", sans-serif;
  --fm-serif: "Cormorant Garamond", "Noto Serif TC", serif;
  --fm-sans: "Noto Sans TC", sans-serif;
  --fm-body: "Noto Sans TC", sans-serif;
  --fm-wrap: 1180px;
  --fm-bar-h: 34px;
  --fm-hd-h: 76px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--fm-body); font-weight: 500; color: var(--fm-text); background: var(--fm-paper); overflow-x: clip; font-variant-numeric: lining-nums; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
.fm-wrap { width: 100%; max-width: var(--fm-wrap); margin-inline: auto; padding-inline: 24px; }
.fm-display { font-family: var(--fm-display); font-weight: 400; letter-spacing: .08em; }
.fm-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 共用按鈕 */
.fm-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 6px 22px; border-radius: 999px; font-family: var(--fm-serif); font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; line-height: 1; transition: background-color .25s, color .25s, border-color .25s, transform .25s; }
.fm-pill:hover { transform: translateY(-1px); }
.fm-pill--pink { background: var(--fm-pink); color: #fff; }
.fm-pill--pink:hover { background: var(--fm-rust); color: #fff; }
.fm-pill--white { background: #fff; color: var(--fm-mauve); }
.fm-pill--white:hover { background: var(--fm-cream); color: var(--fm-mauve-d); }
.fm-pill--sky { border: 1.5px solid var(--fm-sky); color: var(--fm-sky); background: transparent; }
.fm-pill--sky:hover { background: var(--fm-sky); color: var(--fm-navy); }

/* 分隔條：格子、饅頭 */
.fm-checker { height: clamp(36px, 4.2vw, 60px); background: var(--fm-cream) url(/wp-content/uploads/fm/checker-tile.svg) repeat-x left center / auto 100%; }
.fm-strip { height: clamp(40px, 4vw, 58px); background-repeat: repeat-x; background-position: center; background-size: auto 62%; }
.fm-strip--navy { background-color: var(--fm-navy); background-image: url(/wp-content/uploads/fm/strip-cream.svg); }
.fm-strip--pink { background-color: var(--fm-pink); background-image: url(/wp-content/uploads/fm/strip-teal.svg); }

/* ───────── 頁首 ───────── */
.hd-wrap { position: sticky; top: 0; z-index: 90; }
.hd-bar { height: var(--fm-bar-h); background: var(--fm-yellow); display: flex; align-items: center; justify-content: center; position: relative; padding-inline: 120px; }
.hd-bar-text { margin: 0; font-size: 13px; letter-spacing: .12em; color: var(--fm-mauve-d); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hd-bar-icons { position: absolute; right: 24px; top: 0; height: 100%; display: flex; align-items: center; gap: 14px; }
.hd-bar-icon { display: inline-flex; color: var(--fm-mauve-d); line-height: 0; }
.hd-bar-icon:hover { color: var(--fm-magenta); }
.hd-bar-icon svg { width: 15px; height: 15px; }
.hd { height: var(--fm-hd-h); background: var(--fm-yellow); transition: background-color .3s, box-shadow .3s; }
.hd-inner { height: 100%; display: flex; align-items: center; gap: 28px; padding-inline: 56px; }
.hd-logo { flex: none; display: inline-flex; color: var(--fm-mauve); line-height: 0; }
.hd-logo svg { width: 196px; height: auto; }
.hd-nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.hd-link { font-family: var(--fm-sans); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fm-mauve-d); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; padding: 8px 0; white-space: nowrap; }
.hd-link:hover, .hd-link.is-current { color: var(--fm-magenta); }
.hd-caret { width: 9px; height: 9px; transition: transform .25s; }
.hd-dd { position: relative; }
.hd-sub { position: absolute; top: 100%; left: -18px; min-width: 168px; width: max-content; padding: 10px 0; background: #fff; border-radius: 14px; box-shadow: 0 14px 30px rgba(41, 77, 90, .14); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.hd-dd:hover .hd-sub, .hd-dd:focus-within .hd-sub { opacity: 1; visibility: visible; transform: translateY(0); }
.hd-dd:hover .hd-caret { transform: rotate(180deg); }
.hd-sublink { display: flex; align-items: center; gap: 10px; padding: 9px 20px; font-family: var(--fm-sans); font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--fm-text); text-decoration: none; white-space: nowrap; }
.hd-sublink:hover { background: var(--fm-paper); color: var(--fm-magenta); }
.hd-sublink img { width: 22px; height: auto; }
.hd-sub-age { flex: none; font-family: var(--fm-sans); font-weight: 500 !important; font-weight: 600; font-size: 13px; color: var(--fm-text-2); letter-spacing: .02em; }
.hd-tools { display: flex; align-items: center; gap: 12px; }
.hd-login { min-height: 30px; padding: 4px 18px; font-size: 13px; background: var(--fm-yellow); color: #fff; border: 1.5px solid #fff; }
.hd-login:hover { background: #fff; color: var(--fm-mauve); }
.hd-burger { display: none; }
.hd-mobile-extra { display: none; }

/* 迷你購物車按鈕：黃色膠囊 */
.hd-cart .bde-mini-cart-toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 4px 14px; border-radius: 999px; background: var(--fm-pink); color: #fff; text-decoration: none; }
.hd-cart .bde-mini-cart-toggle:hover { background: var(--fm-rust); color: #fff; }
.hd-cart .bde-mini-cart-toggle__subtotal { font-family: var(--fm-serif); font-weight: 700; font-size: 14px; color: #fff; }
.hd-cart .bde-mini-cart-toggle__icon { color: #fff; }
.hd-cart .bde-mini-cart-toggle__counter { background: var(--fm-magenta); color: #fff; }

/* 壓在照片上的頁首（首頁／關於／穿搭日記，body.fm-overlay） */
.fm-overlay .hd-wrap { position: fixed; left: 0; right: 0; }
.fm-overlay .hd { background: transparent; }
.fm-overlay .hd-logo { color: var(--fm-logo); }
.fm-overlay .hd-link { color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .18); }
.fm-overlay .hd-link:hover { color: var(--fm-logo); }
.fm-overlay .hd-wrap.is-solid .hd { background: rgba(41, 77, 90, .94); box-shadow: 0 6px 20px rgba(0, 0, 0, .08); }
.fm-overlay .hd-wrap.is-solid .hd-link { text-shadow: none; }

/* 手機選單 */
@media (max-width: 1260px) {
  .hd-inner { padding-inline: 28px; gap: 18px; }
  .hd-nav { gap: 18px; }
  .hd-logo svg { width: 170px; }
}
@media (max-width: 1119px) {
  :root { --fm-hd-h: 64px; }
  .hd-bar { padding-inline: 16px; }
  .hd-bar-icons { display: none; }
  .hd-inner { padding-inline: 20px; }
  .hd-logo svg { width: 150px; }
  .hd-login { display: none; }
  .hd-burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; padding: 0 8px; border: 0; background: transparent; cursor: pointer; }
  .hd-burger span { display: block; height: 2px; border-radius: 2px; background: var(--fm-mauve-d); transition: transform .3s, opacity .3s; }
  .fm-overlay .hd-burger span { background: #fff; }
  .hd-tools { margin-left: auto; }
  .hd-nav { position: fixed; left: 0; right: 0; top: calc(var(--fm-bar-h) + var(--fm-hd-h)); bottom: 0; margin: 0; padding: 28px 28px 40px; background: var(--fm-yellow); flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto; text-align: center; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; }
  .hd-wrap.is-open .hd-nav { opacity: 1; visibility: visible; transform: none; }
  .hd-wrap.is-open .hd { background: var(--fm-yellow); }
  .hd-wrap.is-open .hd-logo { color: var(--fm-mauve); }
  .hd-wrap.is-open .hd-burger span { background: var(--fm-mauve-d); }
  .hd-wrap.is-open .hd-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hd-wrap.is-open .hd-burger span:nth-child(2) { opacity: 0; }
  .hd-wrap.is-open .hd-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hd-nav .hd-link { color: var(--fm-mauve-d); font-family: var(--fm-display); font-weight: 400; font-size: 26px; letter-spacing: .1em; padding: 12px 0; border-bottom: 1px solid rgba(164, 123, 121, .18); text-shadow: none; justify-content: center; width: 100%; }
  .hd-nav .hd-link:hover, .hd-nav .hd-link.is-current { color: var(--fm-magenta); }
  .hd-nav .hd-caret { display: none; }
  .hd-sub { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; padding: 6px 0 12px; min-width: 0; width: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
  .hd-sublink { color: var(--fm-text); padding: 6px 0; justify-content: center; }
  .hd-sublink:hover { background: transparent; color: var(--fm-magenta); }
  .hd-sub-age { display: none; }
  .hd-mobile-extra { display: flex; gap: 12px; margin-top: 28px; justify-content: center; }
  .hd-mobile-extra .fm-pill { flex: 1; }
}
@media (max-width: 479px) {
  .hd-bar-text { font-size: 12px; letter-spacing: .06em; }
  .hd-logo svg { width: 132px; }
  .hd-cart .bde-mini-cart-toggle { padding: 4px 10px; }
  .hd-cart .bde-mini-cart-toggle__subtotal { display: none; }
}

/* ───────── 頁尾 ───────── */
.ft { background: var(--fm-pink); color: var(--fm-mauve-d); }
.ft-main { max-width: var(--fm-wrap); margin-inline: auto; padding: 72px 24px 56px; display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.ft-logo { display: inline-flex; color: var(--fm-mauve); line-height: 0; margin-bottom: 18px; }
.ft-logo svg { width: 190px; height: auto; }
.ft-info { margin: 0; padding: 0; list-style: none; font-size: 13px; line-height: 2; color: var(--fm-mauve-d); }
.ft-info strong { font-weight: 700; margin-right: 6px; }
.ft-info a { color: inherit; text-decoration: none; }
.ft-info a:hover { color: var(--fm-magenta); }
.ft-social { display: flex; gap: 12px; margin-top: 14px; }
.ft-social a { display: inline-flex; color: var(--fm-mauve); line-height: 0; }
.ft-social a:hover { color: var(--fm-magenta); }
.ft-social svg { width: 18px; height: 18px; }
.ft-h { margin: 6px 0 16px; font-family: var(--fm-sans); font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fm-mauve); }
.ft-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ft-link { font-family: var(--fm-sans); font-size: 14px; letter-spacing: .04em; color: var(--fm-mauve-d); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.ft-link::before { content: "›"; color: var(--fm-mauve); font-size: 15px; line-height: 1; }
.ft-link:hover { color: var(--fm-magenta); }
.ft-bottom { background: var(--fm-yellow); padding: 14px 24px; text-align: center; font-size: 12px; letter-spacing: .04em; line-height: 1.8; color: var(--fm-mauve-d); }
.ft-bottom a { color: inherit; text-decoration: none; }
.ft-bottom a:hover { color: var(--fm-magenta); }
.ft-sep { opacity: .5; margin: 0 8px; }
@media (max-width: 1023px) {
  .ft-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px 24px; padding-top: 56px; }
  .ft-brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .ft-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 48px 24px 40px; }
  .ft-col-service { grid-column: 1 / -1; }
  .ft-col-service .ft-list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ft-bottom span { display: block; }
  .ft-bottom .ft-sep { display: none; }
}

/* ───────── 首頁 ───────── */
.hm-hero { position: relative; height: min(100vh, 980px); min-height: 560px; overflow: hidden; background: var(--fm-navy); }
.hm-hero-media, .hm-hero-media picture, .hm-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hm-hero-media img { object-fit: cover; object-position: center 30%; }
.hm-cloud { position: absolute; left: 0; right: 0; bottom: -2px; height: 23vw; max-height: 380px; background: url(/wp-content/uploads/fm/hero-cloud-v2.svg) no-repeat center bottom / 100% 100%; pointer-events: none; }
.hm-cats { background: var(--fm-navy); padding: 36px 24px 110px; margin-top: -1px; }
.hm-cats-list { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; }
.hm-cat { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; }
.hm-cat-icon { width: 108px; height: 96px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.hm-cat-icon img { width: 100px; height: auto; }
.hm-cat:hover .hm-cat-icon { transform: translateY(-6px) rotate(-8deg); }
.hm-cat-name { margin: 0; font-family: var(--fm-display); font-weight: 400; font-size: 21px; letter-spacing: .14em; text-transform: uppercase; color: var(--fm-lime-text); }
.hm-cat-age { margin: 6px 0 18px; font-family: var(--fm-sans); font-size: 15px; font-weight: 500; color: var(--fm-lime-text); opacity: .85; }
.hm-cat:hover .fm-pill--sky { background: var(--fm-sky); color: var(--fm-navy); }
.hm-new { background: var(--fm-tan); padding: 80px 0 90px; }
.hm-h { margin: 0 0 40px; text-align: center; font-family: var(--fm-display); font-weight: 400; font-size: 28px; letter-spacing: .14em; text-transform: uppercase; color: var(--fm-cream); }
.hm-new-more { display: flex; justify-content: center; margin-top: 44px; }
.hm-od { background: var(--fm-yellow); padding: 84px 0 96px; }
.hm-od .hm-h { color: var(--fm-mauve); margin-bottom: 18px; }
@media (max-width: 1023px) {
  .hm-hero { height: min(88vh, 900px); }
  .hm-cats-list { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 44px 16px; }
  .hm-cats-list > li { grid-column: span 2; }
  .hm-cats-list > li:nth-child(4) { grid-column: 2 / 4; }
  .hm-cats-list > li:nth-child(5) { grid-column: 4 / 6; }
}
@media (max-width: 767px) {
  .hm-hero { height: 92vh; min-height: 520px; max-height: 760px; }
  .hm-hero-media img { object-position: center top; }
  .hm-cloud { height: 42vw; background-image: url(/wp-content/uploads/fm/hero-cloud-v2.svg); background-size: 190% 100%; background-position: 12% bottom; }
  .hm-cats { padding: 24px 16px 72px; }
  .hm-cats-list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 12px; }
  .hm-cats-list > li, .hm-cats-list > li:nth-child(4) { grid-column: auto; }
  .hm-cats-list > li:nth-child(5) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 6px); }
  .hm-cat-icon { width: 96px; height: 84px; margin-bottom: 14px; }
  .hm-cat-icon img { width: 88px; }
  .hm-cat-name { font-size: 19px; }
  .hm-new { padding: 56px 0 64px; }
  .hm-h { font-size: 24px; margin-bottom: 28px; }
  .hm-od { padding: 56px 0 64px; }
}

/* 商品卡（首頁新品、商店、相關商品共用：WooCommerce 商品列表） */
.fm-grid.breakdance-woocommerce { --bde-woo-products-list-products-per-row: 4; --bde-woo-products-list-gap: 36px 24px; }
.fm-grid.breakdance-woocommerce ul.products li.product .bde-woo-product-image img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; border-radius: 0; transition: transform .5s; }
.fm-grid.breakdance-woocommerce ul.products li.product .bde-woo-product-image { overflow: hidden; }
.fm-grid.breakdance-woocommerce ul.products li.product:hover .bde-woo-product-image img { transform: scale(1.04); }
.fm-grid.breakdance-woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--fm-body); font-size: 14px; font-weight: 500; line-height: 1.6; letter-spacing: .02em; margin-top: 12px; padding-left: 22px; position: relative; }
.fm-grid.breakdance-woocommerce ul.products li.product .woocommerce-loop-product__title::before { content: ""; position: absolute; left: 0; top: .32em; width: 16px; height: 13px; background: url(/wp-content/uploads/fm/mantou-base.svg) no-repeat center / contain; }
.fm-grid.breakdance-woocommerce ul.products li.product .price { font-family: var(--fm-serif) !important; font-size: 17px !important; font-weight: 700; letter-spacing: .02em; padding-left: 22px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; line-height: 1.4; }
.fm-grid.breakdance-woocommerce ul.products li.product .price * { font-family: inherit !important; font-size: inherit !important; }
.fm-grid.breakdance-woocommerce ul.products li.product .price del { font-size: 14px !important; }
.fm-grid.breakdance-woocommerce ul.products li.product .price del { opacity: .6; font-weight: 600; }
.fm-grid.breakdance-woocommerce ul.products li.product .price ins { text-decoration: none; }
.fm-grid.breakdance-woocommerce ul.products li.product .bde-woo-product-footer,
.fm-grid.breakdance-woocommerce ul.products li.product .bde-woo-categories-list { display: none; }
.fm-grid.breakdance-woocommerce ul.products li.product span.onsale { top: 10px; left: 10px; min-width: 0; min-height: 0; padding: 6px 12px; border-radius: 999px; background: var(--fm-teal); color: #fff; font-family: var(--fm-serif); font-size: 13px; font-weight: 700; letter-spacing: .06em; line-height: 1; }
.fm-grid--light.breakdance-woocommerce ul.products li.product .woocommerce-loop-product__title,
.fm-grid--light.breakdance-woocommerce ul.products li.product .price { color: #fff; }
.fm-grid--tan.breakdance-woocommerce ul.products li.product .woocommerce-loop-product__title,
.fm-grid--tan.breakdance-woocommerce ul.products li.product .price { color: #a87e57; }
@media (max-width: 1023px) {
  .fm-grid.breakdance-woocommerce { --bde-woo-products-list-products-per-row: 3; }
}
@media (max-width: 767px) {
  .fm-grid.breakdance-woocommerce { --bde-woo-products-list-products-per-row: 2; --bde-woo-products-list-gap: 26px 14px; }
  .fm-grid.breakdance-woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 13px; padding-left: 0; }
  .fm-grid.breakdance-woocommerce ul.products li.product .woocommerce-loop-product__title::before { display: none; }
  .fm-grid.breakdance-woocommerce ul.products li.product .price { padding-left: 0; font-size: 15px !important; }
}

/* 穿搭與日記（首頁卡片＋穿搭日記頁共用，由短代碼 [fm_journal_feature]／[fm_journal] 輸出） */
.od-tabs { display: flex; justify-content: center; gap: 6px; margin: 0 0 30px; }
.od-tab { appearance: none; border: 0; cursor: pointer; background: transparent; color: var(--fm-mauve); font-family: var(--fm-sans); font-size: 14px; font-weight: 700; letter-spacing: .04em; padding: 8px 18px; border-radius: 999px; transition: background-color .25s, color .25s; }
.od-tab:hover { color: var(--fm-magenta); }
.od-tab.is-active { background: var(--fm-mauve); color: #fff; }  /* 6 月定稿：nav-pills 選中＝#a47b79 */
.od-tab.is-active:hover { color: #fff; }
.od-panel[hidden] { display: none; }
.od-card { background: var(--fm-mauve); border-radius: 40px; padding: 56px 60px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.od-card-text { color: #fff; padding-left: 40px; }
.od-card-kicker { margin: 0 0 14px; font-family: var(--fm-display); font-weight: 400; font-size: 38px; letter-spacing: .04em; color: #fff; line-height: 1.1; }
.od-card-title { margin: 0 0 18px; font-size: 18px; font-weight: 700; letter-spacing: .04em; color: #fff; }
.od-card-title a { color: inherit; text-decoration: none; }
.od-card-excerpt { margin: 0 0 30px; font-size: 14px; line-height: 2; color: rgba(255, 255, 255, .9); white-space: pre-line; }
.od-photos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.od-photos-col { display: grid; gap: 16px; align-content: start; }
.od-photos-col:nth-child(2) { padding-top: 0; }
.od-photo { display: block; overflow: hidden; background: rgba(255, 255, 255, .12); }
.od-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.od-photo:hover img { transform: scale(1.04); }
.od-photo--sq { aspect-ratio: 1 / 1; }
.od-photo--tall { aspect-ratio: 3 / 4.6; }
.od-empty { background: var(--fm-mauve); border-radius: 40px; padding: 80px 32px; text-align: center; color: #fff; }
.od-empty p { margin: 0; font-size: 15px; letter-spacing: .06em; }
.od-empty .od-card-kicker { margin-bottom: 12px; }
@media (max-width: 1023px) {
  .od-card { grid-template-columns: minmax(0, 1fr); padding: 44px 36px; gap: 36px; }
  .od-card-text { padding-left: 0; }
}
@media (max-width: 767px) {
  .od-card { border-radius: 28px; padding: 32px 20px; }
  .od-card-kicker { font-size: 30px; }
  .od-photos, .od-photos-col { gap: 10px; }
}

/* 穿搭日記頁：卡片列表 */
.od-list { background: var(--fm-mauve); border-radius: 40px; padding: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.od-item { color: #fff; text-decoration: none; display: flex; flex-direction: column; }
.od-item-media { aspect-ratio: 1 / 1; overflow: hidden; background: rgba(255, 255, 255, .12); }
.od-item-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.od-item:hover .od-item-media img { transform: scale(1.04); }
.od-item-title { margin: 16px 0 12px; font-size: 16px; font-weight: 500; letter-spacing: .04em; color: #fff; }
.od-item-line { width: 22px; height: 1px; background: rgba(255, 255, 255, .6); margin-bottom: 16px; }
.od-item-more { align-self: flex-start; min-height: 28px; padding: 4px 16px; font-size: 12px; border: 1.5px solid #fff; color: #fff; }
.od-item:hover .od-item-more { background: #fff; color: var(--fm-mauve); }
.od-date { font-family: var(--fm-serif); font-size: 13px; font-weight: 600; letter-spacing: .08em; color: rgba(255, 255, 255, .75); margin-top: 14px; }
@media (max-width: 1023px) { .od-list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 36px; } }
@media (max-width: 767px) { .od-list { padding: 24px 16px; border-radius: 28px; gap: 28px 12px; } .od-item-title { font-size: 14px; margin-top: 12px; } }

/* ───────── 有照片底的頁首區（關於、穿搭日記） ───────── */
.ph { position: relative; overflow: hidden; background: var(--fm-navy); }
.ph-media, .ph-media picture, .ph-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph-media img { object-fit: cover; object-position: center 35%; }
.ph-inner { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: calc(var(--fm-bar-h) + var(--fm-hd-h) + 48px) 56px 0; }
.ph-title { margin: 0; font-family: var(--fm-display); font-weight: 400; color: #fff; line-height: 1.02; letter-spacing: .02em; font-size: clamp(48px, 7vw, 104px); text-shadow: 0 2px 18px rgba(0, 0, 0, .12); }
.ph-title span { display: block; }
.ph-sub { margin: 14px 0 0; font-size: 15px; letter-spacing: .14em; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .2); }
.ab-hero { height: min(78vh, 760px); min-height: 520px; }
.ab-cloud { position: absolute; left: 0; right: 0; bottom: -2px; height: 30vw; max-height: 470px; background: url(/wp-content/uploads/fm/about-cloud-v2.svg) no-repeat center bottom / 100% 100%; z-index: 1; pointer-events: none; }
.od-hero { height: min(62vh, 600px); min-height: 440px; }
.od-hero .ph-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(41, 77, 90, .28), rgba(41, 77, 90, 0) 60%); }
@media (max-width: 767px) {
  .ph-inner { padding: calc(var(--fm-bar-h) + var(--fm-hd-h) + 32px) 22px 0; }
  .ab-hero { height: 76vh; min-height: 480px; }
  .ab-cloud { height: 46vw; background-size: 170% 100%; background-position: 30% bottom; }
  .od-hero { height: 58vh; min-height: 400px; }
}

/* ───────── 關於 ───────── */
.ab-intro { background: var(--fm-yellow); padding: 40px 24px 110px; margin-top: -1px; }
.ab-intro-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.ab-intro-h { margin: 0 0 6px; font-family: var(--fm-serif); font-size: 34px; font-weight: 500; letter-spacing: .04em; color: var(--fm-mauve); }
.ab-intro-zh { margin: 0 0 6px; font-size: 15px; letter-spacing: .3em; color: var(--fm-mauve-d); }
.ab-intro-en { margin: 0 0 34px; font-family: var(--fm-serif); font-size: 16px; font-weight: 600; font-style: italic; color: var(--fm-text-2); letter-spacing: .04em; }
.ab-intro-p { margin: 0 0 18px; font-size: 15px; line-height: 2.2; letter-spacing: .08em; color: var(--fm-text); }
.ab-od { background: var(--fm-cream); padding: 100px 24px; }
.ab-od-inner { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.ab-od-h { margin: 0 0 16px; font-family: var(--fm-display); font-weight: 400; font-size: 28px; letter-spacing: .06em; color: var(--fm-teal); }
.ab-od-p { margin: 0 0 26px; font-size: 14px; line-height: 2; letter-spacing: .06em; color: var(--fm-text); }
.ab-od-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.ab-od-photo { border: 5px solid var(--fm-teal); line-height: 0; }
.ab-od-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
@media (max-width: 767px) {
  .ab-intro { padding: 24px 22px 72px; }
  .ab-intro-p { font-size: 14px; line-height: 2.1; letter-spacing: .04em; text-align: left; }
  .ab-od { padding: 64px 22px; }
  .ab-od-inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}

/* 穿搭日記頁 */
.od-page { background: var(--fm-yellow); padding: 48px 0 100px; }
@media (max-width: 767px) { .od-page { padding: 32px 0 64px; } }

/* ───────── 文章（穿搭／日記） ───────── */
.pt { background: var(--fm-paper); padding: 56px 0 100px; }
.pt-head { max-width: 860px; margin: 0 auto 32px; padding: 0 24px; }
.pt-cat { margin: 0 0 8px; font-family: var(--fm-sans); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fm-mauve); }
.pt-cat a { color: inherit; text-decoration: none; }
.pt-title { margin: 0; font-family: var(--fm-body); font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: .06em; color: var(--fm-text); }
.pt-line { width: 28px; height: 2px; background: var(--fm-pink); margin-top: 18px; }
.pt-body { max-width: 860px; margin: 0 auto; padding: 0 24px; font-size: 15px; line-height: 2; letter-spacing: .04em; }
.pt-body p { margin: 0 0 1.1em; }
.pt-back { max-width: 860px; margin: 48px auto 0; padding: 0 24px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
/* 文章照片左右切換（fm-site.js 把文章裡的圖庫轉成輪播） */
.fm-slider { position: relative; margin: 0 0 32px; }
.fm-slider-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.fm-slider-track::-webkit-scrollbar { display: none; }
.fm-slide { flex: 0 0 100%; scroll-snap-align: center; margin: 0; }
.fm-slide img { display: block; width: 100%; max-height: 78vh; object-fit: contain; background: var(--fm-cream); }
.fm-slider-btn { position: absolute; top: 50%; width: 46px; height: 46px; margin-top: -23px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .88); color: var(--fm-mauve); cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .08); transition: background-color .2s, opacity .2s; }
.fm-slider-btn:hover { background: var(--fm-yellow); }
.fm-slider-btn[disabled] { opacity: 0; pointer-events: none; }
.fm-slider-btn svg { width: 18px; height: 18px; }
.fm-slider-prev { left: 12px; }
.fm-slider-next { right: 12px; }
.fm-slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.fm-slider-dot { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: var(--fm-pink); opacity: .45; cursor: pointer; }
.fm-slider-dot.is-active { opacity: 1; background: var(--fm-magenta); }
@media (max-width: 767px) { .fm-slider-btn { width: 38px; height: 38px; margin-top: -19px; } .pt { padding: 32px 0 64px; } }

/* ───────── 商店 ───────── */
.sh-head { background: var(--fm-yellow); }
.sh-head-inner { max-width: var(--fm-wrap); margin: 0 auto; padding: 34px 24px 30px; }
.sh-crumbs, .sh-crumbs a { font-size: 12px; letter-spacing: .06em; color: var(--fm-mauve-d); }
.sh-title { margin: 8px 0 0; font-family: var(--fm-display); font-weight: 400; font-size: 34px; letter-spacing: .1em; color: #fff; text-shadow: 0 1px 0 rgba(158, 122, 126, .25); }
.sh-desc { margin: 4px 0 0; font-family: var(--fm-serif); font-size: 16px; font-weight: 600; color: var(--fm-mauve-d); }
.sh-desc p { margin: 0; }
.sh-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.sh-cat { display: inline-flex; align-items: center; min-height: 32px; padding: 5px 16px; border-radius: 999px; background: rgba(255, 255, 255, .55); color: var(--fm-mauve-d); font-family: var(--fm-sans); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-decoration: none; transition: background-color .2s, color .2s; }
.sh-cat:hover, .sh-cat.is-current { background: #fff; color: var(--fm-magenta); }
.sh-body { background: var(--fm-paper); padding: 40px 0 100px; }
/* 使用者 2026-11-01：商店／分類頁不要標題、說明、分類按鈕，只留麵包屑。H1 改成畫面隱藏但保留給 SEO 與讀屏軟體 */
.sh-title { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sh-desc, .sh-cats { display: none !important; }
.sh-head-inner { padding-top: 22px; padding-bottom: 18px; }
.sh-grid.breakdance-woocommerce .woocommerce-result-count { font-size: 13px; color: var(--fm-text-2); }
.sh-grid.breakdance-woocommerce .woocommerce-ordering select { border-radius: 999px; border: 1px solid var(--fm-yellow); background-color: #fff; font-size: 13px; padding: 8px 36px 8px 16px; color: var(--fm-text); }
.sh-grid .woocommerce-pagination { margin-top: 48px; }
.sh-grid .woocommerce-info { background: #fff; border-radius: 16px; }
@media (max-width: 767px) { .sh-title { font-size: 28px; } .sh-head-inner { padding: 24px 16px 22px; } .sh-cats { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; } .sh-cat { flex: none; } .sh-body { padding: 28px 0 64px; } }

/* ───────── 商品頁 ───────── */
.pd { background: var(--fm-paper); padding: 28px 0 90px; }
.pd-crumbs, .pd-crumbs a { font-size: 12px; letter-spacing: .06em; color: var(--fm-text-2); }
.pd-main { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; margin-top: 20px; align-items: start; }
.pd-info { position: sticky; top: calc(var(--fm-bar-h) + var(--fm-hd-h) + 24px); }
.pd-cat { margin: 0 0 8px; font-family: var(--fm-sans); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fm-mauve); }
.pd-cat a { color: inherit; text-decoration: none; }
.pd-title { margin: 0 0 12px; font-family: var(--fm-body); font-size: 26px; font-weight: 700; line-height: 1.45; letter-spacing: .04em; color: var(--fm-text); }
.pd-price { font-family: var(--fm-serif); font-size: 24px; font-weight: 700; color: var(--fm-magenta); }
.pd-price del { color: var(--fm-text-2); font-size: 18px; margin-right: 8px; }
.pd-price ins { text-decoration: none; }
.pd-note { display: flex; align-items: center; gap: 10px; margin: 18px 0; padding: 12px 16px; border-radius: 14px; background: var(--fm-cream); font-size: 13px; line-height: 1.7; color: var(--fm-text); }
.pd-note img { width: 22px; flex: none; }
.pd-excerpt { font-size: 14px; line-height: 2; color: var(--fm-text); }
.pd-meta { margin-top: 20px; font-size: 12px; color: var(--fm-text-2); }
.pd-tabs { margin-top: 64px; }
/* 商品描述：尺寸表與預購須知（import_products.php 產生）。Breakdance 在 1024px 以下會把表格改成 flex 直排，所以 display 要 !important */
.pd-tabs h4 { margin: 22px 0 8px; font-family: var(--fm-body); font-size: 15px; font-weight: 700; letter-spacing: .06em; color: var(--fm-mauve); }
.pd-tabs table.fm-size-table { display: table !important; width: 100%; max-width: 560px; margin: 4px 0 8px; border-collapse: collapse; border: 0; font-size: 13px; }
.pd-tabs table.fm-size-table thead { display: table-header-group !important; }
.pd-tabs table.fm-size-table tbody { display: table-row-group !important; }
.pd-tabs table.fm-size-table tr { display: table-row !important; }
.pd-tabs table.fm-size-table th, .pd-tabs table.fm-size-table td { display: table-cell !important; padding: 9px 10px !important; border: 0; border-bottom: 1px solid #e6dccb; text-align: center; white-space: nowrap; }
.pd-tabs table.fm-size-table th { background: var(--fm-cream); font-weight: 700; color: var(--fm-text); }
.pd-tabs .fm-size-note { font-size: 12px; color: var(--fm-text-2); }
.pd-tabs ul { margin: 0; padding-left: 1.2em; font-size: 13px; line-height: 1.9; }
.pd-tabs .fm-desc-photos { width: 100%; max-width: 640px; margin: 12px auto 0 !important; }
.pd-tabs .fm-desc-photos img { display: block; width: 100%; height: auto; margin: 0 0 14px !important; border-radius: 0; }
.pd-related { margin-top: 72px; }
.pd-related-h { margin: 0 0 28px; text-align: center; font-family: var(--fm-display); font-weight: 400; font-size: 26px; letter-spacing: .12em; color: var(--fm-mauve); }
@media (max-width: 1023px) { .pd-main { gap: 36px; } }
@media (max-width: 767px) { .pd-main { grid-template-columns: minmax(0, 1fr); gap: 24px; } .pd-info { position: static; } .pd-title { font-size: 21px; } .pd { padding: 18px 0 64px; } }

/* 商品頁加入購物車 */
.pd-cta.breakdance-woocommerce .single_add_to_cart_button, .pd-cta .single_add_to_cart_button { border-radius: 999px !important; background: var(--fm-magenta) !important; color: #fff !important; font-family: var(--fm-sans); font-weight: 700; letter-spacing: .1em; padding: 14px 34px !important; }
.pd-cta .single_add_to_cart_button:hover { background: var(--fm-mauve-d) !important; }

/* ───────── 服務頁、政策頁 ───────── */
.sv-head { background: var(--fm-yellow); padding: 56px 24px 46px; text-align: center; }
.sv-kicker { margin: 0 0 6px; font-family: var(--fm-display); font-weight: 400; font-size: 18px; letter-spacing: .16em; color: #fff; }
.sv-title { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: .12em; color: var(--fm-mauve-d); }
.sv-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.sv-nav a { display: inline-flex; padding: 6px 16px; border-radius: 999px; background: rgba(255, 255, 255, .55); font-family: var(--fm-sans); font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--fm-mauve-d); text-decoration: none; }
.sv-nav a:hover, .sv-nav a.is-current { background: #fff; color: var(--fm-magenta); }
.sv-body { background: var(--fm-paper); padding: 64px 24px 100px; }
.sv-content { max-width: 800px; margin: 0 auto; font-size: 15px; line-height: 2; letter-spacing: .04em; }
.sv-content h2 { margin: 2em 0 .6em; font-family: var(--fm-body); font-size: 19px; font-weight: 700; letter-spacing: .08em; color: var(--fm-mauve-d); padding-left: 30px; position: relative; }
.sv-content h2::before { content: ""; position: absolute; left: 0; top: .28em; width: 22px; height: 19px; background: url(/wp-content/uploads/fm/mantou-base.svg) no-repeat center / contain; }
.sv-content h2:first-child { margin-top: 0; }
.sv-content p, .sv-content ul, .sv-content ol { margin: 0 0 1em; }
.sv-content li { margin-bottom: .4em; }
.sv-content a { color: var(--fm-magenta); }
.sv-content .sv-todo { background: #fff3c4; padding: 0 4px; border-radius: 4px; }
@media (max-width: 767px) { .sv-head { padding: 40px 20px 32px; } .sv-title { font-size: 23px; } .sv-body { padding: 44px 20px 64px; } .sv-content { font-size: 14px; } }

/* WooCommerce 共用按鈕色（購物車、結帳、我的帳號） */
.woocommerce a.button, .woocommerce button.button, .woocommerce .button.alt, .woocommerce #place_order { border-radius: 999px; }

/* Breakdance 短代碼元件的外層 div：不影響版面 */
[class*="slot-"] > .bde-shortcode { display: contents; }
.slot-baricons { display: flex; align-items: center; gap: 14px; }
.hm-cats-list > li { list-style: none; }

/* 商品規格按鈕（fm-checkout.php） */
.mc-swatch-src { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.mc-swatches { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px; }
.mc-swatch { min-width: 56px; min-height: 40px; padding: 8px 14px; border: 1.5px solid var(--fm-yellow); border-radius: 999px; background: #fff; color: var(--fm-text); font-family: var(--fm-body); font-size: 14px; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.mc-swatch:hover { border-color: var(--fm-pink); }
.mc-swatch.is-on { border-color: var(--fm-magenta); background: var(--fm-magenta); color: #fff; }
.mc-swatch:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.mc-swatch-p { display: block; font-size: 12px; opacity: .8; }

/* 商品頁：數量與加入購物車同一列；隱藏 WooCommerce 自帶的「相關商品」標題（用 You May Also Like） */
.pd-cta form.cart:not(.variations_form), .pd-cta .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.pd-cta form.cart .quantity { margin: 0 !important; }
.pd-related-grid h2, .pd-related-grid > section > h2 { display: none; }

/* Shop All 下拉：品項分類兩欄 */
.hd-sub--types { min-width: 340px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 1119px) { .hd-sub--types { min-width: 0; display: flex; } }

/* 日記卡片：日期圓章、摘要（6 月定稿 badge circle-inside） */
.od-item-media { position: relative; }
.od-badge { position: absolute; left: 12px; top: 12px; width: 52px; height: 52px; border-radius: 50%; background: var(--fm-yellow); color: var(--fm-mauve-d); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 11px; line-height: 1.1; letter-spacing: .02em; }
.od-badge b { font-family: var(--fm-serif); font-size: 19px; font-weight: 700; }
.od-item-excerpt { margin: -4px 0 16px; font-size: 13px; line-height: 1.8; color: rgba(255, 255, 255, .85); }

/* About：Logo＋文字（6 月定稿） */
.ab-intro-logo { display: flex; justify-content: center; color: var(--fm-mauve); margin-bottom: 18px; }
.ab-intro-logo svg { width: min(300px, 70vw); height: auto; }
.ab-intro-zh, .ab-intro-en, .ab-intro-p { color: #ab7978; }
.ab-intro-en { font-style: normal; font-family: var(--fm-body); font-size: 14px; font-weight: 500; }

/* 文章上一篇／下一篇 */
.pt-nav { max-width: 860px; margin: 48px auto 0; padding: 22px 24px 0; border-top: 1px solid rgba(164, 123, 121, .25); display: flex; justify-content: space-between; gap: 16px; }
.pt-nav-link { display: flex; flex-direction: column; gap: 4px; max-width: 48%; font-size: 15px; font-weight: 700; color: var(--fm-text); text-decoration: none; }
.pt-nav-link span { font-size: 12px; font-weight: 500; letter-spacing: .1em; color: var(--fm-mauve); }
.pt-nav-link.is-next { text-align: right; margin-left: auto; }
.pt-nav-link:hover { color: var(--fm-magenta); }
.pt-back { margin-top: 32px; }

/* 回到頂端 */
.fm-top { position: fixed; right: 18px; bottom: 18px; z-index: 80; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--fm-mauve); background: rgba(255, 255, 255, .85); color: var(--fm-mauve); display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s, background-color .2s; }
.fm-top.is-on { opacity: 1; transform: none; }
.fm-top:hover { background: var(--fm-yellow); }
.fm-top svg { width: 18px; height: 18px; }

/* ───────── 購物車、結帳（比照馬可的店流程，2026-10-25） ───────── */
.fm-steps { display: flex; justify-content: center; gap: 0; margin: 14px 0 0; padding: 0; list-style: none; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--fm-mauve-d); }
.fm-steps li { display: flex; align-items: center; opacity: .5; }
.fm-steps li + li::before { content: ""; width: 34px; height: 1px; margin: 0 12px; background: currentColor; opacity: .5; }
.fm-steps li.is-on { opacity: 1; color: var(--fm-magenta); }
.co-body { background: var(--fm-paper); padding: 40px 0 90px; }
.co-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 767px) { .co-body { padding: 24px 0 64px; } .co-wrap { padding: 0 16px; } }

/* 免運進度、開幕活動提示 */
.fm-freeship { margin: 0 0 14px; padding: 14px 16px; border-radius: 14px; background: #fff; }
.fm-freeship-msg { margin: 0 0 8px; font-size: 14px; color: var(--fm-text); }
.fm-freeship .woocommerce-Price-amount { font-weight: 700; color: var(--fm-magenta); }
.fm-freeship-bar { display: block; height: 6px; border-radius: 6px; background: var(--fm-cream); overflow: hidden; }
.fm-freeship-bar i { display: block; height: 100%; background: var(--fm-teal); border-radius: 6px; transition: width .4s; }
.fm-freeship.is-done .fm-freeship-msg { color: var(--fm-teal); font-weight: 700; }
.fm-promo-hint { margin: 0 0 12px; padding: 10px 16px; border-radius: 999px; background: var(--fm-yellow); color: var(--fm-mauve-d); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-align: center; }
.fm-promo-hint.is-done { background: var(--fm-mauve); color: #fff; }
.hd-cart .fm-freeship, .hd-cart .fm-promo-hint { margin: 0 0 10px; }

/* 結帳表單：桌機左資料（7）、右摘要＋付款（5）；手機 摘要→資料→付款→下單 */
.co-body form.checkout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 40px; align-items: start; }
.co-body form.checkout > #customer_details { grid-column: 1; grid-row: 1 / span 2; }
.co-body form.checkout > .bde-order-review-column { grid-column: 2; grid-row: 1; display: block; width: auto; max-width: none; }
.co-body form.checkout > #payment { grid-column: 2; grid-row: 2; }
.co-body #order_review_heading { margin: 0 0 12px; }
.co-body form.checkout #billing_country_field { display: none !important; }
.co-body form.checkout .fm-recv .optional { display: none; }
.co-body form.checkout .col2-set { display: block; width: 100%; }
.co-body form.checkout .col2-set::before, .co-body form.checkout .col2-set::after { display: none; content: none; }
.co-body form.checkout .col2-set .col-1, .co-body form.checkout .col2-set .col-2 { float: none; width: 100%; max-width: none; }
.co-body h3, .co-body #order_review_heading { font-family: var(--fm-body); font-size: 18px; font-weight: 700; letter-spacing: .1em; color: var(--fm-mauve-d); }
.co-body #customer_details, .co-body #order_review, .co-body #payment { background: #fff; border-radius: 20px; padding: 24px 26px; margin-bottom: 18px; }
.co-body form.checkout input.input-text, .co-body form.checkout select, .co-body form.checkout textarea, .co-body .select2-container .select2-selection { border-radius: 10px; border-color: #e3d9cb; min-height: 46px; font-size: 15px; }
.co-body form.checkout.fm-no-addr .fm-addr-field { display: none !important; }
.co-body .woocommerce-shipping-fields, .co-body #ship-to-different-address { display: none !important; }
.co-body form.checkout .form-row.fm-recv { display: none !important; }
.co-body form.checkout.fm-has-ship .form-row.fm-recv-same { display: block !important; }
.co-body form.checkout.fm-recv-diff .form-row.fm-recv-fields { display: block !important; }
.co-body .fm-recv-same label { display: flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; }
.co-body .fm-recv-same input[type=checkbox] { width: 18px; height: 18px; margin: 0; accent-color: var(--fm-magenta); }
.co-body #payment::before { content: "付款方式"; display: block; margin: 0 0 12px; font-size: 18px; font-weight: 700; letter-spacing: .1em; color: var(--fm-mauve-d); }
.co-body #payment ul.payment_methods { padding: 0; border: 0; }
.co-body #payment .place-order { padding: 14px 0 0; }
.co-body #place_order { width: 100%; min-height: 54px; border-radius: 999px; background: var(--fm-magenta); color: #fff; font-size: 16px; font-weight: 700; letter-spacing: .1em; }
.co-body #place_order:hover { background: var(--fm-mauve-d); }
.fm-co-note { margin: 12px 0 0; font-size: 13px; color: var(--fm-text-2); text-align: center; }
.fm-co-note a { color: var(--fm-magenta); }
/* 訂單摘要：小圖＋數量徽章 */
.co-body #order_review table.shop_table { border: 0; margin: 0; }
.co-body #order_review td.product-name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.co-body #order_review td.product-name .fm-co-name { flex: 1 1 0; min-width: 0; }
.co-body #order_review td.product-name dl.variation { flex-basis: 100%; margin: 2px 0 0 74px; font-size: 12px; color: var(--fm-text-2); }
.co-body #order_review td.product-name dl.variation dt, .co-body #order_review td.product-name dl.variation dd { display: inline; margin: 0; float: none; }
.co-body #order_review td.product-name dl.variation dd p { display: inline; margin: 0; }
.co-body #order_review td.product-name dl.variation dd::after { content: '\A'; white-space: pre; }
.fm-co-thumb { position: relative; flex: none; width: 60px; height: 60px; border-radius: 10px; overflow: visible; background: var(--fm-cream); }
.fm-co-thumb img { width: 60px; height: 60px; object-fit: cover; border-radius: 10px; }
.fm-co-qty { position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--fm-mauve); color: #fff; font-size: 12px; font-style: normal; line-height: 22px; text-align: center; }
.fm-co-name { font-size: 14px; line-height: 1.5; }
/* 運送方式：名稱……價格 一列 */
.co-body ul#shipping_method, .woocommerce-cart ul#shipping_method { list-style: none; margin: 0; padding: 0; }
.co-body ul#shipping_method li, .woocommerce-cart ul#shipping_method li { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 9px 0; text-align: left; }
.co-body ul#shipping_method li input, .woocommerce-cart ul#shipping_method li input { flex: none; margin: 4px 0 0; accent-color: var(--fm-magenta); }
.co-body ul#shipping_method li label, .woocommerce-cart ul#shipping_method li label { flex: 1; display: flex; justify-content: space-between; gap: 12px; margin: 0; font-size: 15px; }
.fm-rate-p { white-space: nowrap; font-weight: 700; color: var(--fm-mauve-d); }
.co-body tr.woocommerce-shipping-totals th, .co-body tr.woocommerce-shipping-totals td { display: block; width: 100%; text-align: left; }
.co-body tr.fee td, .woocommerce-cart tr.fee td { color: var(--fm-magenta); font-weight: 700; }
@media (max-width: 1023px) {
  .co-body form.checkout { display: flex; flex-direction: column; }
  .co-body form.checkout > .bde-order-review-column { order: 1; }
  .co-body form.checkout > #customer_details { order: 2; }
  .co-body form.checkout > #payment { order: 3; }
}
@media (max-width: 767px) {
  .co-body #customer_details, .co-body #order_review, .co-body #payment { padding: 18px 16px; border-radius: 16px; }
  .co-body form.checkout input.input-text, .co-body form.checkout select, .co-body form.checkout textarea { font-size: 16px; }
  .co-body form.checkout .form-row-first, .co-body form.checkout .form-row-last { float: none; width: 100%; }
}
/* 訂單完成頁 */
.fm-thx-h { display: block; font-family: var(--fm-display); font-size: clamp(26px, 4vw, 38px); letter-spacing: .06em; color: var(--fm-mauve); margin-bottom: 8px; }
.fm-thx-p { display: block; font-size: 15px; letter-spacing: .06em; line-height: 1.8; color: var(--fm-text); }
.co-body .woocommerce-thankyou-order-received { text-align: center; margin: 0 0 28px; }
.co-body ul.woocommerce-order-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 22px; max-width: 760px; margin: 0 auto 32px; padding: 22px 26px; background: #fff; border-radius: 20px; list-style: none; }
.co-body ul.woocommerce-order-overview::before, .co-body ul.woocommerce-order-overview::after { display: none; content: none; }
.co-body ul.woocommerce-order-overview li { margin: 0; padding: 0; border: 0; float: none; min-width: 0; overflow-wrap: anywhere; font-size: 12px; color: var(--fm-text-2); }
.co-body ul.woocommerce-order-overview li strong { display: block; margin-top: 4px; font-size: 15px; color: var(--fm-text); }
.co-body ul.woocommerce-order-overview li.woocommerce-order-overview__email, .co-body ul.woocommerce-order-overview li.woocommerce-order-overview__payment-method { grid-column: 1 / -1; }
.co-body section.woocommerce-columns--addresses::before, .co-body section.woocommerce-columns--addresses::after { display: none; }
@media (max-width: 767px) { .co-body ul.woocommerce-order-overview { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
/* 購物車頁 */
.co-body .woocommerce-cart-form, .co-body .cart-collaterals .cart_totals { background: #fff; border-radius: 20px; padding: 20px 24px; }
.co-body .cart-collaterals .cart_totals h2 { font-size: 18px; font-weight: 700; letter-spacing: .1em; color: var(--fm-mauve-d); }
.co-body .wc-proceed-to-checkout a.checkout-button { border-radius: 999px; background: var(--fm-magenta); font-weight: 700; letter-spacing: .1em; }
.co-body .wc-proceed-to-checkout a.checkout-button:hover { background: var(--fm-mauve-d); }
.co-body .cart-empty, .co-body .return-to-shop { text-align: center; }

/* ───────── LINE／Google 登入、會員中心 ───────── */
.fm-social { margin: 20px 0 4px; }
.fm-social-or { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 13px; color: var(--fm-text-2); }
.fm-social-or::before, .fm-social-or::after { content: ""; flex: 1; height: 1px; background: #e3d9cb; }
.fm-social-btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; margin: 0 0 10px; border-radius: 999px; font-size: 15px; font-weight: 700; text-decoration: none; transition: filter .2s; }
.fm-social-btn svg { width: 22px; height: 22px; }
.fm-social-btn.is-line { background: #06c755; color: #fff; }
.fm-social-btn.is-google { background: #fff; color: #3c4043; border: 1px solid #dadce0; }
.fm-social-btn:hover { filter: brightness(.95); }
.fm-social-note { margin: 8px 0 0; font-size: 12px; line-height: 1.7; color: var(--fm-text-2); }
.fm-social-note a { color: var(--fm-magenta); }
.mc-acc-track { margin-top: 16px; font-size: 14px; text-align: center; }
.woocommerce:has(> form.woocommerce-form-login) { max-width: 480px; margin-inline: auto; }
.woocommerce-account .woocommerce form.woocommerce-form-login { background: #fff; border: 0; border-radius: 20px; padding: 28px; }
.woocommerce-account .woocommerce form.woocommerce-form-login .button { width: 100%; border-radius: 999px; background: var(--fm-mauve); color: #fff; min-height: 46px; }
/* 會員中心 */
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: block; padding: 10px 16px; border-radius: 999px; color: var(--fm-text); font-weight: 700; text-decoration: none; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a, .woocommerce-account .woocommerce-MyAccount-navigation a:hover { background: var(--fm-yellow); color: var(--fm-mauve-d); }
.mc-acc { display: grid; gap: 22px; }
.mc-acc-alert { margin: 0; padding: 12px 16px; border-radius: 12px; background: #fff3c4; font-size: 14px; }
.mc-acc-hello { background: #fff; border-radius: 20px; padding: 26px 28px; }
.mc-acc-eyebrow { margin: 0 0 4px; font-family: var(--fm-display); font-size: 16px; letter-spacing: .14em; color: var(--fm-teal); }
.mc-acc-h { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: .06em; color: var(--fm-text); }
.mc-acc-sub { margin: 6px 0 0; font-size: 14px; color: var(--fm-text-2); }
.mc-acc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 20px 0 0; }
.mc-acc-stats div { padding: 14px 16px; border-radius: 14px; background: var(--fm-paper); }
.mc-acc-stats dt { font-size: 12px; color: var(--fm-text-2); }
.mc-acc-stats dd { margin: 4px 0 0; font-family: var(--fm-serif); font-size: 22px; font-weight: 700; color: var(--fm-mauve-d); }
.mc-acc-sec { background: #fff; border-radius: 20px; padding: 22px 26px; }
.mc-acc-sec-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.mc-acc-sec-head h3 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: .08em; color: var(--fm-mauve-d); }
.mc-acc-sec-head a { font-size: 13px; color: var(--fm-magenta); }
.mc-acc-orders { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mc-acc-order { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid #f0e9dc; }
.mc-acc-thumbs { display: flex; }
.mc-acc-thumb { width: 48px; height: 48px; border-radius: 10px; overflow: hidden; border: 2px solid #fff; background: var(--fm-cream); margin-left: -12px; }
.mc-acc-thumb:first-child { margin-left: 0; }
.mc-acc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mc-acc-order-main { display: grid; gap: 2px; min-width: 0; }
.mc-acc-order-title { font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-acc-order-meta { font-size: 12px; color: var(--fm-text-2); }
.mc-acc-status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; white-space: nowrap; }
.mc-acc-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--fm-yellow); }
.mc-acc-status.is-done i { background: var(--fm-teal); } .mc-acc-status.is-busy i { background: var(--fm-magenta); } .mc-acc-status.is-off i { background: #c9c2b8; }
.mc-acc-total { font-family: var(--fm-serif); font-weight: 700; white-space: nowrap; }
.mc-acc-acts { display: flex; gap: 6px; }
.mc-acc-btn { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 14px; border-radius: 999px; border: 1.5px solid var(--fm-mauve); color: var(--fm-mauve); font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.mc-acc-btn.is-solid { background: var(--fm-mauve); color: #fff; }
.mc-acc-empty { display: flex; align-items: center; gap: 20px; padding: 10px 0; }
.mc-acc-empty img { width: 64px; height: auto; }
.mc-acc-empty-title { margin: 0 0 4px; font-weight: 700; }
.mc-acc-empty p { margin: 0 0 10px; font-size: 14px; }
.mc-acc-pager { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.mc-acc-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.mc-acc-panel { background: #fff; border-radius: 20px; padding: 22px 24px; margin-bottom: 18px; }
.mc-acc-panel-h { margin: 0 0 14px; font-size: 16px; font-weight: 700; letter-spacing: .08em; color: var(--fm-mauve-d); }
.mc-acc-kv { margin: 0; display: grid; gap: 10px; }
.mc-acc-kv div { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.mc-acc-kv dd { margin: 0; color: var(--fm-text-2); }
.mc-acc-kv dd.is-on { color: var(--fm-teal); font-weight: 700; }
.mc-acc-hint { display: block; margin-top: 6px; font-size: 12px; color: var(--fm-text-2); }
.mc-acc-link { font-size: 14px; color: var(--fm-magenta); }
.mc-acc-save .button { border-radius: 999px; background: var(--fm-mauve); color: #fff; min-height: 46px; padding: 0 32px; }
.mc-acc-page-head { margin-bottom: 18px; }
@media (max-width: 767px) {
  .mc-acc-order { grid-template-columns: auto minmax(0, 1fr); }
  .mc-acc-status, .mc-acc-total { grid-column: 2; }
  .mc-acc-acts { grid-column: 1 / -1; }
  .mc-acc-cols { grid-template-columns: minmax(0, 1fr); }
  .mc-acc-hello, .mc-acc-sec { padding: 20px 18px; }
  .mc-acc-stats dd { font-size: 18px; }
}

/* 購物車頁：提示整列、左商品、右總計 */
.co-body .bde-cart > .woocommerce { display: grid !important; grid-template-columns: minmax(0, 1fr) 360px; gap: 0 28px; align-items: start; }
.co-body .bde-cart > .woocommerce > * { grid-column: 1 / -1; }
.co-body .bde-cart > .woocommerce > form.woocommerce-cart-form { grid-column: 1; width: auto; max-width: none; }
.co-body .bde-cart > .woocommerce > .cart-collaterals { grid-column: 2; width: auto; max-width: none; }
.co-body .bde-cart .cart-collaterals .cart_totals { width: 100%; float: none; }
.co-body .bde-cart table.shop_table td.product-name a { font-weight: 700; color: var(--fm-text); }
.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals th, .woocommerce-cart .cart_totals tr.woocommerce-shipping-totals td { display: block; width: 100%; text-align: left; }
.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals td::before { display: none; }
@media (max-width: 1023px) {
  .co-body .bde-cart > .woocommerce { grid-template-columns: minmax(0, 1fr); }
  .co-body .bde-cart > .woocommerce > .cart-collaterals { grid-column: 1; }
}
/* 購物車總計：運送方式由上而下、靠左（比照馬可 2026-10-24 手機版流程修正） */
.co-body .cart_totals table.shop_table, .co-body .cart_totals table.shop_table tbody { display: block; width: 100%; border: 0; }
.co-body .cart_totals table.shop_table tr:not(.woocommerce-shipping-totals) { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid #f0e9dc; }
.co-body .cart_totals table.shop_table tr:not(.woocommerce-shipping-totals) th, .co-body .cart_totals table.shop_table tr:not(.woocommerce-shipping-totals) td { display: block; border: 0; }
.co-body .cart_totals tr.woocommerce-shipping-totals { display: block; }
.co-body .cart_totals tr.woocommerce-shipping-totals th, .co-body .cart_totals tr.woocommerce-shipping-totals td { display: block; width: 100%; padding: 12px 0 4px; border: 0; text-align: left; }
.co-body .cart_totals tr.woocommerce-shipping-totals td::before { display: none !important; content: none !important; }
.co-body .woocommerce-shipping-destination, .co-body .woocommerce-shipping-calculator { display: none; }
.co-body .woocommerce-info, .co-body .woocommerce-message { background: #fff; border: 0; border-radius: 14px; color: var(--fm-text); }

/* ===== 2026-11-01 全站巡檢修正（使用者：主動檢查裁切與跑版） ===== */
/* 加入購物車等通知：原本沒樣式、壓在麵包屑下，還有瀏覽器藍色焦點框 */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-notices-wrapper .woocommerce-message, .woocommerce-notices-wrapper .woocommerce-info, .woocommerce-notices-wrapper .woocommerce-error { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 14px 0 20px !important; padding: 14px 18px !important; background: #fff !important; border: 0 !important; border-left: 4px solid var(--fm-teal) !important; border-radius: 14px; color: var(--fm-text); font-size: 14px; line-height: 1.6; list-style: none; outline: none !important; box-shadow: 0 6px 18px rgba(41, 77, 90, .06); }
.woocommerce-notices-wrapper .woocommerce-error { border-left-color: var(--fm-magenta) !important; }
.woocommerce-notices-wrapper .woocommerce-message::before, .woocommerce-notices-wrapper .woocommerce-info::before, .woocommerce-notices-wrapper .woocommerce-error::before { display: none; }
.woocommerce-notices-wrapper .woocommerce-message a, .woocommerce-notices-wrapper .woocommerce-message .button { order: 2; display: inline-flex; align-items: center; min-height: 32px; padding: 6px 16px !important; border-radius: 999px; background: var(--fm-magenta) !important; color: #fff !important; font-size: 13px; font-weight: 700; text-decoration: none !important; white-space: nowrap; }
/* 購物車：Breakdance 已藏「更新購物車」按鈕（數量自動更新），剩一列空白 */
.woocommerce-cart-form__contents tr:has(> td.actions) { display: none; }
/* Breakdance 清單項目裡的「文字＋連結＋文字」被拆成三行（會員專區） */
li.bde-f-container > .bde-f-text, li.bde-f-container > .bde-f-text-link { display: inline; }
/* 襯線字（Cormorant）的「~」很小像「-」，年齡區間（hd-sub-age、hm-cat-age）改用無襯線 */
/* 運送方式「免運費／價格」靠右 */
.co-body ul#shipping_method li label, .woocommerce-cart ul#shipping_method li label { width: 100%; }
/* 商品名稱換行時不要最後只剩一個字 */
.fm-co-name, .woocommerce-cart-form td.product-name a, .woocommerce-loop-product__title, .pd-title { text-wrap: pretty; }
/* 訂單摘要改成一列一列的 flex（表格的運送方式列只能佔左欄寬，「免運費」靠不了右、7-ELEVEN 被擠斷行） */
.co-body #order_review table.shop_table, .co-body #order_review table.shop_table thead, .co-body #order_review table.shop_table tbody, .co-body #order_review table.shop_table tfoot { display: block; width: 100%; }
.co-body #order_review table.shop_table tr { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 12px; }
.co-body #order_review table.shop_table tr > th, .co-body #order_review table.shop_table tr > td { display: block; border: 0; }
.co-body #order_review table.shop_table td.product-name, .co-body #order_review table.shop_table tfoot th { flex: 1 1 0; min-width: 0; }
.co-body #order_review table.shop_table td.product-name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.co-body #order_review table.shop_table td.product-total, .co-body #order_review table.shop_table thead th.product-total, .co-body #order_review table.shop_table tfoot td { flex: none; text-align: right; white-space: nowrap; }
.co-body #order_review table.shop_table tr + tr, .co-body #order_review table.shop_table tfoot tr { border-top: 1px solid #eee6da; }
.co-body #order_review tr.woocommerce-shipping-totals > th, .co-body #order_review tr.woocommerce-shipping-totals > td { flex: 1 1 100%; white-space: normal; text-align: left; }
