/* ================================================================
   前台按鈕色彩統一（2026-09-12）
   規則：
   1. 購物 CTA（放入購物車 / 立即購買 / 結帳 / 再買一次 / 領折價券）→ 主強調色 --sp-cta（橘），全站唯一會「跳出來」的按鈕
   2. 其他所有按鈕（送出、登入、搜尋、套用篩選、返回、看更多…）→ 品牌主色 --sp-primary；
      次要動作（取消、清除、關閉）→ 白底＋主色細框
   3. 分頁、標籤、連結色也一律用主色，不再出現黑 / 紫 / 綠等雜色
   此檔在所有前台樣式之後載入；因既有樣式大量使用 !important，這裡也以 !important 統一覆蓋。
   ================================================================ */
:root {
  --ui-primary:       var(--sp-primary, #365a9e);
  --ui-primary-dark:  var(--sp-primary-dark, #2a4780);
  --ui-primary-soft:  var(--sp-primary-light, #eef2fb);
  --ui-cta:           var(--sp-cta, #f97316);
  --ui-cta-dark:      var(--sp-cta-dark, #ea580c);
  --ui-radius:        10px;
  --ui-text:          var(--sp-text, #1a1a2e);
  --ui-border:        var(--sp-border, #e3e8f0);
  /* 舊系統 token 一併對齊，避免零星按鈕仍用舊黑色 / 舊橘色 */
  --main-color:       var(--sp-primary, #365a9e);
  --cta-primary:      var(--sp-cta, #f97316);
  --cta-primary-hover:var(--sp-cta-dark, #ea580c);
  --cta-ghost-color:  var(--sp-primary, #365a9e);
}

/* ---------- 1. 購物 CTA：橘色 ---------- */
body .prodaddv2_btn, body .cartaddv2_btn, body .cartaddv3_btn,
body .cartbtn_li_full, body .cartbtn_li_redfull, body .cartbtn_li_r, body .cartbtn_mob_r,
body .order_repurchase_btn, body .coupon_crbtn, body .product-buy-btn, body .savelater_btn_addcart,
body .cta-btn--primary {
  background-color: var(--ui-cta) !important; background-image: none !important;
  color: #fff !important; border: 1px solid var(--ui-cta) !important;
  border-radius: var(--ui-radius) !important; font-weight: 700 !important;
  box-shadow: 0 2px 10px rgba(var(--sp-cta-rgb, 249,115,22),.22) !important;
  transition: background .18s, box-shadow .18s, transform .18s !important;
}
body .prodaddv2_btn:hover, body .cartaddv2_btn:hover, body .cartaddv3_btn:hover,
body .cartbtn_li_full:hover, body .cartbtn_li_redfull:hover, body .cartbtn_li_r:hover, body .cartbtn_mob_r:hover,
body .order_repurchase_btn:hover, body .coupon_crbtn:hover, body .product-buy-btn:hover, body .savelater_btn_addcart:hover,
body .cta-btn--primary:hover {
  background: var(--ui-cta-dark) !important; border-color: var(--ui-cta-dark) !important; color: #fff !important;
  box-shadow: 0 6px 18px rgba(var(--sp-cta-rgb, 249,115,22),.30) !important; transform: translateY(-1px) !important;
}
/* 商品頁「立即購買」與「加入購物車」並排時：立即購買維持實心橘，加入購物車用橘色外框，仍屬 CTA 但有主次 */
body .cartaddv3_btn { background: #fff !important; color: var(--ui-cta) !important; box-shadow: none !important; }
body .cartaddv3_btn:hover { background: var(--ui-cta) !important; color: #fff !important; }

/* ---------- 2. 一般按鈕：品牌主色 ---------- */
body .sendv2_btn, body .addv2_btn, body .searchv2_btn, body .linkv2_btn, body .callv2_btn, body .ticket_btn, body .editor_btn,
body .login_btn, body .cart_point_btn, body .sf_apply, body .sp-send-btn, body .nf-btn-primary, body .password-submit,
body .shoptosendv2_btn, body .not_online_btn, body .t1v8_btn_style, body .form_btn_out_f16c5d, body .form_button,
body .btn-primary, body .cta-btn--success, body .cta-btn--danger,
body .cartbtn_li_l, body .cartbtn_mob_l, body .google_btn {
  background-color: var(--ui-primary) !important; background-image: none !important;
  color: #fff !important; border: 1px solid var(--ui-primary) !important;
  border-radius: var(--ui-radius) !important; font-weight: 600 !important;
  box-shadow: none !important; letter-spacing: .02em;
  transition: background .18s, border-color .18s, color .18s, transform .18s !important;
}
body .sendv2_btn:hover, body .addv2_btn:hover, body .searchv2_btn:hover, body .linkv2_btn:hover, body .callv2_btn:hover, body .ticket_btn:hover, body .editor_btn:hover,
body .login_btn:hover, body .cart_point_btn:hover, body .sf_apply:hover, body .sp-send-btn:hover, body .nf-btn-primary:hover, body .password-submit:hover,
body .shoptosendv2_btn:hover, body .not_online_btn:hover, body .t1v8_btn_style:hover, body .form_btn_out_f16c5d:hover, body .form_button:hover,
body .btn-primary:hover, body .cta-btn--success:hover, body .cta-btn--danger:hover,
body .cartbtn_li_l:hover, body .cartbtn_mob_l:hover, body .google_btn:hover {
  background: var(--ui-primary-dark) !important; border-color: var(--ui-primary-dark) !important; color: #fff !important;
  transform: translateY(-1px) !important; box-shadow: none !important;
}
body .shoptosendv2_btn::before, body .shoptosendv2_btn:hover::after { display: none !important; content: none !important; }

/* ---------- 3. 次要按鈕：白底主色細框 ---------- */
body .cancelv2_btn, body .sf_clear, body .sf_clearall, body .nf-btn-ghost, body .cta-btn--secondary, body .cta-btn--ghost,
body .savelater_btn_remove, body .sendv2_out_btn, body .sendv2sim_btn, body .btn-default, body .line_delbtn,
body .spec-toggle-btn, body .rv_photo_btn, body .shop_filter_btn {
  background-color: #fff !important; background-image: none !important;
  color: var(--ui-primary) !important; border: 1px solid var(--ui-border) !important;
  border-radius: var(--ui-radius) !important; font-weight: 600 !important; box-shadow: none !important;
  transition: border-color .18s, background .18s, color .18s !important;
}
body .cancelv2_btn:hover, body .sf_clear:hover, body .sf_clearall:hover, body .nf-btn-ghost:hover, body .cta-btn--secondary:hover, body .cta-btn--ghost:hover,
body .savelater_btn_remove:hover, body .sendv2_out_btn:hover, body .sendv2sim_btn:hover, body .btn-default:hover, body .line_delbtn:hover,
body .spec-toggle-btn:hover, body .rv_photo_btn:hover, body .shop_filter_btn:hover {
  border-color: var(--ui-primary) !important; background: var(--ui-primary-soft) !important; color: var(--ui-primary) !important;
}
body .spec-toggle-btn { border-style: dashed !important; }
body .sf_clear, body .sf_clearall { border-color: transparent !important; padding-left: 4px !important; padding-right: 4px !important; }
body .sf_clear:hover, body .sf_clearall:hover { background: transparent !important; text-decoration: underline; }

/* ---------- 4. 分頁 / 標籤 / 連結 ---------- */
body .pagination > li > a, body .pagination > li > span { color: var(--ui-text) !important; box-shadow: none !important; }
body .pagination > li > a:hover { background: var(--ui-primary-soft) !important; color: var(--ui-primary) !important; }
body .pagination > li.active > a, body .pagination > li.active > span, body .pagination > li.active > a:hover {
  background: var(--ui-primary) !important; color: #fff !important; box-shadow: none !important;
}
body .pagination-wrap { box-shadow: none !important; border: 1px solid var(--ui-border); }
/* 社群登入 / 分享按鈕維持各平台色，不在統一範圍 */

/* ================================================================
   首頁「最新消息」：改成消息列表感（左小圖右文字、兩欄、緊湊）
   取代 shopto_design.css 的兩張超大 16:9 卡片
   ================================================================ */
body ul.news_main { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 16px !important; padding: 0 20px 4px !important; margin: 0 !important; }

body ul.news_main li { flex-direction: row !important; align-items: stretch !important; border-radius: 14px !important; box-shadow: none !important; }
body ul.news_main li:hover { transform: none !important; box-shadow: 0 6px 18px rgba(15,23,42,.06) !important; border-color: var(--ui-primary) !important; }
body ul.news_main li .nmain_liimg { width: 200px !important; flex: 0 0 200px !important; }
body ul.news_main li .nmain_liimg .imgAreaContain { height: 100% !important; padding-bottom: 0 !important; min-height: 140px; }
body ul.news_main li:hover .imgAreaContain { transform: scale(1.03) !important; }
body ul.news_main li .nmain_liinfo { padding: 16px 18px 14px !important; justify-content: space-between !important; min-width: 0; }
body ul.news_main li .nmain_lcinfo { display: flex; flex-direction: column; }
body ul.news_main li .nmain_classtag { order: 0; display: inline-block !important; font-size: 11.5px !important; padding: 2px 8px !important; border-radius: 999px !important; background: var(--ui-primary-soft) !important; color: var(--ui-primary) !important; margin: 0 0 8px !important; width: fit-content; }
body ul.news_main li .nmain_btitle { font-size: 16px !important; line-height: 1.45 !important; margin: 0 0 6px !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body ul.news_main li .nmain_desc { font-size: 13px !important; line-height: 1.6 !important; color: var(--sp-text-sub, #666) !important; margin: 0 !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body ul.news_main li .amain_othermsg { margin-top: 10px !important; padding-top: 8px !important; font-size: 12px !important; }
@media (max-width: 1024px) { body ul.news_main li .nmain_liimg { width: 160px !important; flex-basis: 160px !important; } body ul.news_main li .nmain_liimg .imgAreaContain { min-height: 120px; } }
@media (max-width: 767px) {
  body ul.news_main { grid-template-columns: 1fr !important; gap: 10px !important; padding: 0 12px 4px !important; }
  body ul.news_main li .nmain_liimg { width: 118px !important; flex-basis: 118px !important; }
  body ul.news_main li .nmain_liimg .imgAreaContain { min-height: 100px; }
  body ul.news_main li .nmain_liinfo { padding: 10px 12px !important; }
  body ul.news_main li .nmain_btitle { font-size: 14.5px !important; }
  body ul.news_main li .nmain_desc { -webkit-line-clamp: 1; }
  body ul.news_main li .amain_othermsg { margin-top: 6px !important; padding-top: 6px !important; }
  body ul.news_main li .amain_othermsg::after { display: none; }
}
body ul.news_main li .nmain_classtag:empty { display: none !important; }

/* ================================================================
   首頁「商品分類」膠囊：淡主色底 + 主色字 + 數量小圓標，明顯但不搶戲
   ================================================================ */
body .ils-cats-chips { gap: 10px 12px !important; padding: 26px 16px 26px !important; }
body .ils-cat-chip { padding: 11px 18px 11px 20px !important; font-size: 15px !important; font-weight: 600 !important; background: var(--ui-primary-soft) !important; border: 1px solid color-mix(in srgb, var(--ui-primary) 28%, #fff) !important; color: var(--ui-primary) !important; box-shadow: none !important; letter-spacing: .02em; }
body .ils-cat-chip span { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: #fff !important; color: var(--ui-primary) !important; font-size: 12px !important; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; margin-left: 2px; }
body .ils-cat-chip:hover { background: var(--ui-primary) !important; border-color: var(--ui-primary) !important; color: #fff !important; transform: translateY(-1px); }
body .ils-cat-chip:hover span { background: rgba(255,255,255,.22) !important; color: #fff !important; }
@media (max-width: 767px) { body .ils-cat-chip { padding: 9px 14px 9px 16px !important; font-size: 14px !important; } }

/* 頁尾圖示：不要按鈕感，回到細框圓形圖示 */
body .footer_btn { background: transparent !important; border: 1px solid rgba(255,255,255,.22) !important; color: rgba(255,255,255,.75) !important; border-radius: 50% !important; box-shadow: none !important; }
body .footer_btn:hover { border-color: rgba(255,255,255,.6) !important; color: #fff !important; background: rgba(255,255,255,.06) !important; }

/* ================================================================
   頁尾 v2：四欄整齊網格 + 底部版權列（2026-09-12）
   ================================================================ */
body .footer_v2 { display: block !important; padding: 0 !important; background: #16181d !important; color: #cfd3da !important; border-top: 3px solid var(--ui-primary) !important; }
body .footer_v2 .footer_inner { max-width: 1280px; margin: 0 auto; padding: 52px 24px 40px; display: grid; grid-template-columns: 1.15fr 1.3fr .8fr 1fr; gap: 40px; }
body .footer_v2 .footer_col { width: auto !important; padding: 0 !important; min-width: 0; }
body .footer_v2 .footer_brand { font-size: 22px; font-weight: 700; color: #fff; letter-spacing: .04em; margin-bottom: 22px; padding-left: 14px; border-left: 3px solid var(--ui-primary); line-height: 1.2; }
body .footer_v2 .footer_h { font-size: 12.5px; font-weight: 700; color: #8b93a1; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 14px; padding: 0; border: 0; }
body .footer_v2 ul { list-style: none; margin: 0; padding: 0; }
body .footer_v2 .fm_liv1 { display: block !important; padding: 0 !important; font-size: 14px !important; line-height: 1.9 !important; color: #b6bcc7 !important; letter-spacing: .02em !important; }
body .footer_v2 .fm_liv1.fservicetime:before { display: none !important; }
body .footer_v2 .fm_li { display: flex !important; gap: 10px; align-items: flex-start; font-size: 14px !important; line-height: 1.7 !important; color: #b6bcc7 !important; padding: 5px 0 !important; letter-spacing: .02em !important; }
body .footer_v2 .fm_li:before { position: static !important; margin-top: 2px; font-size: 14px !important; color: var(--ui-primary) !important; opacity: .9; }
body .footer_v2 .fm_li label { flex: 0 0 auto; color: #8b93a1 !important; font-weight: 500 !important; font-size: 13px !important; padding: 0 !important; margin: 0 !important; min-width: 40px; }
body .footer_v2 .fm_li a { color: #e5e8ee !important; }
body .footer_v2 .fm_li a:hover { color: #fff !important; text-decoration: underline; text-underline-offset: 3px; }
body .footer_v2 .fr_li { display: block !important; margin: 0 !important; padding: 0 !important; line-height: 2.1 !important; font-size: 14px !important; letter-spacing: .02em !important; }
body .footer_v2 .fr_li a { color: #b6bcc7 !important; }
body .footer_v2 .fr_li a:hover { color: #fff !important; padding-left: 4px; transition: padding .15s, color .15s; }
body .footer_v2 .footer_icons { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
body .footer_v2 .footer_btn { width: 38px !important; height: 38px !important; margin: 0 !important; font-size: 17px !important; border-radius: 50% !important; background: rgba(255,255,255,.04) !important; border: 1px solid rgba(255,255,255,.16) !important; color: #c3c9d3 !important; display: inline-flex !important; align-items: center; justify-content: center; }
body .footer_v2 .footer_btn:hover { background: var(--ui-primary) !important; border-color: var(--ui-primary) !important; color: #fff !important; }
body .footer_v2 .footer_fbpage { border-radius: 10px; overflow: hidden; max-width: 100%; }
body .footer_v2 .footer_bottom { border-top: 1px solid rgba(255,255,255,.08); }
body .footer_v2 .footer_bottom_in { display: flex !important; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 24px !important; grid-template-columns: none; }
body .footer_v2 .footer_img { width: auto !important; padding: 0 !important; text-align: left !important; display: flex; gap: 10px; align-items: center; }
body .footer_v2 .footer_img img { width: auto; height: 44px !important; max-width: none; margin: 0 !important; border-radius: 6px; opacity: .9; }
body .footer_v2 .footer_full { width: auto !important; border: 0 !important; padding: 0 !important; font-size: 12.5px !important; color: #7f8794 !important; letter-spacing: .04em !important; text-align: right !important; margin-left: auto; }
body .footer_v2 .footer_full a { color: #aab1bd !important; }
@media (max-width: 1024px) { body .footer_v2 .footer_inner { grid-template-columns: 1fr 1fr; gap: 32px 28px; padding: 40px 20px 28px; } }
@media (max-width: 640px) {
  body .footer_v2 .footer_inner { grid-template-columns: 1fr; gap: 26px; padding: 32px 18px 22px; }
  body .footer_v2 .footer_brand { margin-bottom: 14px; }
  body .footer_v2 .footer_bottom_in { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 18px 22px !important; }
  body .footer_v2 .footer_full { text-align: left !important; margin-left: 0; }
}

/* ============================================================
   商品頁購買按鈕（頁內）：兩顆等高等寬、稍後再買改成安靜的文字連結
   ============================================================ */
body .cartbtn_block { display: flex; gap: 10px; margin: 14px 0 0; }
body .cartbtn_50width, body .cartbtn_100width { flex: 1 1 0; min-width: 0; }
body .cartaddv3_btn, body .cartaddv2_btn {
  height: 48px; padding: 0 14px !important; font-size: 15px !important; line-height: 1 !important;
  border-radius: var(--ui-radius) !important; gap: 8px !important; letter-spacing: .02em;
  /* 20260930 固定高度 + padding 0 時，非 flex 的頁面（cart.php 等）文字會貼在按鈕上緣 → 一律 flex 置中 */
  display: inline-flex !important; align-items: center !important; justify-content: center !important; box-sizing: border-box !important;
}
/* 20260930 側邊購物車「訂單結帳」：外框原本 57px 裝不下 48px 按鈕 + 上下 10px 內距 → 按鈕底部被切
   外框改 68px，上方商品列表（cart.css 原本 calc(100% - 57px)）同步讓出 68px */
body .cart_btncon { height: 68px !important; box-sizing: border-box !important; }
body .cart_itemcon { height: calc(100% - 68px) !important; }
body .cart_btncon .cartaddv2_btn { display: flex !important; width: 100% !important; }
body .cartaddv3_btn { border: 1.5px solid var(--ui-cta) !important; background: #fff !important; color: var(--ui-cta) !important; box-shadow: none !important; }
body .cartaddv3_btn:hover { background: rgba(var(--sp-cta-rgb, 249,115,22),.08) !important; color: var(--ui-cta) !important; transform: none !important; box-shadow: none !important; }
body .cartaddv2_btn { border: 1.5px solid var(--ui-cta) !important; box-shadow: 0 4px 14px rgba(var(--sp-cta-rgb, 249,115,22),.25) !important; }
body .cartaddv2_btn:hover { border-color: var(--ui-cta-dark) !important; }
body .cartaddv3_btn i, body .cartaddv2_btn i { font-size: 16px; }
body .savelater_link_block { text-align: left; margin-top: 10px; }
body .savelater_link_btn {
  display: inline-flex !important; align-items: center; gap: 6px; padding: 4px 2px !important;
  background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  color: #6b7280 !important; font-size: 13.5px !important; font-weight: 500 !important; letter-spacing: .02em;
  transition: color .15s !important;
}
body .savelater_link_btn:hover { color: var(--ui-primary) !important; background: transparent !important; transform: none !important; text-decoration: underline; text-underline-offset: 4px; }
body .savelater_link_btn i { font-size: 15px; }

/* ============================================================
   底部固定購買列 buybar v2：桌機浮動卡片（縮圖＋品名＋價格＋按鈕）、手機貼底
   ============================================================ */
body .cartbtn_mob {
  position: fixed; left: 50%; bottom: 18px; right: auto; top: auto; z-index: 850;
  width: min(calc(100% - 32px), 960px); height: auto;
  display: flex; flex-wrap: nowrap; align-items: center; gap: 14px;
  padding: 10px 10px 10px 14px; box-sizing: border-box;
  background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(15,23,42,.08); border-radius: 16px;
  box-shadow: 0 12px 34px rgba(15,23,42,.16), 0 2px 6px rgba(15,23,42,.06);
  transform: translate(-50%, calc(100% + 40px)); opacity: 0;
  transition: transform .32s cubic-bezier(.4,0,.2,1), opacity .25s;
  font-size: 14px; text-align: left; user-select: none;
}
body .cartbtn_mob.fshow { bottom: 18px; transform: translate(-50%, 0); opacity: 1; }
body .cartbtn_info { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 12px; }
body .cartbtn_info img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex: 0 0 48px; border: 1px solid rgba(15,23,42,.06); background: #f4f6f9; }
body .cartbtn_info_txt { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
body .cartbtn_info_txt b { font-size: 14px; font-weight: 600; color: #0f172a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; }
body .cartbtn_info_txt .shopcon_price { display: flex; align-items: baseline; gap: 6px; margin: 0; padding: 0; line-height: 1.2; }
body .cartbtn_info_txt .sc_currency_style { font-size: 12px; font-weight: 700; color: var(--ui-cta); }
body .cartbtn_info_txt .sc_price_style { font-size: 19px; font-weight: 800; color: var(--ui-cta); letter-spacing: -.01em; }
body .cartbtn_info_txt .sc_price_urdel { font-size: 12px; color: #9ca3af; text-decoration: line-through; }
body .cartbtn_actions { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; }
body .cartbtn_actions > div { position: static; width: auto; height: 44px; padding: 0 !important; margin: 0; }
body .cartbtn_mob_savelater {
  flex: 0 0 44px !important; width: 44px !important; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid #e2e6ec !important; border-radius: var(--ui-radius) !important; background: #fff !important;
  color: #6b7280 !important; font-size: 18px !important; cursor: pointer; transition: all .15s !important;
}
body .cartbtn_mob_savelater:hover, body .cartbtn_mob_savelater:active { border-color: var(--ui-primary) !important; color: var(--ui-primary) !important; background: rgba(var(--sp-primary-rgb, 54,90,158),.06) !important; }
body .cartbtn_mob_l, body .cartbtn_mob_r, body .cartbtn_li_full, body .cartbtn_li_redfull, body .cartbtn_li_l, body .cartbtn_li_r {
  flex: 0 0 auto !important; min-width: 150px; padding: 0 22px !important; height: 44px;
  display: inline-flex !important; align-items: center; justify-content: center; gap: 8px;
  font-size: 15px !important; line-height: 1 !important; border-radius: var(--ui-radius) !important; letter-spacing: .02em; white-space: nowrap;
}
body .cartbtn_mob_l, body .cartbtn_li_l {
  background: #fff !important; color: var(--ui-cta) !important; border: 1.5px solid var(--ui-cta) !important; box-shadow: none !important;
}
body .cartbtn_mob_l:hover, body .cartbtn_li_l:hover { background: rgba(var(--sp-cta-rgb, 249,115,22),.08) !important; color: var(--ui-cta) !important; border-color: var(--ui-cta) !important; transform: none !important; }
body .cartbtn_mob_r:hover, body .cartbtn_li_r:hover, body .cartbtn_li_full:hover, body .cartbtn_li_redfull:hover { transform: none !important; }
body .cartbtn_li_full, body .cartbtn_li_redfull { min-width: 220px; }
@media (max-width: 767px) {
  body .cartbtn_mob, body .cartbtn_mob.fshow {
    left: 0; right: 0; bottom: 66px; width: 100%; border-radius: 16px 16px 0 0; gap: 8px; /* 66px = 手機底部選單 footermenu_mob 高度，購買列疊在它上面 */
    padding: 10px 12px; border-width: 1px 0 0; box-shadow: 0 -8px 24px rgba(15,23,42,.12);
    transform: translate(0, calc(100% + 20px));
  }
  body .cartbtn_mob.fshow { transform: translate(0, 0); }
  body .cartbtn_info { display: none; }
  body .cartbtn_actions { flex: 1 1 auto; width: 100%; }
  body .cartbtn_actions > div { height: 46px; }
  body .cartbtn_mob_savelater { flex: 0 0 46px !important; width: 46px !important; }
  body .cartbtn_mob_l, body .cartbtn_mob_r, body .cartbtn_li_full, body .cartbtn_li_redfull, body .cartbtn_li_l, body .cartbtn_li_r { flex: 1 1 0 !important; min-width: 0; padding: 0 10px !important; height: 46px; }
  body .cartbtn_mob_r, body .cartbtn_li_r { flex-grow: 1.25 !important; }
}

/* ============================================================
   圖片 SEO：背景圖容器裡的真正 <img>（由 img_seo_realize 自動加入）
   ============================================================ */
body .imgAreaContain { position: relative; }
body .imgAreaContain > img.ia-real, body .imgAreaContain > a > img.ia-real { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; object-fit: cover; object-position: center; visibility: visible !important; display: block; margin: 0; border: 0; }

/* 購物車「使用此門市」等 .form_button 原本沒有任何樣式（顯示成瀏覽器預設灰框），補尺寸；顏色走上方主要按鈕 */
body .form_button { font-size: 13px !important; padding: 6px 14px !important; cursor: pointer; line-height: 1.4; }
