/* ═══════════════════════════════════════════════════════════════════════════
   日系可愛版型（tpl-kawaii）· 入門版就能用（Kelly 2026-11-19 拍板做成第四種正式版型）
   ═══════════════════════════════════════════════════════════════════════════
   白底＋四個粉彩（櫻粉、杏桃、薄荷、奶黃），字用暖棕不用純黑；標題粉圓體（Huninn）、內文思源黑；
   小圓角、白底標籤（不傾斜）、粉色區塊直邊色塊、無陰影按鈕（Kelly 2026-11-20 定稿；標題小花暫時拿掉）。裝飾全是 ::before／::after 與背景，不加 DOM。
   ⚠️ 粉彩只當底色與裝飾；可讀的字一律暖棕 ink，不把白字壓在粉彩上（對比不夠）。

   · 來源：design/site-styles/ 的提案稿（Kelly 2026-10-22 首頁＋/p、2026-11-19 首頁去英文小標與無框商品卡、/p 粉彩分類、商品單頁）。
     骨架取自 minimal.css（同一套 --ss-* token 骨架，已跟上 10-23 之後 renderer 的改動：首頁兩個一排、照片比例與
     --ps-photo-fit、最新消息列在最上面、頂列右上兩顆對位），選擇器收窄成 .tpl-kawaii，再疊上可愛的 token 與裝飾。
   · 跟其他版型一樣每條規則都掛在 .tpl-kawaii 底下；四份同時載，body class 決定誰生效。
   · site.css 照載：沒掛版型的規則直接沿用；掛在 :is(.tpl-a2,.tpl-b2) 的不會套到這裡，需要的這份自己寫。
   · 頂列與頁尾店名跟全站同一組，在 site.css「店名與頂列」的 :is(.tpl-kawaii,.brand-kawaii)；這份不寫店名字型、頂列底色。
   · 商品單頁的可愛樣式在 buy.css 的 `.ps-buy.product-page.brand-kawaii`（「買頁不分版型」的例外，Kelly 2026-11-19）。
   · 首頁商品：`home-grid`（兩個一排）用 /p 同一顆 .catalog-card，長相跟 /p 一樣；一個一排（舊站預設）是無框大卡。
   · DOM 契約照 docs/dom-structure-for-css.md；logo 規則照 §2.1 原文。可點元素至少 44×44。
   ═══════════════════════════════════════════════════════════════════════════ */

.tpl-kawaii{
  /* 粉彩 */
  --k-pink:#ffd3db;
  --k-pink-soft:#ffe9ee;       /* Kelly 11-20 底色改淡櫻粉後加深，相簿／常見問題／分類鈕才分得出來（muted 4.7） */
  --k-mint:#d3eedd;
  --k-butter:#fff0b3;
  --k-flower:#ef8fa3;          /* 只用在小花、波浪等裝飾 */
  --k-badge:#c4405c;           /* 購物車件數（白字，對比 4.9） */

  /* 顏色 token：對比（白底）ink 11.0、text 8.4、muted 5.2（粉底 4.9） */
  --ss-bg:#fff6f7;            /* Kelly 2026-11-20：淡櫻粉（10-22 原本是白） */
  --ss-surface:#ffffff;
  --ss-soft:var(--k-pink-soft);
  --ss-ink:#4a3530;
  --ss-text:#5c4640;
  --ss-muted:#83635b;
  --ss-line:#f2ddd5;
  --ss-accent:var(--k-flower);
  --ss-photo-bg:#ffffff;      /* 照片補邊白色（Kelly 2026-11-20，原 #fbe9e4） */
  --ss-scrim:rgba(74,53,48,.4);

  /* 字體 */
  --ss-font-body:"Noto Sans TC","PingFang TC",-apple-system,sans-serif;
  --ss-font-head:"Huninn","Noto Sans TC",sans-serif;
  --ss-font-card:"Huninn","Noto Sans TC",sans-serif;
  --ss-font-latin:"Quicksand";
  --ss-head-weight:400;
  --ss-leading:1.8;
  --ss-hero-size:28px;
  --ss-title-size:23px;
  --ss-eyebrow-font:700 12px/1 "Quicksand","Noto Sans TC",sans-serif;
  --ss-eyebrow-track:.12em;
  --ss-eyebrow-color:var(--ss-ink);
  --ss-faq-font:500 15px/1.6 "Noto Sans TC",sans-serif;

  /* 幾何：大圓角 */
  /* Kelly 2026-11-20「圓角不要弧度那麼大」：12／22／28 → 8／12／16；膠囊按鈕與標籤維持 pill */
  --ss-radius-sm:8px;
  --ss-radius-md:12px;
  --ss-radius-lg:16px;
  --ss-radius-pill:999px;
  --ss-gutter:20px;
  --ss-sec-y:56px;
  --ss-gap:22px;
  --ss-scroller-gap:14px;
  --ss-scroller-pad:6px;
  --ss-links-gap:14px;
  --ss-cols-desktop:3;        /* 首頁「一個一排」桌機變三欄（Kelly 2026-11-23）；兩個一排跟 /p 一樣吃 --ss-list-cols */

  /* 元件 */
  /* 頂列：高度、底色、底線、店名字型在 site.css「店名與頂列」（全站跟首頁同一組，Kelly 2026-10-23） */
  --ss-header-h:var(--hdr-h);
  --ss-header-bg:var(--hdr-bg);
  --ss-header-line:var(--hdr-line);
  --ss-sheet-bg:#ffffff;       /* 選單白底（Kelly 2026-11-20，原跟內容底色） */
  /* 最新消息列：墨棕底白字（Kelly 2026-11-20 從四案選定；薄荷、珊瑚在各自那份改成主粉彩一套） */
  --ss-news-bg:var(--ss-ink);
  --ss-news-ink:#ffffff;
  --ss-news-line:0;
  --ss-hero-pad:0;             /* Kelly 2026-11-20：輪播滿版、不要圓角（原 14px 內縮＋28 圓角） */
  --ss-hero-radius:0;
  --ss-strip-row:2;
  --ss-text-row:3;
  --ss-strip-justify:center;
  --ss-dot-hit:24px;          /* Kelly 11-19：點與點太散；高仍 44，換張主要靠滑照片 */
  --ss-dot-w:8px;
  --ss-dot-on-w:22px;
  --ss-dot-h:8px;
  --ss-dot-radius:8px;
  --ss-dot:#f3cdd4;
  --ss-dot-on:var(--k-flower);
  --ss-nav-bg:rgba(255,255,255,.92);
  --ss-nav-ink:var(--ss-ink);
  --ss-footer-bg:var(--k-pink-soft);   /* Kelly 2026-11-20：頁尾跟相簿／常見問題同一個淡粉（原淡杏桃） */
  --k-photo-radius:8px;               /* 商品照圓角（Kelly 2026-11-20「不要那麼圓」，原 18） */

  /* 商品總覽 /p 與首頁「兩個一排」：手機兩欄、桌機三欄 */
  --ss-list-pad:22px var(--ss-gutter) 40px;
  --ss-list-gap:16px;
  --ss-list-title-size:26px;
  --ss-list-eyebrow-font:500 13px/1.6 "Noto Sans TC",sans-serif;
  --ss-list-row-gap:28px;
  --ss-list-col-gap:14px;
  --ss-list-cols:3;
  --ss-chip-bg:#fff;
  --ss-chip-line:1.5px solid var(--ss-line);
  --ss-chip-on-bg:var(--ss-ink);
  --ss-chip-on-ink:#ffffff;
  --ss-veil:rgba(255,255,255,.55);
  --ss-badge:var(--k-badge);

  /* 裝飾圖形（mask 用，顏色由 background-color 決定，所以仍吃 token） */
  --k-bloom:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg%3E%3Ccircle cx='12' cy='6' r='4.6'/%3E%3Ccircle cx='17.7' cy='10.2' r='4.6'/%3E%3Ccircle cx='15.5' cy='17' r='4.6'/%3E%3Ccircle cx='8.5' cy='17' r='4.6'/%3E%3Ccircle cx='6.3' cy='10.2' r='4.6'/%3E%3C/g%3E%3C/svg%3E");
  --k-out:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 16 16 8M9 8h7v7'/%3E%3C/svg%3E");
}

.tpl-kawaii{
  margin:0;width:100%;max-width:780px;margin-inline:auto;min-height:100dvh;
  background:var(--ss-bg);color:var(--ss-ink);
  font-family:var(--ss-font-body);font-size:15px;line-height:var(--ss-leading);
  -webkit-font-smoothing:antialiased;
}
.tpl-kawaii *,.tpl-kawaii *::before,.tpl-kawaii *::after{box-sizing:border-box}
.tpl-kawaii :is(h1,h2,h3){margin:0;font-family:var(--ss-font-head);font-weight:var(--ss-head-weight);line-height:1.4}
.tpl-kawaii p{margin:0}
.tpl-kawaii a{color:inherit;text-decoration:none}
.tpl-kawaii button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
.tpl-kawaii svg{width:20px;height:20px;flex-shrink:0}
.tpl-kawaii img{display:block;max-width:100%;object-fit:cover;background:var(--ss-photo-bg)}
.tpl-kawaii [hidden],.tpl-kawaii .off{display:none!important}
.tpl-kawaii :focus-visible{outline:2px solid var(--ss-ink);outline-offset:3px}
.tpl-kawaii :is(a,button,summary,label){-webkit-tap-highlight-color:transparent}

/* ── 眼眉字（英文小標）＋區塊標題 ─────────────────────────────────────── */
.tpl-kawaii .eyebrow{font:var(--ss-eyebrow-font);letter-spacing:var(--ss-eyebrow-track);text-transform:uppercase;color:var(--ss-eyebrow-color)}
.tpl-kawaii .rule{display:none}
.tpl-kawaii .sec-title{font-size:var(--ss-title-size);letter-spacing:.02em;text-wrap:balance}
.tpl-kawaii .hint{font-size:12px;color:var(--ss-muted)}

