/* TENGA 系列共用區塊 v2(UX 2026-11-19;Leo 11/18 20:14 退回 R-20261118-121423-b46d:「單品頁…直接還原官方商品頁的樣貌」)。
   上線=子主題一個 CSS 檔(換頁卡寫明位置);示意由 build.py 內嵌。
   數字=官網 FLIP ZERO 系列頁 11/19 CDP 實量(1440/390):主視覺滿版(PC 圖 3840×1546 ⇒ 1440×580)、系列名 60/32px 字距 3px、
   段落 16px/28px #555、區塊間 80/60px、圖文欄 50/50 滿版(文字內距 0 79px;手機圖在上、文字 0 20px、間 30px)、
   影片 750×422 置中(手機滿寬)、LINE UP 1400 寬(圖 715×403+黑→#efefef 漸層底 1218×444 錯位 182/60px)、常見問題 984 寬紅 Q。
   ⚠️ 官網英文標題字型是 Oswald,站上沒有載入 ⇒ 示意用站上字型(字級、字距照官網)。 */
.tg2{width:100vw;position:relative;left:50%;margin-left:-50vw;color:#555;font-size:16px;line-height:28px;background:#fff}
body.single-product{overflow-x:clip}
.tg2 img{display:block;width:100%;height:auto;border-radius:0}
.tg2 picture{display:block}
.tg2 p{margin:0}
.tg2 .sp{height:80px}
.tg2 .tg-tit{padding:25px 0;text-align:center}
.tg2 .tg-tit h2{margin:0;font-size:60px;line-height:72px;letter-spacing:3px;font-weight:400;color:#000;text-transform:none}
.tg2 .tg-txt{max-width:1024px;margin:0 auto;padding:0 20px;box-sizing:border-box}
.tg2 .tg-col{display:flex;align-items:center}
.tg2 .tg-col.rev{flex-direction:row-reverse}
.tg2 .tg-col-img{flex:0 0 50%}
.tg2 .tg-col-txt{flex:0 0 50%;padding:0 5.5%;box-sizing:border-box}
.tg2 .b{font-weight:700}
.tg2 .tg-col-txt p.b{margin-bottom:28px}   /* 官網標題與內文之間是一個空段落(<p>&nbsp;</p>,28px) */
.tg2 .tg-vt{text-align:center;color:#000;letter-spacing:1px}
.tg2 .tg-yt{position:relative;display:block;width:750px;max-width:100%;margin:0 auto}
.tg2 .tg-yt img{aspect-ratio:16/9;object-fit:cover}
.tg2 .tg-yt:after{content:"";position:absolute;left:50%;top:50%;width:68px;height:48px;margin:-24px 0 0 -34px;border-radius:12px;
  background:rgba(0,0,0,.7) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 48'%3E%3Cpath d='M27 14v20l18-10z' fill='%23fff'/%3E%3C/svg%3E") center/68px 48px no-repeat}
.tg2 .tg-h{margin:0;padding:25px 0;text-align:center;font-size:60px;line-height:72px;letter-spacing:3px;font-weight:400;color:#000}
/* LINE UP:圖+漸層底錯位,單雙列左右對調 */
.tg2 .tg-lu{max-width:1400px;margin:0 auto;padding:0 20px;box-sizing:content-box}
.tg2 .tg-li{position:relative;display:flex;min-height:444px;margin:0 0 120px;color:#555}
.tg2 .tg-li-bg{position:absolute;left:182px;right:0;top:60px;bottom:-60px;background:#f7f7f7}   /* 官網預設 #f7f7f7;各卡底色/字色走行內(build.py,官網 TypeBg/TypeBox 行內樣式) */
.tg2 .tg-li-img{position:relative;display:block;flex:0 0 51%;align-self:flex-start;background:#fff}
.tg2 .tg-li-img img{aspect-ratio:715/403;object-fit:cover}
.tg2 .tg-li-t{position:relative;flex:1;padding:146px 70px 0 60px;display:block;color:#555}
.tg2 .tg-li-t b{display:block;font-size:50px;line-height:60px;letter-spacing:.9px;font-weight:400;margin:0 0 40px;color:inherit}
.tg2 .tg-li-t:not([style]) b{color:#000}   /* 官網預設:卡名 #000、內文 #555(標題沒行內色時;11/19 CDP 實查 crysta/MOOVA/ARTE) */
.tg2 .tg-li-t p{font-size:14px;line-height:28px;color:inherit}
.tg2 .tg-li-t em{display:block;margin:50px 0 0;text-align:right;font-style:normal;font-size:22px;line-height:22px;color:inherit}
.tg2 .tg-li-t small{display:block;margin:0 0 6px;font-size:14px}
.tg2 .tg-li.rev{flex-direction:row-reverse}
.tg2 .tg-li.rev .tg-li-bg{left:0;right:182px}
.tg2 .tg-li.rev .tg-li-t{padding:146px 50px 0 80px}
/* 常見問題:紅 Q+右側加號 */
.tg2 .tg-faq{max-width:984px;margin:0 auto 80px}
.tg2 .tg-faq details{border-bottom:1px solid #e0e0e0}
.tg2 .tg-faq summary{list-style:none;cursor:pointer;position:relative;display:flex;gap:0;align-items:center;padding:26px 65px 26px 0;
  font-size:16px;line-height:32px;font-weight:700;color:#000;letter-spacing:.32px}
.tg2 .tg-faq summary::-webkit-details-marker{display:none}
.tg2 .tg-faq summary i{flex:0 0 61px;text-align:center;font-style:normal;font-size:30px;font-weight:700;color:#cc0111}
.tg2 .tg-faq summary:before,.tg2 .tg-faq summary:after{content:"";position:absolute;background:#333;top:50%}
.tg2 .tg-faq summary:before{right:34px;width:1px;height:20px;margin-top:-10px}
.tg2 .tg-faq summary:after{right:24px;width:20px;height:1px}
.tg2 .tg-faq details[open] summary:before{display:none}
.tg2 .tg-faq details>div{padding:0 0 26px 61px;color:#555}
@media(max-width:549px){
  .tg2 .sp{height:60px}
  .tg2 .tg-tit h2,.tg2 .tg-h{font-size:32px;line-height:38.4px;letter-spacing:3.2px}
  .tg2 .tg-col,.tg2 .tg-col.rev{flex-direction:column}
  .tg2 .tg-col-img{flex:none;width:100%}
  .tg2 .tg-col-txt{flex:none;width:100%;padding:30px 20px 0}
  .tg2 .tg-li,.tg2 .tg-li.rev{display:block;min-height:0;margin:0 0 80px}
  .tg2 .tg-lu{padding:0}
  .tg2 .tg-li-img{width:89%}
  .tg2 .tg-li.rev .tg-li-img{margin-left:11%}
  .tg2 .tg-li-bg,.tg2 .tg-li.rev .tg-li-bg{left:20px;right:0;top:40px;bottom:-40px}
  .tg2 .tg-li.rev .tg-li-bg{left:0;right:20px}
  .tg2 .tg-li-t,.tg2 .tg-li.rev .tg-li-t{padding:30px 40px 0}
  .tg2 .tg-li-t b{font-size:37px;line-height:44.4px;margin:0 0 11px}
  .tg2 .tg-li-t em{font-size:16px;line-height:16px}
  .tg2 .tg-faq{margin:0 20px 60px}
  .tg2 .tg-faq summary{padding:14px 24px 14px 0;line-height:24px;align-items:flex-start}
  .tg2 .tg-faq summary i{flex:0 0 32px;font-size:20px}
  .tg2 .tg-faq summary:before{right:4.6px;height:10px;margin-top:-5px}
  .tg2 .tg-faq summary:after{right:0;width:10px}
  .tg2 .tg-faq details>div{padding:0 0 14px 32px}
}
/* 乙案(官方內容=整個商品頁主體):購買列夾在導言與圖文之間 */
.tg2-buy{padding:40px 0 20px}
/* 品牌頁 v2(Nike 分類頁版,元件=入口頁 build.py 的 ae-*;這裡只補 TENGA 自己的兩塊) */
/* 系列輪播的張寬=Flatsome 原生 ux_slider slide_width(.flickity-slider>* max-width 30%/78%),本檔 ⛔ 再設寬。
 * v4(11/19 22:1x 產品線上回讀退回 v3):v3 的 .tgs .slider>* 在 Flickity 啟動後也命中它插進來的 .flickity-viewport ⇒ 縮兩次(1440 張 343→103px);
 * 改成只在啟動前生效(:not(.flickity-enabled))也不行——真 Flickity 實測有幾張被量成 103px,張疊在一起、點下一張不動(build.py realcheck)。
 * ⇒ 線上 ⛔ 任何寬度規則;示意裡只有 1 張的列沒有 Flickity,寬度由 build.py 的 MOCK_CSS 補(只進示意)。 */
/* 輪播裡沒被選中的張,Flatsome 讓文字層 fadeIn 停在 opacity:0(11/19 CDP 實查:膠囊在、透明)⇒ 品牌頁系列方塊一律直接顯示 */
.tgs [data-animate]{opacity:1 !important;transform:none !important;filter:none !important}
.tgt [data-animate]{opacity:1 !important;transform:none !important;filter:none !important}   /* v5:精選兩張不在輪播裡,同樣要載入即見(#1287③;tilecheck 11/20 15:4x 實測載入未互動時 opacity 0,等 WP Rocket 延遲 JS) */
.ae-t small{margin-left:8px;font-size:12px;color:#888;letter-spacing:.12em;font-weight:400}
.ae-t[id]{scroll-margin-top:90px}
.tgb-love{text-align:center;margin:44px auto 36px;max-width:640px;padding:0 16px}
.tgb-love h2{font-size:22px;letter-spacing:.1em;margin:0 0 12px;color:#111}
.tgb-love p{line-height:2;color:#333;margin:0}
/* 白膠囊換角(build.py _pill_pos 逐張量:官網主視覺左下多半是系列 logo/字 ⇒ 換到最乾淨的角) */
.tgp-tl .banner-layer.text-box,.tgp-tr .banner-layer.text-box{top:0 !important;bottom:auto !important}
.tgp-tl .ae-lb.sm,.tgp-tr .ae-lb.sm{padding:24px 24px 0}
.tgp-tr .ae-lb,.tgp-br .ae-lb{text-align:right}
.tgp-tr .text-box-content,.tgp-br .text-box-content,.tgp-tr .text-inner,.tgp-br .text-inner{text-align:right !important}
/* 官網整頁主題色(11/19 量產):區塊底色走行內;文字區包一層滿版底色;常見問題整塊底色/底圖+字色 */
.tg2 .tg-bgw{width:100%}
.tg2 .tg-faqw[style*="background"]{padding:60px 0 1px}
.tg2 .tg-faqw[style*="color"] summary,.tg2 .tg-faqw[style*="color"] details>div{color:inherit}
.tg2 .tg-faqw[style*="background"] .tg-faq{margin-bottom:60px}
.tg2 .tg-bgw[style*="url("] .tg-txt{padding:70px 20px}   /* 底圖導言(AERO):官網區塊高 266(1440/390 同;11/19 CDP 實量),內文 ~126 ⇒ 上下各 70 */
/* 精選兩張(AERO/FLIP ORB)字壓在商品上 ⇒ 底部漸層墊字(統籌 11/19 16:45 審;量=字框內背景,⛔ 整張平均)。手機字塊佔圖高約 7 成 ⇒ 漸層拉滿 */
.tgf .banner-bg:after{content:"";position:absolute;left:0;right:0;bottom:0;height:75%;pointer-events:none;background:linear-gradient(to bottom,rgba(0,0,0,0),rgba(0,0,0,.5) 45%,rgba(0,0,0,.72))}
@media(max-width:549px){.tgf .banner-bg:after{height:100%;background:linear-gradient(to bottom,rgba(0,0,0,.1),rgba(0,0,0,.55) 35%,rgba(0,0,0,.75))}}
/* v5 方塊(Leo 11/20 15:34 #1286/15:35 #1287):每張一樣——左下固定距疊三層:短名/一句/白膠囊「選購」,三層位置與字級每張相同(±1px)。
 * 一句不再固定三行高(Leo 11/26 07:4x R-20261125-234915-11a4「字體標題和文案的下方和選購標籤按鈕中間，不需要留空這麼多。下排直接可以接選購按鈕。」,取代 11/20 的「三層同位置」):
 *   選購膠囊位置每張相同;一句照實際行數(最多 3 行)貼著膠囊上方,名稱貼著一句 ⇒ 字少的張名稱較低。tilecheck ②⑥ 量:膠囊同位置、一句底到膠囊頂每張同距且 ≤16px。
 * 載入即見:字是靜態 HTML(⛔ 動畫/hover);輪播沒選中的張靠上面 .tgs [data-animate] 那條保持可見。
 * 白字墊漸層只墊疊字那一塊(統籌 11/20 16:00:整張灰濛):三層高 184px(手機 154)⇒ 漸層高 236/202px,疊字頂以上 52/48px 從透明漸到 .55、底 .7(.52/.68 時最低 4.59,餘裕太薄);
 * 用 px 不用 % ⇒ 方塊比例改了也墊得到。tilecheck 量字框背景 95 百分位亮度,白字對比 ≥4.5 才過。 */
.tgt .ae-lb.sm{padding:0 24px 24px}
.tgt .ae-lb.sm p{margin:0 0 4px;font-size:14px;line-height:20px;font-weight:500;color:#fff}
.tgt .ae-lb.sm h4{margin:0 0 12px;overflow:hidden;font-size:20px;line-height:28px;font-weight:700;color:#fff;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}
.tgt .ae-lb.sm span{font-size:15px;line-height:22px;padding:7px 20px}
.tgt .banner-bg:after{content:"";position:absolute;left:0;right:0;bottom:0;height:236px;pointer-events:none;background:linear-gradient(to bottom,rgba(0,0,0,0),rgba(0,0,0,.55) 52px,rgba(0,0,0,.7))}
@media(max-width:549px){
  .tgt .ae-lb.sm{padding:0 16px 16px}
  .tgt .ae-lb.sm p{font-size:13px;line-height:18px}
  .tgt .ae-lb.sm h4{margin-bottom:10px;font-size:17px;line-height:24px}
  .tgt .ae-lb.sm span{font-size:14px;line-height:20px;padding:6px 16px}
  .tgt .banner-bg:after{height:202px;background:linear-gradient(to bottom,rgba(0,0,0,0),rgba(0,0,0,.55) 48px,rgba(0,0,0,.7))}
}
/* v5 箭頭:Flatsome 預設箭頭在張內左右、滑鼠移上去才 .7 ⇒ 壓在左下疊字與露出半張的疊字上(統籌 11/20 16:00 審;tilecheck ④)。
 * 改成列標題右側一對(Nike 排法):桌機一直看得到;手機不出箭頭(手滑)。只動箭頭位置,⛔ 動張寬。 */
.tgs .flickity-prev-next-button{top:-46px !important;bottom:auto !important;width:36px;height:36px;margin:0 !important;transform:none !important;opacity:1 !important;
  border-radius:50%;background:#f2f2f2;color:#111;padding:8px}
.tgs .flickity-prev-next-button.previous{left:auto !important;right:44px !important}
.tgs .flickity-prev-next-button.next{left:auto !important;right:0 !important}
.tgs .flickity-prev-next-button svg,.tgs .flickity-prev-next-button .arrow{fill:#111 !important}   /* Flatsome nav-light 的箭頭是白色,放在淺灰底上看不見(tilecheck ⑤) */
.tgs .flickity-prev-next-button:disabled{opacity:.35 !important;background:#f2f2f2 !important}
@media(max-width:549px){.tgs .flickity-prev-next-button{display:none !important}}
/* v5 箭頭 end */
