/* ============================================================
   格桑花 · 国风线描装饰库
   牦牛 / 牦牛角梳 / 羌绣纹样 —— 纯描边，无填充
   ============================================================ */

/* ---------- 通用线描 ---------- */
.yak-front,
.comb-art {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

/* ============================================================
   1. 水印摆放位（版心内，避开标题区）
   ============================================================ */
.yak-watermark {
  position: absolute;
  pointer-events: none;
  color: var(--color-qiang-red);
  opacity: .055;
  z-index: 0;
}
.yak-watermark.a { width: clamp(200px, 20vw, 320px); top: 52%; right: -60px; }
.yak-watermark.b { width: clamp(190px, 19vw, 300px); bottom: 34px; left: -56px; transform: scaleX(-1); }

.comb-watermark {
  position: absolute;
  pointer-events: none;
  color: var(--color-qiang-brown);
  opacity: .07;
  z-index: 0;
}
.comb-watermark.a { width: clamp(150px, 15vw, 230px); top: 88px; left: -52px; }
.comb-watermark.b { width: clamp(140px, 14vw, 210px); bottom: 68px; right: -46px; transform: rotate(-14deg); }

/* 卡片角标小牦牛 */
.card-yak {
  position: absolute;
  right: 12px;
  bottom: 10px;
  width: 40px;
  color: var(--color-qiang-red);
  opacity: .14;
  pointer-events: none;
  transition: opacity .4s ease, transform .4s ease;
}
.product-card:hover .card-yak { opacity: .30; transform: translateY(-3px); }

/* ============================================================
   2. 首屏左右大型线描
   ============================================================ */
/* 左侧牦牛：放大成"水墨底纹"，上下用遮罩渐隐，避免边缘像脏点 */
.hero-line-left {
  position: absolute;
  left: -2.2vw;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(300px, 30vw, 480px);
  color: #fff;
  opacity: .075;
  pointer-events: none;
  z-index: 2;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 72%, transparent 100%);
}
/* 右侧牦牛角梳：避开右侧竖向进度条 */
.hero-line-right {
  position: absolute;
  right: clamp(58px, 5.6vw, 118px);
  bottom: 20%;
  width: clamp(96px, 9vw, 148px);
  color: var(--brand-gold);
  opacity: .26;
  pointer-events: none;
  z-index: 2;
}

@media (max-width: 1400px) {
  .hero-line-left { opacity: .08; }
  .hero-line-right { opacity: .2; bottom: 24%; }
}
@media (max-width: 1180px) {
  .hero-line-right { display: none; }
}
@media (max-width: 980px) {
  .hero-line-left, .hero-line-right { display: none; }
}

/* ============================================================
   3. 段落标题两侧的线描角
   ============================================================ */
.title-horn {
  color: var(--color-qiang-red);
  opacity: .55;
  flex: 0 0 auto;
}

/* ============================================================
   4. 羌绣几何纹样细带
   ============================================================ */
.qiang-band {
  height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='56' height='14' viewBox='0 0 56 14'><g fill='none' stroke='%239e2b25' stroke-width='1'><path d='M0,7 L7,1 L14,7 L7,13 Z'/><path d='M14,7 L21,1 L28,7 L21,13 Z'/><path d='M28,7 L35,1 L42,7 L35,13 Z'/><path d='M42,7 L49,1 L56,7 L49,13 Z'/><circle cx='28' cy='7' r='1.6' fill='%23d4a017' stroke='none'/></g></svg>");
  background-repeat: repeat-x;
  background-size: auto 14px;
  opacity: .75;
}