/* ── 頁首（§2.1 logo 規則原文） ─────────────────────────────────────────── */
.tpl-kawaii .site-header{position:sticky;top:0;z-index:45;display:flex;align-items:center;gap:12px;min-height:var(--ss-header-h);padding:2px var(--ss-gutter);background:var(--ss-header-bg);border-bottom:var(--ss-header-line)}
.tpl-kawaii .site-header .brand-logo{max-height:32px;max-width:160px;width:auto;height:auto;object-fit:contain;flex:0 0 auto;background:none}
.tpl-kawaii .site-header .brand{flex:0 1 auto;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;line-height:44px}
.tpl-kawaii .site-header:has(.brand.off) .brand-logo{max-width:100%;min-width:0;flex:0 1 auto}
.tpl-kawaii .brand-home{display:inline-flex;align-items:center;min-height:44px;flex:0 1 auto;min-width:0}
/* 漢堡與會員鈕跟其他頁 `.list-nav`（右邊距 16、44 格）落在同一點（Kelly 2026-11-18 對位）。 */

/* ── 選單抽屜（動態沿用 site.css 的 keyframes） ─────────────────────────── */

/* ── 最新消息跑馬燈與彈窗 ───────────────────────────────────────────────── */
.tpl-kawaii .news-bar{box-sizing:border-box;width:100%;height:44px;padding:0 var(--ss-gutter) 0 calc(var(--ss-gutter) + 25px);display:flex;align-items:center;gap:10px;border:0;border-bottom:var(--ss-news-line);background:var(--ss-news-bg);color:var(--ss-news-ink);cursor:pointer}
.tpl-kawaii .news-bar>svg.news-arrow{width:15px;height:15px;opacity:.7}
.tpl-kawaii .news-bar:focus-visible{outline-color:var(--ss-news-ink);outline-offset:-4px}
.tpl-kawaii .news-window{flex:1;min-width:0;height:44px;overflow:hidden}
.tpl-kawaii .news-track{display:block;transition:transform .5s cubic-bezier(.4,0,.2,1)}
.tpl-kawaii .news-line{display:block;font-size:13.5px;line-height:44px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}
.tpl-kawaii .news-dialog{position:fixed;inset:0;z-index:100;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:104px 24px 24px;border:0;background:transparent;overflow-y:auto;color:var(--ss-ink)}
.tpl-kawaii .news-dialog[open]{display:flex;align-items:flex-start;justify-content:center}
.tpl-kawaii .news-dialog::backdrop{background:var(--ss-scrim)}
.tpl-kawaii .news-card{position:relative;width:100%;max-width:382px;max-height:78vh;overflow-y:auto;background:var(--ss-surface);border-radius:var(--ss-radius-lg);padding:28px 24px 24px;box-shadow:0 16px 48px rgba(0,0,0,.16)}
.tpl-kawaii .news-card:focus{outline:none}
.tpl-kawaii .news-close{position:absolute;top:8px;right:8px;width:44px;height:44px;font:400 18px/44px sans-serif}
.tpl-kawaii .news-article{padding-right:32px;overflow-wrap:anywhere}
.tpl-kawaii .news-article time{display:block;font-size:12px;letter-spacing:.08em;color:var(--ss-muted)}
.tpl-kawaii .news-article h2{margin:12px 0;font-size:19px;line-height:1.5}
.tpl-kawaii .news-body{line-height:1.85}
.tpl-kawaii .news-nav{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid var(--ss-line);margin-top:24px;padding-top:16px}
.tpl-kawaii .news-nav button{min-height:44px}
.tpl-kawaii .news-nav span{font-size:13px;color:var(--ss-muted)}
@media(prefers-reduced-motion:reduce){.tpl-kawaii .news-track{transition:none}}

/* ── Hero：照片 → 點點／註腳 → 標題。.hero-media 拆開（display:contents），
      .hero 用 grid 排三列；左右鈕跟照片疊在同一格，所以不需要另外的定位框。 ── */
.tpl-kawaii .hero{display:grid;grid-template-columns:minmax(0,1fr);padding:var(--ss-hero-pad)}
.tpl-kawaii .hero-media{display:contents}
.tpl-kawaii .hero-track{grid-area:1/1;display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:var(--ss-hero-radius)}
.tpl-kawaii .hero-track::-webkit-scrollbar{display:none}
.tpl-kawaii .hero-img{flex:0 0 100%;width:100%;min-width:0;aspect-ratio:4/5;scroll-snap-align:start;scroll-snap-stop:always;user-select:none;-webkit-user-drag:none}
.tpl-kawaii .hero-empty{width:100%;aspect-ratio:4/5;display:grid;place-items:center;color:var(--ss-muted);background:linear-gradient(135deg,var(--ss-soft) 0%,var(--ss-line) 48%,var(--ss-soft) 100%)}
.tpl-kawaii .hero-nav{display:none}
.tpl-kawaii .hero-strip{grid-row:var(--ss-strip-row);display:flex;align-items:center;justify-content:var(--ss-strip-justify);gap:16px;color:var(--ss-muted);font-size:12px;line-height:1.6}
.tpl-kawaii .hero-text{grid-row:var(--ss-text-row);position:relative;display:flex;flex-direction:column;gap:12px}
.tpl-kawaii .hero-title{font-size:var(--ss-hero-size);line-height:1.45;letter-spacing:.04em}
.tpl-kawaii .hero-sub{color:var(--ss-muted);line-height:1.85}
.tpl-kawaii .dots{display:flex;align-items:center;flex-shrink:0}
.tpl-kawaii .dots i{display:grid;place-items:center;width:var(--ss-dot-hit);height:44px;cursor:pointer}
.tpl-kawaii .dots i::before{content:"";display:block;width:var(--ss-dot-w);height:var(--ss-dot-h);border-radius:var(--ss-dot-radius);background:var(--ss-dot);transition:width .25s ease,background-color .25s ease}
.tpl-kawaii .dots i.on::before{width:var(--ss-dot-on-w);background:var(--ss-dot-on)}
@media(hover:hover) and (pointer:fine){
  .tpl-kawaii .hero-nav{grid-area:1/1;align-self:center;z-index:2;display:grid;place-items:center;width:44px;height:44px;margin:0 12px;border-radius:var(--ss-radius-pill);background:var(--ss-nav-bg);color:var(--ss-nav-ink)}
  .tpl-kawaii .hero-nav.prev{justify-self:start}
  .tpl-kawaii .hero-nav.next{justify-self:end}
  .tpl-kawaii .hero-nav.next svg{transform:scaleX(-1)}
}

/* ── 區塊 ──────────────────────────────────────────────────────────────── */
.tpl-kawaii .sec{position:relative;display:flex;flex-direction:column;gap:var(--ss-gap);padding:var(--ss-sec-y) var(--ss-gutter);scroll-margin-top:72px}
.tpl-kawaii .sec-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px 12px}
.tpl-kawaii .sec-head .sec-title{flex-basis:100%}
.tpl-kawaii .sec>.eyebrow+.rule+.sec-title,.tpl-kawaii .sec>.eyebrow+.sec-title{margin-top:calc(var(--ss-gap) * -1 + 8px)}
.tpl-kawaii .sec-text{line-height:2;color:var(--ss-text)}
.tpl-kawaii .sec-photo{width:100%;aspect-ratio:3/2;border-radius:var(--ss-radius-md)}

.tpl-kawaii .gallery-scroller,.tpl-kawaii .video-scroller{display:flex;gap:var(--ss-scroller-gap);overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;margin:0 calc(var(--ss-gutter) * -1);padding:var(--ss-scroller-pad) var(--ss-gutter);scroll-padding-inline:var(--ss-gutter)}
.tpl-kawaii :is(.gallery-scroller,.video-scroller)::-webkit-scrollbar{display:none}
.tpl-kawaii .gallery-img{flex:0 0 82%;width:82%;min-width:0;aspect-ratio:3/2;border-radius:var(--ss-radius-md);scroll-snap-align:start}
.tpl-kawaii .video-item{flex:0 0 82%;width:82%;aspect-ratio:16/9;border:0;border-radius:var(--ss-radius-md);scroll-snap-align:start;background:var(--ss-photo-bg)}
.tpl-kawaii .video-fallback{display:grid;place-items:center;background:var(--ss-soft)}

