/* =====================================================================
   NHE 課程封面系統樣式
   - 6 色系漸層（套在 .nhe-cover / .cv / .nhe-shop-cover）
   - 圖示浮水印 .nhe-cv-ic（疊在標題後方，淡）
   - 商店列表封面 .nhe-shop-cover
   ===================================================================== */

/* ---- 6 色系（深色漸層，白字對比都顧到）---- */
.nhe-pal-maroon{background:linear-gradient(150deg,#8a4031 0%,#5a2a20 64%,#3a1c15 100%)}
.nhe-pal-forest{background:linear-gradient(150deg,#2f5d4a 0%,#1e4034 64%,#13241d 100%)}
.nhe-pal-ocean {background:linear-gradient(150deg,#2c4a73 0%,#1d3350 64%,#13243a 100%)}
.nhe-pal-amber {background:linear-gradient(150deg,#9a6726 0%,#6e4417 64%,#43280e 100%)}
.nhe-pal-plum  {background:linear-gradient(150deg,#6d3550 0%,#4a2138 64%,#2c1322 100%)}
.nhe-pal-night {background:linear-gradient(150deg,#37485a 0%,#222f3d 64%,#141d27 100%)}

/* ---- 圖示浮水印（共用基底）---- */
.nhe-cv-ic{position:absolute;pointer-events:none;color:#fff;line-height:0}
.nhe-cv-ic svg{width:100%;height:100%;display:block}

/* 單一商品頁封面（.nhe-cover，較大）：右下方大浮水印 */
.nhe-cover .nhe-cv-ic{z-index:0;width:clamp(190px,26vw,280px);height:clamp(190px,26vw,280px);right:-26px;bottom:84px;opacity:.1}

/* 首頁課程卡封面（.cv，16:10）：右下角小浮水印（疊在深色 ::after 之下、文字之上層級下）*/
.nhe-home .cv .nhe-cv-ic{z-index:0;width:128px;height:128px;right:-12px;bottom:-18px;opacity:.18}

/* ---- 商店列表封面（取代破圖縮圖）---- */
.nhe-shop-cover{
  position:relative;overflow:hidden;border-radius:14px;aspect-ratio:4/3;
  display:flex;flex-direction:column;justify-content:flex-end;
  padding:18px;color:#fff;margin:0 0 14px;box-shadow:var(--nhe-shadow)
}
.nhe-shop-cover::after{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:1;
  background:
    linear-gradient(160deg,rgba(0,0,0,.04),rgba(0,0,0,.42)),
    repeating-linear-gradient(135deg,rgba(255,255,255,.05) 0 13px,rgba(255,255,255,0) 13px 28px)
}
.nhe-shop-cover .nhe-cv-ic{z-index:0;width:118px;height:118px;right:-10px;top:-12px;opacity:.16}
.nhe-shop-cover .nhe-shop-eyebrow{position:relative;z-index:2;font-family:var(--nhe-serif);font-size:11.5px;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:rgba(255,255,255,.82);margin-bottom:6px}
.nhe-shop-cover .zh{position:relative;z-index:2;font-family:var(--nhe-serif-tc);font-weight:700;font-size:1.18rem;line-height:1.35;text-shadow:0 2px 14px rgba(0,0,0,.32)}
.nhe-shop-cover::before{
  content:"";position:absolute;z-index:2;left:18px;top:18px;width:46px;height:3px;border-radius:999px;
  background:linear-gradient(90deg,var(--nhe-c1),var(--nhe-c2) 40%,var(--nhe-c3) 70%,var(--nhe-c4))
}
