/* ==========================================================================
   A 档 UI 修复（2026-10-21）

   andy 2026-10-21 拍板：区间价保留 ｜ 折扣角标不留 ｜ 主图去水印
   回滚：注释 functions.php 里 ctc-ui-a 的 3 行（enqueue ×2 + require ×1）
   备份：/home/wwwroot/fixbackups/ctc-uia-20261020-215035/
   ========================================================================== */

/* A1 折扣角标 —— 466 个商品带 sale price，-26% 这类是零售语言，
   B2B 工厂站与「Price on request / 批量区间」并列时互相打架，直接不留。
   Porto 里 .labels 只服务商品角标（.labels .onsale/.onhot/.onnew），不误伤别处。 */
.labels{display:none!important}
.onsale,.onhot{display:none!important}

/* A2 去水印（临时手段，只对旧图生效）—— 水印压在图片下缘。
   手法：图片以顶边为锚放大，底部溢出被容器裁掉；transform 不改布局，
   所以不会影响卡片高度与栅格。okaycn 同法实测定档 k=1.10（见 topics/ui-ux.md）。
   2026-10-21 C 档：top 80 主图已换成源文件级去水印的新图（uploads/2026/10/），
   新图无需放大裁切，故用 :not([src*=...]) 排除，避免把刚补的留白又裁掉。
   等 C 档铺满全站后，本段可整段删除。 */
ul.products .product-image>a{display:block;overflow:hidden}
ul.products .product-image img:not([src*="/2026/10/"]){transform:scale(1.10);transform-origin:center top}
.woocommerce-product-gallery .product-image-slider .owl-item>div{overflow:hidden}
.woocommerce-product-gallery .product-image-slider .owl-item img:not([src*="/2026/10/"]){transform:scale(1.10);transform-origin:center top}
/* 缩略图不放大：尺寸本来就小，放大只会糊 */
.woocommerce-product-gallery .product-thumbnails img{transform:none}

/* A3 Google+ 已于 2019 年关停（链接指向 plus.google.com 死链），分享按钮里删掉 */
.share-googleplus{display:none!important}

/* A4 首屏询价 CTA（HTML 由 ctc-ui-a.php 注入）
   与站内已有 CTA 同语言：深橙 #c74a00 + 白字（4.76:1）、3px 圆角、47px 高 */
.ctc-quote-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:14px 0 4px}
.ctc-quote-jump{display:inline-flex;align-items:center;gap:8px;height:47px;padding:0 22px;
  background:#c74a00;color:#fff!important;font-size:15px;font-weight:600;line-height:1;
  border-radius:3px;text-decoration:none!important;white-space:nowrap;transition:background .15s ease}
.ctc-quote-jump:hover{background:#a83e00;color:#fff!important}
.ctc-quote-note{font-size:12.5px;color:#6b7280;line-height:1.4}

/* 锚点跳转别被 fixed 页头（122px）挡住 */
#ctc-quote{scroll-margin-top:132px}