/* 商品卡：DOM 照 B2 順序（圖→標籤→名稱→描述→細線→時間＋價格→CTA→看內容）。 */
.tpl-kawaii .product-card{position:relative;display:flex;flex-direction:column;min-width:0}
.tpl-kawaii .product-photo{width:100%;aspect-ratio:var(--ps-photo-ratio);object-fit:var(--ps-photo-fit)}  /* site.css：店家照片整張顯示（Kelly 2026-11-16） */
.tpl-kawaii .product-name{font-family:var(--ss-font-card);overflow-wrap:anywhere}
.tpl-kawaii .product-desc{color:var(--ss-muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tpl-kawaii .product-rule{display:none}
.tpl-kawaii .product-duration{display:flex;align-items:flex-start;gap:6px;font-size:13px;line-height:1.6;color:var(--ss-muted)}
.tpl-kawaii .product-duration svg{width:14px;height:14px;margin-top:3px}
.tpl-kawaii .product-price{font-family:var(--ss-font-card);font-variant-numeric:tabular-nums;white-space:nowrap}
.tpl-kawaii .product-cta{display:none}
.tpl-kawaii .product-open .link-arrow,.tpl-kawaii .product-open svg{width:16px;height:16px}
.tpl-kawaii .is-soldout .product-photo{opacity:.45}
.tpl-kawaii .is-soldout :is(.product-name,.product-price){color:var(--ss-muted)}
.tpl-kawaii .sec-products>.product-card>.catalog-tag{left:12px;top:12px;max-width:calc(100% - 24px)}
.tpl-kawaii .sec-products>.product-card:not(:has(.product-photo))>.catalog-tag{position:static;align-self:flex-start}
.tpl-kawaii .site-products-more{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 20px}
.tpl-kawaii .site-products-more svg{width:18px;height:18px}

.tpl-kawaii .faq-q{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:56px;padding:14px 0;text-align:left}
.tpl-kawaii .faq-q h3{font:var(--ss-faq-font)}
.tpl-kawaii .faq-toggle{position:relative;flex-shrink:0;width:24px;height:24px}
.tpl-kawaii .faq-toggle::before,.tpl-kawaii .faq-toggle::after{content:"";position:absolute;left:50%;top:50%;width:12px;height:1.5px;background:currentColor;transform:translate(-50%,-50%);transition:transform .2s ease}
.tpl-kawaii .faq-toggle::after{transform:translate(-50%,-50%) rotate(90deg)}
.tpl-kawaii .faq-item.open .faq-toggle::after{transform:translate(-50%,-50%) rotate(0)}
.tpl-kawaii .faq-a{display:none;color:var(--ss-text);font-size:14px;line-height:1.9;padding:0 40px 18px 0}
.tpl-kawaii .faq-item.open .faq-a{display:block}

.tpl-kawaii .links-list{display:flex;flex-direction:column;gap:var(--ss-links-gap)}
.tpl-kawaii .link-item{display:grid;grid-template-columns:20px minmax(0,1fr) 20px;align-items:center;gap:12px}
.tpl-kawaii .link-label{min-width:0;overflow-wrap:anywhere}

/* 購物車鈕：固定右下、留在置中的 780 版面內。 */
.tpl-kawaii .cart-fab{position:fixed;right:max(calc(20px + env(safe-area-inset-right,0px)),calc((100vw - 780px)/2 + 20px));bottom:calc(24px + env(safe-area-inset-bottom,0px));z-index:40;display:grid;place-items:center;width:58px;height:58px}
.tpl-kawaii .cart-fab svg{width:24px;height:24px}
.tpl-kawaii .cart-count{position:absolute;top:-4px;right:-4px;display:grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:11px;font:600 12px/1 var(--ss-font-latin),sans-serif}

/* ── 頁尾：靠左緊湊（Kelly 2026-10-07 首頁也跟 /p 同一組），顏色吃 token ── */
.tpl-kawaii .site-footer{position:relative;display:flex;flex-direction:column;padding:40px var(--ss-gutter) 40px;background:var(--ss-footer-bg);text-align:left}
.tpl-kawaii .store-profile{display:flex;flex-direction:column;gap:2px;text-align:left}
.tpl-kawaii .store-profile-name{margin:0 0 6px}
.tpl-kawaii .store-profile p{margin:0;font-size:13px;line-height:1.7;color:var(--ss-muted);overflow-wrap:anywhere}
.tpl-kawaii .store-social{display:flex;flex-wrap:wrap;gap:0 4px;margin:6px 0 -6px -12px}
.tpl-kawaii .store-social a{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px}
.tpl-kawaii .store-social span{display:flex}
.tpl-kawaii .site-footer .shopping-info-links{justify-content:flex-start;gap:0 18px;max-width:none;margin:8px 0 0}
.tpl-kawaii .site-footer :is(.shopping-info-links>a,.shopping-info-links>button){display:inline-flex;align-items:center;min-height:44px;margin:0;color:var(--ss-text);font-size:12.5px;text-decoration:none}
.tpl-kawaii .copyright{margin:4px 0 0;font-size:11px;line-height:1.7;color:var(--ss-muted)}
.tpl-kawaii .copyright .byline-brand{display:inline-block;padding:13px 0;margin:-13px 0;text-decoration:underline;text-decoration-color:var(--ss-line);text-underline-offset:3px}

/* ── 桌機（≥768）：hero 4:3、首頁「一個一排」變 --ss-cols-desktop 欄（商品照比例讀 site.css 的 --ps-photo-ratio） ── */
@media(min-width:768px){
  .tpl-kawaii :is(.hero-img,.hero-empty){aspect-ratio:4/3}
  .tpl-kawaii .sec-products{display:grid;grid-template-columns:repeat(var(--ss-cols-desktop),minmax(0,1fr));align-items:start}
  .tpl-kawaii .sec-products>:is(.sec-head,.site-products-more){grid-column:1/-1}
  .tpl-kawaii .gallery-img,.tpl-kawaii .video-item{flex-basis:48%;width:48%}
}

/* ═══ 商品總覽 /p 骨架（尺寸吃 --ss-list-*／--ss-chip-*；極簡自己的細節在檔尾） ═══
   DOM 照契約 §8：.list-nav 頂列 → .list-body（標題、.product-filters、卡片格、回首頁）→ 頁尾。
   卡片是總覽專用 DOM（.catalog-photo／.catalog-body），跟首頁卡共用標籤、價格、售完語意。
   site.css 的 .product-list:is(.tpl-a2,.tpl-b2) 規則不會套到這裡；它沒掛版型的那幾條
   （.list-nav .header-cart／.menu-open 尺寸、.catalog-veil、.catalog-tag）照樣沿用。 */
.product-list.tpl-kawaii .list-nav{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:8px;min-height:var(--ss-header-h);padding:0 16px 0 8px;background:var(--ss-header-bg);border-bottom:var(--ss-header-line)}
.product-list.tpl-kawaii .list-back{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0}
.product-list.tpl-kawaii .list-back svg{width:22px;height:22px}
.product-list.tpl-kawaii .list-nav .brand{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;line-height:44px}
.tpl-kawaii .header-member + .menu-open{margin-left:0}  /* 首頁：會員鈕＋選單鈕緊貼（Kelly 2026-11-09）；選單其他規則在 site.css */
.product-list.tpl-kawaii :is(.header-cart,.menu-open){color:var(--ss-ink)}
.product-list.tpl-kawaii .header-cart .cart-count{background:#d83b3b;color:#fff}  /* 全版型統一紅圈白字（Kelly 2026-12-02） */

.product-list.tpl-kawaii .list-body{display:flex;flex-direction:column;gap:var(--ss-list-gap);padding:var(--ss-list-pad)}
.product-list.tpl-kawaii .list-body>.sec-head{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.product-list.tpl-kawaii .list-body>.sec-head .eyebrow{font:var(--ss-list-eyebrow-font);letter-spacing:.04em;text-transform:none;color:var(--ss-muted)}
.product-list.tpl-kawaii .list-body>.sec-head .sec-title{font-size:var(--ss-list-title-size)}

/* 分類篩選：一列橫捲、不換行（換行會把第一張卡推出畫面，契約 §8.3）；出血到畫面邊。 */
.product-list.tpl-kawaii .product-filters,.tpl-kawaii.tpl-macaron .home-filters{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 calc(var(--ss-gutter) * -1);padding:2px var(--ss-gutter)}
.product-list.tpl-kawaii .product-filters::-webkit-scrollbar,.tpl-kawaii.tpl-macaron .home-filters::-webkit-scrollbar{display:none}
.product-list.tpl-kawaii .product-filter,.tpl-kawaii .home-filter{display:inline-flex;align-items:center;gap:6px;flex-shrink:0;min-height:44px;padding:0 16px;white-space:nowrap;border-radius:var(--ss-radius-pill);background:var(--ss-chip-bg);border:var(--ss-chip-line);color:var(--ss-ink);font-size:14px}
.product-list.tpl-kawaii .product-filter.on,.tpl-kawaii .home-filter.on{background:var(--ss-chip-on-bg);border-color:var(--ss-chip-on-bg);color:var(--ss-chip-on-ink);font-weight:500}
.product-list.tpl-kawaii .product-filter-count{font-style:normal;font-size:12px;opacity:.7;font-variant-numeric:tabular-nums}

/* 卡片格：手機兩欄、桌機 --ss-list-cols 欄 */
:is(.product-list,.home-grid).tpl-kawaii .sec-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ss-list-row-gap) var(--ss-list-col-gap);align-items:stretch}  /* /p 與首頁「兩個一排」共用（Kelly 2026-11-15） */
.product-list.tpl-kawaii .list-body>.sec-products{padding:0;margin:0;border:0;background:none}
.tpl-kawaii .catalog-card .catalog-photo{position:relative;overflow:hidden;aspect-ratio:var(--ps-photo-ratio);border-radius:var(--ss-radius-md);background:var(--ss-photo-bg)}
.tpl-kawaii .catalog-card .catalog-photo .product-photo{width:100%;height:100%;aspect-ratio:auto;border-radius:0}
.tpl-kawaii .catalog-card .catalog-veil{background:var(--ss-veil)}
.tpl-kawaii .catalog-card .catalog-body{display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;padding:10px 2px 0}
.tpl-kawaii .catalog-card .catalog-body .product-name{font-size:16px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tpl-kawaii .catalog-card .catalog-body .product-desc{display:none}
.tpl-kawaii .catalog-card .catalog-body .product-stock{font-size:12px;line-height:1.5;color:var(--ss-muted)}
.tpl-kawaii .catalog-card .catalog-body .product-cta{display:flex;align-items:center;justify-content:center;gap:4px;align-self:stretch;margin-top:auto;min-height:40px;padding:0 8px;text-align:center;overflow-wrap:anywhere}
.tpl-kawaii .catalog-card .catalog-body>:nth-last-child(2){margin-bottom:10px}
.product-list.tpl-kawaii .list-body>.site-return-button{display:flex;align-items:center;justify-content:center;min-height:48px;margin-top:16px}

@media(min-width:768px){
  :is(.product-list,.home-grid).tpl-kawaii .sec-products{grid-template-columns:repeat(var(--ss-list-cols),minmax(0,1fr))}
  .tpl-kawaii .sec-products .product-desc{display:none}  /* 一排只有一個商品才出兩行描述，一排兩個以上（手機兩個一排、桌機三欄）不出（Kelly 2026-11-23） */
}


/* ═══ 可愛的裝飾（提案稿 kawaii.css，2026-10-22／11-19） ════════════════════════ */

/* 頁面底：桌機兩側白色（Kelly 2026-11-20，原彩色點點）。⚠️ 寫死在 <html>：token 掛在 body 讀不到。
   馬卡龍的 body 也掛 tpl-kawaii，這一條就涵蓋，各色檔不用再寫。 */
html:has(body.tpl-kawaii){background:#fff}
.tpl-kawaii{box-shadow:0 0 0 1px rgba(239,143,163,.12)}

/* 選單：小圓點彩色項目、會員專區粉色膠囊 */
/* 選單項目前的彩色小圓點拿掉（Kelly 2026-11-20） */

/* 最新消息：顏色走 --ss-news-bg／--ss-news-ink（日系粉色墨棕白字、馬卡龍各自主色） */
.tpl-kawaii .news-bar{border-radius:0}
.tpl-kawaii .news-card{border:2px solid var(--ss-line)}

/* Hero：圓角照片 → 點點／註腳 → 標題直接落在底色上（Kelly 10-22：不要貼紙卡、不要一塊一塊） */
.tpl-kawaii .hero-strip{padding:12px var(--ss-gutter) 0}   /* 輪播滿版後字自己內縮（11-20） */
.tpl-kawaii .hero-text{padding:20px var(--ss-gutter) 0}
.tpl-kawaii .hero-sub{font-size:14px}

/* 眼眉：首頁的英文小標（About／Gallery／Plans…）不顯示，標題旁那朵小花就是區塊記號（Kelly 2026-11-19「不要英文」）。
   /p 的「店名・全部商品」是一行灰字（骨架的 --ss-list-eyebrow-font），不做成膠囊。 */
.tpl-kawaii:not(.product-list) .eyebrow{display:none}
.tpl-kawaii:not(.product-list) .sec>.eyebrow+.sec-title,.tpl-kawaii:not(.product-list) .sec>.eyebrow+.rule+.sec-title{margin-top:0}
.product-list.tpl-kawaii .list-body>.sec-head .sec-title{margin-top:2px}

/* 標題後一朵小花 */
.tpl-kawaii .sec-title::after{content:"";display:inline-block;width:.75em;height:.75em;margin-left:.3em;vertical-align:.02em;background:var(--k-flower);-webkit-mask:var(--k-bloom) center/contain no-repeat;mask:var(--k-bloom) center/contain no-repeat}

/* 粉色區塊（照片、Q&A）：直邊色塊（Kelly 2026-11-20 拿掉波浪，也不再上下留 12px） */
.tpl-kawaii :is(.sec-gallery,.sec-faq){background:var(--k-pink-soft)}
.tpl-kawaii .site-footer{margin-top:24px}

/* 關於、照片：淡陰影（白框 11-20 拿掉） */
.tpl-kawaii .sec-photo{box-shadow:0 8px 22px rgba(196,64,92,.1)}
.tpl-kawaii .gallery-img{box-shadow:0 6px 16px rgba(196,64,92,.1)}

/* 商品卡共用：名稱粉圓、價格杏桃膠囊、貼紙標籤。Kelly 10-22／11-19「不要一格一格」：卡片沒有底色與框，
   圓角照片直接放在白底上；顏色只留在照片上的狀態標籤、選中的分類（墨棕）。
   價格只放字、無底色無膠囊（Kelly 2026-11-19，原本是杏桃膠囊）；特價照 site.css 珊瑚紅＋劃掉的原價。 */
.tpl-kawaii .product-price{display:inline-flex;align-items:center;font-family:"Noto Sans TC",sans-serif;font-size:14.5px;font-weight:700}
.tpl-kawaii .product-open{display:none}
.tpl-kawaii .catalog-tag{height:26px;padding:0 11px;border:0;border-radius:999px;background:#fff;color:var(--ss-ink);font:700 11.5px/1 "Noto Sans TC",sans-serif;box-shadow:0 2px 6px rgba(74,53,48,.12)}
/* 標籤一律白底（Kelly 2026-11-20，原依狀態薄荷／粉／奶黃／灰）；售完字色淡一階 */
.tpl-kawaii .catalog-tag.soldout{color:var(--ss-text)}
.tpl-kawaii .site-products-more{margin-top:8px;border:2px solid var(--ss-ink);border-radius:999px;background:#fff;color:var(--ss-ink);font-weight:700}

/* 首頁「一個一排」（舊站預設；新站預設是兩個一排）：同一套無框語彙放大成一欄——
   圓角照片 → 名稱 → 兩行描述 → 時間＋價格。限定 :not(.home-grid)，兩個一排用的是下面的 .catalog-card。 */
.tpl-kawaii:not(.product-list):not(.home-grid) .sec-products{gap:32px}
.tpl-kawaii:not(.product-list):not(.home-grid) .sec-products>.sec-head{margin-bottom:-8px}
/* 按下只有「立即購買」縮（site.css 全站那條），照片不跟著縮（Kelly 2026-11-30） */
.tpl-kawaii:not(.product-list):not(.home-grid) .product-photo{border-radius:var(--k-photo-radius)}
.tpl-kawaii:not(.product-list):not(.home-grid) .product-name{margin:12px 2px 0;font-size:18px;line-height:1.45}
.tpl-kawaii:not(.product-list):not(.home-grid) .product-desc{margin:4px 2px 0;font-size:14px;line-height:1.75}
.tpl-kawaii:not(.product-list):not(.home-grid) .product-meta{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin:8px 2px 0}
.tpl-kawaii:not(.product-list):not(.home-grid) .product-duration{font-size:12px;line-height:1.5}
.tpl-kawaii:not(.product-list):not(.home-grid) .product-duration svg{width:12px;height:12px;margin-top:2px}
.tpl-kawaii .sec-products>.product-card>.catalog-tag{left:10px;top:10px;max-width:calc(100% - 20px)}

/* 兩個一排（首頁 home-grid）與 /p：同一顆 .catalog-card（Kelly 2026-11-15），長相照 /p 提案（10-22） */
.home-grid.tpl-kawaii .sec-products>:is(.sec-head,.site-products-more){grid-column:1/-1}
.home-grid.tpl-kawaii .sec-products>.sec-head{margin-bottom:-6px}
.tpl-kawaii .catalog-card{padding:0;background:none;border:0;border-radius:0}
.tpl-kawaii .catalog-card .catalog-photo{border-radius:var(--k-photo-radius)}
.tpl-kawaii .catalog-card .catalog-photo .catalog-tag{left:10px;top:10px;max-width:calc(100% - 20px)}
.tpl-kawaii .catalog-card .catalog-body .product-name{margin:0}
.tpl-kawaii .catalog-card .catalog-body .product-duration{font-size:12px;line-height:1.5}
.tpl-kawaii .catalog-card .catalog-body .product-duration svg{width:12px;height:12px;margin-top:2px}
.tpl-kawaii .catalog-card .catalog-body .product-price{margin-top:4px}
.tpl-kawaii .catalog-card .catalog-body .product-cta{border:1.5px solid #ebcfc6;border-radius:999px;background:#fff;color:var(--ss-ink);font-size:13.5px;font-weight:500;letter-spacing:.04em}
.tpl-kawaii .catalog-card .catalog-body .product-cta.is-external::after{content:"";width:14px;height:14px;background:currentColor;-webkit-mask:var(--k-out) center/contain no-repeat;mask:var(--k-out) center/contain no-repeat}
.tpl-kawaii .catalog-card .catalog-body .product-cta.is-disabled{border-color:transparent;background:#f3ecea;color:var(--ss-text)}
@media(hover:hover){
  /* Kelly 2026-11-20：點過／滑過不要深色線，改小花色（薄荷自動是葉綠） */
  .tpl-kawaii .catalog-card:hover .product-cta:not(.is-disabled){border-color:var(--k-flower)}
  :is(.product-list.tpl-kawaii .product-filter,.tpl-kawaii .home-filter):not(.on):hover{border-color:var(--k-flower)}
}

/* /p 分類：選中暖棕（Kelly 2026-11-19）、沒選到的白底細框（11-20）——都在上面的 --ss-chip-* token */
.product-list.tpl-kawaii .list-body>.site-return-button{margin-top:16px;border:2px solid var(--ss-ink);border-radius:999px;background:#fff;color:var(--ss-ink);font-weight:700}

/* Q&A：白色圓角卡，Q 字小圓章，加減號在奶黃圓裡 */
.tpl-kawaii .sec-faq{gap:12px}
.tpl-kawaii .sec-faq>.sec-title{margin-bottom:8px}
.tpl-kawaii .faq-item{padding:0 16px;background:var(--ss-surface);border-radius:10px}
.tpl-kawaii .faq-q{justify-content:flex-start}
.tpl-kawaii .faq-q::before{content:"Q";flex-shrink:0;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--k-pink);font:700 14px/1 "Quicksand",sans-serif}
.tpl-kawaii .faq-q h3{flex:1;min-width:0}
.tpl-kawaii .faq-toggle{width:28px;height:28px;border-radius:50%;background:var(--k-butter)}
.tpl-kawaii .faq-toggle::before,.tpl-kawaii .faq-toggle::after{width:11px;height:2px;border-radius:2px}
.tpl-kawaii .faq-a{padding:0 4px 18px 44px}

/* 聯絡：粉彩膠囊按鈕（無陰影，Kelly 2026-11-20） */
.tpl-kawaii .link-item{min-height:58px;padding:0 22px;border-radius:999px;background:var(--k-pink)}
.tpl-kawaii .link-item:nth-child(3n+2){background:var(--k-mint)}
.tpl-kawaii .link-item:nth-child(3n+3){background:var(--k-butter)}
.tpl-kawaii .link-label{text-align:center;font-family:"Huninn","Noto Sans TC",sans-serif;font-weight:400;font-size:16px}

/* 購物車鈕：櫻粉圓＋白邊 */
.tpl-kawaii .cart-fab{border-radius:50%;background:var(--k-pink);color:var(--ss-ink);border:3px solid #fff;box-shadow:0 6px 16px rgba(196,64,92,.22)}
.tpl-kawaii .cart-count{background:#d83b3b;color:#fff;border:2px solid #fff}

/* 頁尾：--ss-footer-bg 色塊、直邊 */
.tpl-kawaii .store-social a{color:var(--ss-ink)}

@media(min-width:768px){
  .tpl-kawaii{--ss-hero-size:36px;--ss-title-size:27px;--ss-gutter:36px;--ss-sec-y:72px}
  .tpl-kawaii{--ss-list-pad:32px var(--ss-gutter) 56px;--ss-list-title-size:30px;--ss-list-row-gap:40px;--ss-list-col-gap:24px}
  .tpl-kawaii .hero-text{padding:28px var(--ss-gutter) 0}
  .tpl-kawaii:not(.product-list):not(.home-grid) .sec-products{gap:40px 24px}
}
/* 分類（site.css `.menu-sub`）：每一項前面一朵小花（薄荷版吃同一個 `--k-bloom`，自動換成葉子）。
   縮排對齊主項文字（內距 16＋圓點 10＋間距 16）。 */   /* 沒有分隔線，不設 --menu-line */

/* 暫時拿掉小圖示（Kelly 2026-11-20「暫時把小 icon 都刪除」）：標題旁的小花／葉子、選單分類前的小花。
   規則本體留著，要恢復就刪這段。商品頁標題的小花在 buy.css 同名段落。選單分類前的小花那一半在 site.css 選單段（2026-12-01 選單搬過去）。 */
.tpl-kawaii .sec-title::after{content:none}
/* 首頁主標區與「關於」區塊白底（Kelly 2026-11-20） */
.tpl-kawaii :is(.hero,.sec-about){background:#fff}

/* ═══ 馬卡龍家族（Kelly 2026-11-20；2026-11-22 改成吃色票）═══════════════════════════
   一套規則給所有顏色：`--m-*` 是色票（macaron-colors.json 產進 site.css），這裡只決定誰吃哪一格。
   ⚠️ 不要在這裡點名任何一色，也不要寫某一色專屬的色值：需要不一樣就在色表加一格（build-macaron.mjs 的 FIELDS）。
   日系粉色（只掛 tpl-kawaii）不吃這段。⚠️ 白字壓強調色對比 1.4～2.2，低於 4.5——Kelly 2026-11-20 選的樣子。 */
.tpl-kawaii.tpl-macaron{
  --k-strong:var(--m-strong);
  --k-cta-line:var(--m-cta-line);
  --k-pink:var(--m-primary);
  --k-pink-soft:var(--m-soft);
  --k-mint:var(--m-link-2);
  --k-butter:var(--m-link-3);
  --k-flower:var(--m-decor);
  --k-badge:var(--m-badge);
  --k-bloom:var(--m-icon);
  --ss-news-bg:var(--m-primary);  /* 最新消息＝主粉彩＋ink（Kelly 2026-11-20） */
  --ss-news-ink:var(--ss-ink);
  --ss-bg:var(--m-bg);
  --ss-ink:var(--m-ink);
  --ss-text:var(--m-text);
  --ss-muted:var(--m-muted);
  --ss-line:var(--m-line);
  --ss-dot:var(--m-dot);
  --ss-scrim:var(--m-scrim);
  box-shadow:0 0 0 1px var(--m-frame);
}
.tpl-kawaii.tpl-macaron .sec-photo{box-shadow:0 8px 22px var(--m-shadow-soft)}
.tpl-kawaii.tpl-macaron .gallery-img{box-shadow:0 6px 16px var(--m-shadow-soft)}
/* 手機／平板照片區（Kelly 2026-12-03，參考卡片式手機版）：
   ① 標回「Gallery」小標——馬卡龍藏了所有英文小標，照片區沒有中文主標，藏掉後只剩「左右滑」。
   ② 上下留白對齊卡片式 48：上 48；下 42＋捲動列的 6（留給照片陰影）＝視覺 48。原本 56＋6。
   桌機（≥1024）整個 .sec-head 另外藏、留白另訂，不受影響。 */
@media (max-width:1023px){
  .tpl-kawaii.tpl-macaron:not(.product-list) .sec-gallery{padding-top:48px;padding-bottom:42px}
  .tpl-kawaii.tpl-macaron:not(.product-list) .sec-gallery>.sec-head>.eyebrow{display:inline}
}
.tpl-kawaii.tpl-macaron .cart-fab{box-shadow:0 6px 16px var(--m-shadow-fab)}
.tpl-kawaii.tpl-macaron .catalog-card .catalog-body .product-cta.is-disabled{background:var(--m-disabled-bg)}
.tpl-kawaii.tpl-macaron .catalog-card .catalog-body .product-cta{border-color:var(--k-cta-line)}
.tpl-kawaii.tpl-macaron .catalog-card .catalog-body .product-cta:not(.is-disabled){border-color:transparent;background:var(--k-strong);color:var(--m-cta-ink);font-weight:var(--m-cta-weight)}
/* 卡片式：整張卡白底、照片上緣圓角、文字區留內距（Kelly 2026-11-20「描述那邊放白色底，有點像卡片式」） */
.tpl-kawaii.tpl-macaron .catalog-card{background:#fff;border-radius:var(--k-photo-radius);overflow:hidden}
/* 白卡加灰色細框＋輕影（Kelly 2026-11-30 選 C：白卡跟淺底太近；灰色不跟色票）。首頁「一個一排」的白卡同一組（下面）。稿 design/macaron-card-shadow/build.mjs */
.tpl-kawaii.tpl-macaron{--k-card-shadow:0 0 0 1px rgba(0,0,0,.04),0 2px 6px rgba(0,0,0,.05)}
.tpl-kawaii.tpl-macaron .catalog-card{box-shadow:var(--k-card-shadow)}
.tpl-kawaii.tpl-macaron .catalog-card .catalog-photo{border-radius:0}
.tpl-kawaii.tpl-macaron .catalog-card .catalog-body{padding:10px 10px 12px}
/* 更多商品／回首頁：框各色強調色，字與箭頭每色都咖啡（Kelly 2026-11-22）。寫死值：薄荷的 ink 是墨綠，不能沿用。單頁「全部商品」在 buy.css 同值 */
.tpl-kawaii.tpl-macaron{--k-outline-ink:#4a3530}
.tpl-kawaii.tpl-macaron :is(.site-products-more,.list-body>.site-return-button){border-color:var(--k-strong);color:var(--k-outline-ink)}
/* 商品名與價格黑字（Kelly 2026-11-22，原各色 ink：暖棕／墨綠）；售完維持淡字，特價仍是 site.css 的珊瑚紅。商品單頁在 buy.css 同名規則 */
.tpl-kawaii.tpl-macaron{--k-product-ink:#242422}
.tpl-kawaii.tpl-macaron .product-card:not(.is-soldout) :is(.product-name,.product-price){color:var(--k-product-ink)}
/* 首頁「一個一排」也是卡片式（Kelly 2026-11-21：原本沒另外設計，比照兩個一排）：白卡、照片頂邊、文字留內距、底部強調色立即購買（取代「看內容 →」）。
   這種卡沒有 .catalog-body 包文字，所以內距直接給照片以外的子元素。售完的卡（.is-soldout）按鈕退成框線灰字。
   ⚠️ :not(.product-list) 不能少：/p 也沒有 home-grid，少了它這組內距會套到 /p 的卡，照片左右露白（Kelly 2026-11-21 回報）。 */
.tpl-kawaii.tpl-macaron:not(.product-list):not(.home-grid) .sec-products>.product-card{background:#fff;border-radius:var(--k-photo-radius);overflow:hidden;gap:6px;padding:0 16px 16px;box-shadow:var(--k-card-shadow)}
.tpl-kawaii.tpl-macaron:not(.product-list):not(.home-grid) .sec-products>.product-card .product-photo{border-radius:0;width:calc(100% + 32px);max-width:none;margin:0 -16px 6px}
.tpl-kawaii.tpl-macaron:not(.product-list):not(.home-grid) .sec-products>.product-card>.product-open{display:none}
.tpl-kawaii.tpl-macaron:not(.product-list):not(.home-grid) .sec-products>.product-card>.product-cta{display:flex;align-items:center;justify-content:center;min-height:44px;margin-top:8px;border-radius:999px;background:var(--k-strong);color:var(--m-cta-ink);font-weight:var(--m-cta-weight);letter-spacing:.04em}
.tpl-kawaii.tpl-macaron:not(.product-list):not(.home-grid) .sec-products>.product-card.is-soldout>.product-cta{background:#fff;border:1.5px solid var(--k-cta-line);color:var(--ss-muted)}
/* 選中的分類＝強調色，不用墨棕（Kelly 2026-11-20）；字色吃 --m-chip-ink：每色在色表的 chipInk。/p 與首頁分類膠囊共用 */
.tpl-kawaii.tpl-macaron{--ss-chip-on-bg:var(--k-strong);--ss-chip-on-ink:var(--m-chip-ink)}

/* 馬卡龍是給賣家的（Kelly 2026-11-20）：很多店不填「關於我」、相簿，輪播下面直接接商品區。
   主標區自己留底部呼吸空間，只有主標、主標＋副標都收得乾淨，不靠下一個區塊撐開。 */
.tpl-kawaii.tpl-macaron .hero-text{gap:14px;padding:16px var(--ss-gutter) 40px;align-items:center;text-align:center}
/* 主標、副標置中（Kelly 2026-11-20）。主標行距收緊、字距拉開，兩行讀起來是一塊招牌；副標字小一階、字距更寬，跟主標拉開層級。
   字距會加在每行最後一個字後面，置中時整行偏左；左邊補同樣的寬度抵銷。 */
.tpl-kawaii.tpl-macaron .hero-title{font-size:30px;line-height:1.3;letter-spacing:.1em;padding-left:.1em}
.tpl-kawaii.tpl-macaron .hero-sub{font-size:13.5px;line-height:1.6;letter-spacing:.14em;padding-left:.14em}
@media(min-width:768px){.tpl-kawaii.tpl-macaron .hero-text{padding:32px var(--ss-gutter) 56px}}
/* 只有一張圖（沒有點點、也沒有說明那列）：照片直接接主標，16 太擠，拉到 44（Kelly 2026-11-21）。
   桌機原本 32，一起拉到 44，不讓桌機比手機還擠。 */
.tpl-kawaii.tpl-macaron .hero:not(:has(.hero-strip)) .hero-text{padding-top:44px}

/* 字體（Kelly 2026-11-20）：標題（輪播主標、區塊小標）與店名用粉圓；商品名、選單、聯絡鈕用思源黑。日系粉色全部粉圓。 */
.tpl-kawaii.tpl-macaron{--ss-font-card:var(--ss-font-body)}
.tpl-kawaii.tpl-macaron .product-name{font-weight:500}
.tpl-kawaii.tpl-macaron .link-label{font-family:var(--ss-font-body);font-weight:500}  /* 選單項目同一組字在 site.css 選單段 */

/* 常見問題的＋：馬卡龍不用奶黃圓（Kelly 2026-11-20「太花」），改主色淡色，跟 Q 章同一家族 */
.tpl-kawaii.tpl-macaron .faq-toggle{background:var(--k-pink-soft)}
/* 有「關於我」時：主標區跟關於同是白底、會連在一起，主標區底部的留白讓給關於自己的上內距，不疊成一大段空白（Kelly 2026-11-20） */
.tpl-kawaii.tpl-macaron .hero:has(+.sec-about) .hero-text{padding-bottom:0}
/* 社群／聯絡區塊白底（Kelly 2026-11-20，原跟內容底色） */
.tpl-kawaii.tpl-macaron .sec-links{background:#fff}
/* 頁尾上方那 24px 會露出底色，聯絡區白底後變成一條奶色細縫；馬卡龍頁尾直接接上一個區塊 */
.tpl-kawaii.tpl-macaron .site-footer{margin-top:0}

/* 首頁商品標題下的分類膠囊（Kelly 2026-11-20，馬卡龍限定；site.css 全站藏、這裡打開）。
   長相跟 /p 的篩選膠囊是同一組規則（上面 .product-filters／.product-filter 那幾條一起掛了 .home-filters／.home-filter），這裡只放首頁才有的。
   每顆都是連到 /p 的連結，不在首頁原地篩（首頁最多 12 個商品）。 */
.tpl-kawaii.tpl-macaron .home-filters{margin:-8px calc(var(--ss-gutter) * -1) -2px}  /* Kelly 2026-11-23 三選一選 A：上方 -8（原 -4）標題到膠囊收近 4；下方 -2（原 4）膠囊到商品圖收近 6 */
.tpl-kawaii.tpl-macaron .sec-products>.home-filters{grid-column:1/-1}  /* 兩種排法桌機都是 grid，膠囊橫跨整列 */
/* 首頁商品區上方留白縮小：原本跟其他段落同為 --ss-sec-y（手機 56／桌機 72），主標離上一塊太遠（Kelly 2026-11-23）。只動上方，下方不變 */
.tpl-kawaii.tpl-macaron:not(.product-list) .sec-products{padding-top:36px}
@media(min-width:768px){.tpl-kawaii.tpl-macaron:not(.product-list) .sec-products{padding-top:48px}}
.tpl-kawaii .home-filter{text-decoration:none}


/* ════════ 桌機版 ≥1024（Kelly 2026-12-01／12-02 定案，卡 2026-12-01-3）：首頁、/p
   從設計稿 design/site-styles/desktop/desktop.css 搬進來，1023 以下一個 byte 都不變。決定與作廢紀錄見該資料夾 README。 ════════ */
/* ═══ 桌機寬版：首頁與 /p（設計稿 2026-12-01；合併時搬進 kawaii.css 馬卡龍段的檔尾）═══════════════════════
   ≥1024 才生效，1023 以下跟現在一樣（780 置中一欄）。token（--dk-*）在 desktop-nav.css（合併後住 site.css）。
   做法：拿掉 body 的 780 上限，各區塊照舊全寬（底色跟著出血），內容用 --ss-gutter＝--dk-pad 收在 1440 以內。

   分兩段：
   ① 版面（共用骨架）：只排位置、欄數、寬度，只讀 --ss-*／--dk-*／--ps-photo-* token，不寫顏色、陰影、字型。
      前綴一律 :is(.tpl-kawaii.tpl-macaron)。以後極簡／日系粉色要桌機版＝在這個 :is() 裡加一項
      （維持 0,2,0：例 .tpl-minimal.tpl-minimal），再寫它自己的 ② 段。A2／B2 不吃 --ss-* 骨架，要另外對 token。
   ② 馬卡龍的裝飾與卡片形狀：陰影、照片放大、馬卡龍白卡（「一個一排」）的內距。前綴 .tpl-kawaii.tpl-macaron。
   ═══════════════════════════════════════════════════════════════════════════════════════════════════ */
/* 桌機照片的 <picture> 外殼：手機也要拆開（display:contents），<img> 才照舊是輪播軌道的 flex 子項。這一條沒有包 media，只碰新節點。 */
:is(.tpl-kawaii.tpl-macaron) .hero-pic{display:contents}

@media (min-width:1024px){

  /* ═══ ① 版面 ═══════════════════════════════════════════════════════════════════════════ */

  :is(.tpl-kawaii.tpl-macaron){
    max-width:none;box-shadow:none;
    --ss-gutter:var(--dk-pad);
    --ss-sec-y:96px;
    --ss-gap:28px;
    --ss-list-cols:3;                 /* /p 與首頁「兩個一排」：桌機三欄（Kelly 2026-12-01，原 4） */
    --ss-cols-desktop:3;              /* 首頁「一個一排」：桌機一樣三欄（Kelly 2026-12-01，原 4） */
    --ss-list-col-gap:24px;
    --ss-list-row-gap:40px;
    --ss-list-pad:40px var(--ss-gutter) 96px;
    --dk-read:760px;                  /* 一段文字的閱讀寬度（常見問題、主標副標） */
    --dk-narrow:780px;                /* 窄欄：關於、照片區（＝現行網站在桌機的那一欄寬） */
  }

  /* ── 主標區（Kelly 2026-12-01 第四輪定案）：桌機只有一種首圖——固定 16:9、寬＝內容寬（跟商品格線左右對齊）、圓角 16，不出血。
     高度就是 16:9 算出來的（1040 寬約 585，1440×900 第一屏看得到整張），不再封頂 70vh。
     有桌機照片：renderer 把那一張的 img.hero-img 包成 picture.hero-pic＋≥1024 的 source，換成店家的 16:9（缺哪張裁哪張，Kelly 2026-12-03）。
     沒有桌機照片：同一個 16:9 框，手機那張 4:5 照片 cover 裁中間（object-position center）——會被裁掉上下一大塊。
     左右箭頭、點點照舊；主標、副標、說明在照片下方置中。 */
  :is(.tpl-kawaii.tpl-macaron) .hero{grid-template-columns:var(--dk-pad) minmax(0,1fr) var(--dk-pad);padding-top:16px}  /* Kelly 12-01「輪播離上方距離縮小」：40→16 */
  :is(.tpl-kawaii.tpl-macaron) .hero :is(.hero-track,.hero-empty,.hero-nav,.hero-strip,.hero-text){grid-column:2}
  :is(.tpl-kawaii.tpl-macaron) .hero :is(.hero-img,.hero-empty){aspect-ratio:16/9;height:auto;object-fit:cover;object-position:center}
  :is(.tpl-kawaii.tpl-macaron) .hero .hero-text{justify-self:center;width:100%;max-width:var(--dk-read)}

  /* 區塊標題置中（桌機一整列很寬，靠左的標題離內容中心太遠）；/p 的標題例外，跟下面的篩選列左對齊 */
  :is(.tpl-kawaii.tpl-macaron):not(.product-list) :is(.sec-gallery,.sec-faq,.sec-video)>:is(.sec-head,.sec-title){text-align:center;justify-content:center}  /* 商品區不在內：Kelly 12-03 改成跟 /p 一樣靠左 */
  :is(.tpl-kawaii.tpl-macaron):not(.product-list) .sec .hint{display:none}   /* 「左右滑 →」：桌機照片改成格線，不用滑 */

  /* ── 關於、照片區：照手機原本的直排，收在窄欄 --dk-narrow（780，就是現行網站在桌機那一欄寬）置中
     （Kelly 12-01 第四輪：「圖片區、關於我都改回原本直式的做法，寬度也窄一點」）。
     第一輪的「關於左右兩欄」「照片在左右對調」、第三輪的「照片 48% 出血露出」都作廢，規則已刪。
     底色照樣滿版，只把左右內距加大到窄欄；商品格線、首圖、頂列維持 --dk-max（920）。 */
  :is(.tpl-kawaii.tpl-macaron) :is(.sec-about,.sec-gallery,.sec-faq,.sec-links){
    --ss-gutter:max(var(--dk-pad),calc((100vw - var(--dk-narrow)) / 2));
  }
  /* 關於：kawaii.css 原本的標題 → 文字 → 照片，照片撐滿窄欄（3:2） */
  :is(.tpl-kawaii.tpl-macaron) .sec-about .sec-photo{width:100%}
  /* 照片區：一次一張大照片，右邊露出下一張一角、可橫捲；捲動範圍收在窄欄裡，不出血。只有一張就撐滿窄欄。
     renderer 沒有照片區的左右箭頭：有滑鼠時先給一條細捲軸當退路（README 待決）。 */
  /* 照片區照片收小（Kelly 12-01「圖片區的圖片高度太高、很突兀」）：一張 340 寬、4:3（約 255 高），780 欄裡看得到兩張＋第三張一角；
     比上面「關於」那張 780×520 小一階，主次分明。間距 32、圓角 16 跟商品卡同一組。1–2 張不捲、置中。 */
  :is(.tpl-kawaii.tpl-macaron) .gallery-scroller{gap:32px;margin:0;padding:0 0 6px;scroll-padding-inline:0}
  :is(.tpl-kawaii.tpl-macaron) .gallery-img{flex:0 0 340px;width:340px;aspect-ratio:4/3}
  :is(.tpl-kawaii.tpl-macaron) .gallery-scroller:not(:has(>:nth-child(3))){justify-content:center}
  /* 照片區色塊上下只留 56（其他區塊 112）：色底緊緊包住照片（Kelly 12-01「上下不要留那麼多空間」） */
  :is(.tpl-kawaii.tpl-macaron) .sec-gallery{--ss-sec-y:56px}
  /* 照片區的 .sec-head 只有英文小標與「左右滑 →」，桌機兩個都藏；整列藏掉，不然它跟照片之間還會多一段 gap */
  :is(.tpl-kawaii.tpl-macaron) .sec-gallery>.sec-head{display:none}
  @media (hover:hover) and (pointer:fine){
    :is(.tpl-kawaii.tpl-macaron) .gallery-scroller:has(>:nth-child(2)){scrollbar-width:thin;padding-bottom:16px}
  }
  /* 影片：一排兩支、不足一排置中（影片是 iframe，橫捲裡點不到播放鍵的機會比較大） */
  :is(.tpl-kawaii.tpl-macaron) .video-scroller{flex-wrap:wrap;justify-content:center;gap:24px;overflow:visible;margin:0;padding:0}
  :is(.tpl-kawaii.tpl-macaron) .video-item{flex:0 1 calc((100% - 24px) / 2);width:auto}

  /* ── 商品區：分類膠囊靠左、放不下換行（JS 跑完收進「更多」）；上方 40（Kelly 12-03，跟 /p 同一種排法） ── */
  :is(.tpl-kawaii.tpl-macaron):not(.product-list) .sec-products{padding-top:40px}
  :is(.tpl-kawaii.tpl-macaron) .home-filters{flex-wrap:wrap;justify-content:flex-start;overflow:visible;margin:-8px 0 8px;padding:0}
  :is(.tpl-kawaii.tpl-macaron) .site-products-more{justify-self:center;min-width:240px;margin-top:16px;padding:12px 40px}
  :is(.tpl-kawaii.tpl-macaron):not(.product-list):not(.home-grid) .sec-products{gap:var(--ss-list-row-gap) var(--ss-list-col-gap)}
  :is(.tpl-kawaii.tpl-macaron):not(.product-list):not(.home-grid) .product-name{margin:4px 0 0;font-size:16px}


  /* ── 常見問題：一欄、閱讀寬度置中 ─────────────────────────────────────────────── */

  /* ── 聯絡：標題左、按鈕右（兩欄；按鈕一排兩顆）───────────────────────────────────────── */
  :is(.tpl-kawaii.tpl-macaron) .sec-links>.links-list{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;width:70%;margin-inline:auto}  /* Kelly 12-01「聯絡的按鈕垂直放」：一顆一列；按鈕寬再縮 30%（624→約 437）置中 */

  /* ── 頁尾：照手機的一欄靠左、緊湊（Kelly 12-01 第三輪：「頁尾要乾淨利落」；12-01 第一輪的三欄作廢——內容少，三欄只是把幾行字拉散）。
     結構不動 kawaii.css，內容收在 --ss-gutter 裡（＝內容寬 1040 的左緣），只放大字級（下面 ①′）。 */

  /* ── /p：標題 → 分類膠囊（左）＋件數・搜尋・排序（右）同一列 → 四欄。不做側邊欄（Kelly 2026-12-01）。
     分類放不下：沿用既有的「更多 ⌄」下拉（listFoldScript，≥768 本來就會折）。 */
  .product-list:is(.tpl-kawaii.tpl-macaron) .list-body{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:32px;row-gap:20px;align-items:center}
  .product-list:is(.tpl-kawaii.tpl-macaron) .list-body>*{grid-column:1/-1}
  .product-list:is(.tpl-kawaii.tpl-macaron) .list-body>.sec-head{margin-bottom:4px}
  .product-list:is(.tpl-kawaii.tpl-macaron) .list-body>.product-filters{grid-column:1;margin:0;padding:0}
  .product-list:is(.tpl-kawaii.tpl-macaron) .list-body>.list-tools{grid-column:2;justify-content:flex-end;gap:8px}
  .product-list:is(.tpl-kawaii.tpl-macaron) .list-body>.list-tools.is-searching{width:min(420px,40vw)}
  .product-list:is(.tpl-kawaii.tpl-macaron) .list-body>.sec-products{margin-top:12px}
  .product-list:is(.tpl-kawaii.tpl-macaron) .list-body>.site-return-button{justify-self:center;min-width:240px;padding:12px 40px;margin-top:40px}


  /* ═══ ② 馬卡龍的裝飾與卡片形狀 ════════════════════════════════════════════════════════════ */

  .tpl-kawaii.tpl-macaron{--ss-title-size:30px}
  /* 主標：照片圓角跟商品照同一個（16）；字照手機置中，上下留白 */
  .tpl-kawaii.tpl-macaron .hero-track{border-radius:0}  /* Kelly 12-01：輪播不要圓角 */
  .tpl-kawaii.tpl-macaron .hero-nav{margin:0 20px}
  .tpl-kawaii.tpl-macaron .hero-strip{padding:16px 0 0}
  .tpl-kawaii.tpl-macaron .hero-text{padding:36px 0 72px}
  .tpl-kawaii.tpl-macaron .hero:not(:has(.hero-strip)) .hero-text{padding-top:48px}

  /* 首頁「一個一排」的白卡尺寸在檔尾「桌機白卡」那段；這裡只剩名稱與價格之間的距離 */
  .tpl-kawaii.tpl-macaron:not(.product-list):not(.home-grid) .product-meta{margin:2px 0 0;gap:4px}

  @media (hover:hover) and (pointer:fine){
    /* 停在卡上：照片微微放大，告訴客人「這張可以點」 */
    .tpl-kawaii.tpl-macaron .catalog-card .catalog-photo .product-photo{transition:transform .35s ease}
    .tpl-kawaii.tpl-macaron .catalog-card:hover .catalog-photo .product-photo{transform:scale(1.03)}
    @media (prefers-reduced-motion:reduce){
      .tpl-kawaii.tpl-macaron .catalog-card .catalog-photo .product-photo{transition:none}
      .tpl-kawaii.tpl-macaron .catalog-card:hover .catalog-photo .product-photo{transform:none}
    }
  }
}


/* ═══ 第二輪（2026-12-01，Kelly「像直式手機版只改了輪播」）：桌機的尺寸與質感 ═══════════════════════════════
   第一輪只重排了位置，字級、卡片、間距還是手機的。這一段建立桌機自己的比例，排在上面兩段後面（同分靠順序壓過）。
   一樣分兩半：①′ 字級與節奏（共用，只寫大小與間距，換版型照用）；②′ 馬卡龍怎麼長（字型、色票、圓角照 kawaii.css 的 token 放大）。 */
@media (min-width:1024px){

  /* ── ①′ 字級與節奏 ─────────────────────────────────────────────────────────────── */
  :is(.tpl-kawaii.tpl-macaron){
    --ss-sec-y:112px;                 /* 區塊上下一律 112（首頁商品區、/p 同一個數） */
    --ss-title-size:30px;             /* 區塊標題；Kelly 12-03 縮小（34→30），商品總覽同一個數 */
    --dk-fs-hero:36px;                /* 首頁主標（照片下方置中）；Kelly 12-03 兩次說太大，48→40→36 */
    --dk-fs-lead:13px;                /* 主標下的副標、說明；Kelly 12-03 兩次說太大，17→15→13 */
    --dk-fs-body:16.5px;              /* 內文（關於、常見問題答案） */
    --dk-fs-name:16px;                /* 商品名、價格 */
    --dk-fs-small:14px;               /* 頁尾、標籤 */
    --ss-list-col-gap:16px;   /* Kelly 12-01「產品中間距離小一點」：32→16 */
    --ss-list-row-gap:36px;   /* 56→36 */
    --ss-list-title-size:30px;   /* Kelly 12-03 跟首頁區塊標題統一（40→30） */
    --ss-list-pad:56px var(--ss-gutter) var(--ss-sec-y);
  }
  :is(.tpl-kawaii.tpl-macaron) .sec:not(.sec-products){gap:40px}  /* 商品格線不吃這條：它的間距是 --ss-list-*-gap（之前被這條蓋成 40） */
  :is(.tpl-kawaii.tpl-macaron) .sec-title{font-size:var(--ss-title-size);line-height:1.35}
  :is(.tpl-kawaii.tpl-macaron) .sec-text{font-size:var(--dk-fs-body);line-height:2.05}
  /* 常見問題、聯絡：要有密度（Kelly 12-01「常見問題太空了」）。收在窄欄 780（上面 --dk-narrow 那條）、上下 72；
     題目一列 58、題與題 10、標題到第一題 24；答案 15.5／行距 1.9。聯絡同一個節奏：標題在上、按鈕一排兩顆在下。 */
  :is(.tpl-kawaii.tpl-macaron) :is(.sec-faq,.sec-links){--ss-sec-y:72px}
  :is(.tpl-kawaii.tpl-macaron) .sec-faq.sec-faq{gap:8px}  /* Kelly 12-01「問題跟問題距離縮小」；.sec-faq 寫兩次壓過上面 .sec:not(.sec-products){gap:40px}（之前其實被蓋成 40） */
  :is(.tpl-kawaii.tpl-macaron) .sec-faq>.sec-title{margin-bottom:14px}
  :is(.tpl-kawaii.tpl-macaron) .faq-q{min-height:58px;padding:12px 0}
  :is(.tpl-kawaii.tpl-macaron) .faq-q h3{font-size:16px}
  :is(.tpl-kawaii.tpl-macaron) .faq-a{font-size:15.5px;line-height:1.9;padding-bottom:18px}
  :is(.tpl-kawaii.tpl-macaron) .sec-links{gap:24px}
  :is(.tpl-kawaii.tpl-macaron) .sec-links>.sec-title{text-align:center}   /* 跟常見問題的標題同一種對齊 */
  :is(.tpl-kawaii.tpl-macaron) .link-label{font-size:17px}
  :is(.tpl-kawaii.tpl-macaron) .link-item{min-height:60px;padding:0 24px}

  /* 主標：照片下方置中，主標 48、副標 17 */
  :is(.tpl-kawaii.tpl-macaron) .hero .hero-title{font-size:var(--dk-fs-hero)}
  :is(.tpl-kawaii.tpl-macaron) .hero .hero-sub{font-size:var(--dk-fs-lead)}


  /* 商品卡（兩個一排、/p、一個一排）：拿掉白卡與陰影，照片放大當主角，名稱與價格在照片下方置中。
     照片照舊整張顯示（--ps-photo-fit，Kelly 決定），補白用照片框自己的底色（--ss-photo-bg），整塊是一張圓角方塊、不是框中框。 */
  :is(.tpl-kawaii.tpl-macaron) .sec-products>.product-card :is(.product-name,.product-price){font-size:var(--dk-fs-name);line-height:1.5}
  :is(.tpl-kawaii.tpl-macaron) .sec-products>.product-card .product-duration{font-size:13px}
  :is(.tpl-kawaii.tpl-macaron) .sec-products>.product-card .product-stock{font-size:13px}
  :is(.tpl-kawaii.tpl-macaron) .sec-products>.product-card .catalog-tag{left:12px;top:12px}

  /* 頁尾：結構照手機（一欄靠左），字放大到 14、店名 22 */
  :is(.tpl-kawaii.tpl-macaron) .site-footer{padding:32px var(--ss-gutter) 28px}  /* Kelly 12-01「footer 上下太寬」：56/48→32/28 */
  :is(.tpl-kawaii.tpl-macaron) .site-footer .store-profile-name{font-size:22px}
  :is(.tpl-kawaii.tpl-macaron) .site-footer .store-profile p,
  :is(.tpl-kawaii.tpl-macaron) .site-footer :is(.shopping-info-links>a,.shopping-info-links>button){font-size:var(--dk-fs-small);line-height:1.8}
  :is(.tpl-kawaii.tpl-macaron) .site-footer .copyright{font-size:13px}

  /* ── ②′ 馬卡龍怎麼長 ────────────────────────────────────────────────────────────── */

  .tpl-kawaii.tpl-macaron .sec-photo{border-radius:var(--ss-radius-lg)}
  .tpl-kawaii.tpl-macaron .gallery-img{border-radius:var(--ss-radius-lg)}
  .tpl-kawaii.tpl-macaron .faq-item{padding:0 22px;border-radius:10px}  /* Kelly 12-03：圓角跟手機一樣（10），不跟桌機直角 token */

  /* 卡片：沿用手機的白卡（Kelly 12-03），桌機尺寸在檔尾「桌機白卡」那段 */
  .tpl-kawaii.tpl-macaron .sec-products>.product-card .product-name{font-weight:500;letter-spacing:.02em}
  .tpl-kawaii.tpl-macaron .sec-products>.product-card .product-price{font-weight:700}
  @media (hover:hover) and (pointer:fine){
    /* 照片放大要被圓角框裁住 */
    .tpl-kawaii.tpl-macaron .sec-products>.catalog-card .catalog-photo{overflow:hidden}
  }
}


/* ═══ 第五輪（2026-12-01，Kelly 直接回饋）═══════════════════════════════════════════════════════
   · 頁尾資訊置中（店名、電話、社群、購物說明連結、版權全部置中）。
   · 照片區：保留自己的粉色底（Kelly：要有層次），上下 40 緊包照片；後面接商品時商品區上方 64。 */
@media (min-width:1024px){
  :is(.tpl-kawaii.tpl-macaron) .site-footer{text-align:center;align-items:center}
  :is(.tpl-kawaii.tpl-macaron) .store-profile{text-align:center;align-items:center}
  :is(.tpl-kawaii.tpl-macaron) .store-social{justify-content:center;margin:6px 0 -6px}
  :is(.tpl-kawaii.tpl-macaron) .site-footer .shopping-info-links{justify-content:center}

  /* Kelly 12-01 改回「照片區要有自己的底色、要有層次」：粉色底塊保留（kawaii.css 的 --k-pink-soft），上下各 40 緊包照片 */
  :is(.tpl-kawaii.tpl-macaron) .sec-gallery{padding-top:40px;padding-bottom:40px}
  /* Kelly 12-01「常見問題太寬，寬度縮 20%」：780→624（窄欄的 80%），只動常見問題 */
  /* 影片（Kelly 12-01 問「有影片會怎麼放」）：收在窄欄 780，一排兩支、16:9，單數最後一支置中；不橫捲。
     寬度寫死成欄寬的一半：iframe 的 width:auto 會退回瀏覽器預設，之前的 flex-basis 沒生效、兩支各撐滿整排。 */
  :is(.tpl-kawaii.tpl-macaron) .sec-video{--ss-gutter:max(var(--dk-pad),calc((100vw - var(--dk-narrow)) / 2))}
  :is(.tpl-kawaii.tpl-macaron) .sec-video .video-scroller{display:flex;flex-wrap:wrap;justify-content:center;gap:20px;overflow:visible;margin:0;padding:0}
  :is(.tpl-kawaii.tpl-macaron) .sec-video .video-item{flex:0 0 calc((100% - 20px) / 2);width:calc((100% - 20px) / 2);height:auto;aspect-ratio:16/9}
  :is(.tpl-kawaii.tpl-macaron) .sec-video .video-scroller>:only-child{flex-basis:100%;width:100%}
  :is(.tpl-kawaii.tpl-macaron) .sec-video>.sec-head{display:none}  /* 桌機只剩已藏的英文小標＋「左右滑」，整列藏掉，不然上方多一段空 */
  :is(.tpl-kawaii.tpl-macaron) .sec-video.sec-video{padding-top:64px;padding-bottom:64px}
  :is(.tpl-kawaii.tpl-macaron) :is(.sec-faq,.sec-links){--ss-gutter:max(var(--dk-pad),calc((100vw - var(--dk-narrow) * .8) / 2))}  /* 聯絡按鈕直排後跟常見問題同寬 624 */
}

/* Kelly 12-01「商品總覽的商品跟價格上下距離近一點」：名稱與價格間距收緊（首頁與 /p 同一種卡） */
@media (min-width:1024px){
  :is(.tpl-kawaii.tpl-macaron) .sec-products>.product-card .catalog-body :is(.product-name,.product-price){line-height:1.4}
  :is(.tpl-kawaii.tpl-macaron) .sec-products>.product-card .catalog-body .product-name{margin:0}
  :is(.tpl-kawaii.tpl-macaron) .sec-products>.product-card .catalog-body .product-meta{margin-top:2px}
}

/* Kelly 12-01「桌機版的圓角們都太圓」：圓角 token 在桌機降一階（16→10、12→8、8→6）；膠囊按鈕（pill）不動 */
@media (min-width:1024px){
  .tpl-kawaii.tpl-macaron{--ss-radius-lg:0px;--ss-radius-md:0px;--ss-radius-sm:0px}
  /* Kelly 12-01「除了商品以外都不要圓角」：只有商品卡（首頁、/p）保留 10/8/6，其他（首圖、關於照片、照片區、影片、常見問題卡）直角；膠囊按鈕不動 */
  .tpl-kawaii.tpl-macaron .sec-products{--ss-radius-lg:8px;--ss-radius-md:6px;--ss-radius-sm:4px}
}

/* Kelly 12-01：照片區、關於的照片保留跟手機一樣的圓角（12＝kawaii.css 的 --ss-radius-md 原值，不吃上面降階的 token） */
@media (min-width:1024px){
  :is(.tpl-kawaii.tpl-macaron) :is(.gallery-img,.sec-about .sec-photo){border-radius:12px}
}

/* Kelly 12-01「輪播左右按鈕底色要玻璃質感」：半透明白＋背景模糊＋細白框，< > 白色 */
@media (min-width:1024px){
  :is(.tpl-kawaii.tpl-macaron) .hero .hero-nav{
    width:34px;height:34px;   /* Kelly 12-03 縮小 30%（原 48，箭頭 20→14） */
    background:rgba(255,255,255,.32);
    -webkit-backdrop-filter:blur(14px) saturate(1.5);backdrop-filter:blur(14px) saturate(1.5);
    border:1px solid rgba(255,255,255,.55);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.5);
    color:#fff;
    transition:background .2s;
  }
  :is(.tpl-kawaii.tpl-macaron) .hero .hero-nav svg{width:14px;height:14px}
  @media (hover:hover){:is(.tpl-kawaii.tpl-macaron) .hero .hero-nav:hover{background:rgba(255,255,255,.5)}}
}

/* ── 12-02 grill 定案 ───────────────────────────────────────────────
   Q2：英文眉標（About、Q&A…）桌機拿掉，只留雜誌式與極簡（Kelly 12-02）。眉標後面那行標題原本往上收（kawaii.css 的負 margin），一起還原。 */
@media (min-width:1024px){
  .tpl-kawaii.tpl-macaron :is(.sec>.eyebrow,.sec>.sec-head>.eyebrow){display:none}
  .tpl-kawaii.tpl-macaron .sec>.eyebrow+.rule+.sec-title,.tpl-kawaii.tpl-macaron .sec>.eyebrow+.sec-title{margin-top:0}
}

/* Kelly 2026-12-03「輪播資訊跟關於我的距離小一點」：首圖文字下面接的第一個區塊，上方 112→64（商品區另有 40，不動） */
@media (min-width:1024px){
  :is(.tpl-kawaii.tpl-macaron) .hero+.sec:not(.sec-products){padding-top:64px}
}

/* ═══ 桌機白卡＋卡底按鈕（Kelly 2026-12-03「馬卡龍桌機也要這種卡片、立即購買保留」）═══════════════════════════
   沿用手機版的白卡（上面「馬卡龍白卡」那幾條），桌機只改尺寸：圓角 12、照片貼齊卡頂、文字內距 16、卡底膠囊按鈕撐滿卡寬、一直顯示。
   首頁一排一個的大卡（P）與 /p、首頁兩個一排的 .catalog-card（C）同一種長相。
   選擇器照抄手機那幾條（同權重、排在後面贏），不靠疊 class。 */
@media (min-width:1024px){
  .tpl-kawaii.tpl-macaron .catalog-card,.tpl-kawaii.tpl-macaron:not(.product-list):not(.home-grid) .sec-products>.product-card{border-radius:12px}
  .tpl-kawaii.tpl-macaron .catalog-card{padding:0 0 16px}
  .tpl-kawaii.tpl-macaron .catalog-card .catalog-body{padding:14px 16px 0;gap:4px}
  .tpl-kawaii.tpl-macaron .catalog-card .catalog-body>:nth-last-child(2){margin-bottom:12px}
  .tpl-kawaii.tpl-macaron .catalog-card .catalog-body .product-cta{min-height:44px;padding:0 12px;border:0;font-size:15px;letter-spacing:.04em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .tpl-kawaii.tpl-macaron .catalog-card .catalog-body .product-cta.is-disabled{background:#fff;border:1.5px solid var(--k-cta-line);color:var(--ss-muted)}
  .tpl-kawaii.tpl-macaron:not(.product-list):not(.home-grid) .sec-products>.product-card{gap:0;padding:0 0 16px}
  .tpl-kawaii.tpl-macaron:not(.product-list):not(.home-grid) .sec-products>.product-card .product-photo{width:100%;margin:0 0 14px}
  .tpl-kawaii.tpl-macaron:not(.product-list):not(.home-grid) .sec-products>.product-card>:not(.product-photo):not(.product-photo-alt):not(.catalog-tag){margin-left:16px;margin-right:16px}
  .tpl-kawaii.tpl-macaron:not(.product-list):not(.home-grid) .sec-products>.product-card>.product-cta{margin:auto 16px 0;min-height:44px;padding:0 12px;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .tpl-kawaii.tpl-macaron:not(.product-list):not(.home-grid) .sec-products>.product-card>:has(+.product-cta){margin-bottom:12px}

  /* 首頁商品區：標題靠左；分類膠囊與排序同一列（膠囊跨到倒數第二欄、排序放最後一欄）。排序是連到 /p?sort= 的三個連結（render.mjs homeSort） */
  .tpl-kawaii.tpl-macaron .sec-products>.home-filters:has(+.home-sort){grid-column:1/-2}
  .tpl-kawaii.tpl-macaron .sec-products>.home-sort{display:block;position:relative;grid-column:-2/-1;justify-self:end;align-self:start;margin:-8px 0 8px;z-index:3}
  .tpl-kawaii.tpl-macaron .home-sort>summary{display:inline-flex;align-items:center;gap:4px;min-height:44px;padding:0 4px;list-style:none;cursor:pointer;color:var(--ss-ink);font:500 14px/1 "Noto Sans TC",sans-serif}
  .tpl-kawaii.tpl-macaron .home-sort>summary::-webkit-details-marker{display:none}
  .tpl-kawaii.tpl-macaron .home-sort[open]>summary svg{transform:rotate(180deg)}
  .tpl-kawaii.tpl-macaron .home-sort-menu{position:absolute;right:0;top:calc(100% + 4px);min-width:148px;padding:6px;border-radius:12px;background:#fff;box-shadow:0 8px 24px rgba(0,0,0,.12),0 0 0 1px rgba(0,0,0,.04);display:flex;flex-direction:column}
  .tpl-kawaii.tpl-macaron .home-sort-opt{display:flex;align-items:center;min-height:40px;padding:0 12px;border-radius:8px;color:var(--ss-ink);font-size:14px;text-decoration:none;white-space:nowrap}
  .tpl-kawaii.tpl-macaron .home-sort-opt:hover{background:var(--ss-photo-bg,#f6efec)}
}
