/* ============================================================
   YUHL brand layer — 冰川航拍素材站定制（覆盖 morpho 主题）
   ============================================================ */
:root {
  --yuhl-ice: #7fb2dd;
  --yuhl-ice-bright: #a8d0f0;
  --yuhl-ice-dim: #4a7096;
  --yuhl-ink: #0e141d;
  /* 主题主色：粉 → 冰蓝 */
  --bs-primary: #5b93c5;
  --bs-primary-rgb: 91, 147, 197;
  --bs-primary-text-emphasis: #35608a;
  --bs-primary-bg-subtle: #e8f1f9;
  --bs-primary-border-subtle: #c3d8ea;
  --bs-link-color: #5b93c5;
  --bs-link-color-rgb: 91, 147, 197;
  --bs-link-hover-color: #35608a;
  --bs-link-hover-color-rgb: 53, 96, 138;
}
[data-bs-theme="dark"] {
  --bs-primary-text-emphasis: #a8d0f0;
  --bs-primary-bg-subtle: #1a2735;
  --bs-primary-border-subtle: #2c455e;
  --bs-link-color: #8fb8dd;
  --bs-link-color-rgb: 143, 184, 221;
  --bs-link-hover-color: #b4d4f0;
  --bs-link-hover-color-rgb: 180, 212, 240;
}
.btn-primary {
  --bs-btn-bg: #5b93c5;
  --bs-btn-border-color: #5b93c5;
  --bs-btn-hover-bg: #4a7fae;
  --bs-btn-hover-border-color: #4a7fae;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: #41719e;
  --bs-btn-active-border-color: #41719e;
  --bs-btn-active-color: #fff;
  --bs-btn-disabled-bg: #5b93c5;
  --bs-btn-disabled-border-color: #5b93c5;
}
.text-primary { color: #4a7fae !important; }
[data-bs-theme="dark"] .text-primary { color: #a8d0f0 !important; }
.bg-primary { background-color: #5b93c5 !important; }
.btn-outline-primary {
  --bs-btn-color: #5b93c5;
  --bs-btn-border-color: #5b93c5;
  --bs-btn-hover-bg: #5b93c5;
  --bs-btn-hover-border-color: #5b93c5;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: #5b93c5;
  --bs-btn-active-border-color: #5b93c5;
  --bs-btn-active-color: #fff;
  --bs-btn-disabled-color: #5b93c5;
  --bs-btn-disabled-border-color: #5b93c5;
}
.nav-pills .nav-link.active { background-color: #5b93c5; border-color: #5b93c5; }
.btn-check:checked + .btn-outline-primary { color: #fff; }

/* ---------- 电影感 Hero（首页） ---------- */
.yuhl-hero {
  position: relative;
  min-height: 440px;
  max-height: 820px;
  height: 72vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-bottom: 1rem;
}
.yuhl-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/uploads/yuhl/hero.jpg');
  background-size: cover;
  background-position: center 62%;
}
.yuhl-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(8, 11, 17, 0.10) 0%,
    rgba(8, 11, 17, 0.34) 48%,
    rgba(8, 11, 17, 0.82) 100%);
}
.yuhl-hero-inner {
  position: relative;
  z-index: 2;
  padding-bottom: 3.4rem;
  padding-top: 3rem;
  width: 100%;
}
.yuhl-hero-kicker {
  color: var(--yuhl-ice-bright);
  letter-spacing: .38em;
  font-size: .78rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.yuhl-hero-title {
  font-size: clamp(2.3rem, 5.6vw, 4rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: .05em;
  margin-bottom: 1.1rem;
  text-shadow: 0 2px 24px rgba(0,0,0,.45);
}
.yuhl-hero-sub {
  color: rgba(233, 240, 248, .88);
  font-size: 1.02rem;
  line-height: 2;
  max-width: 48rem;
  margin-bottom: 1.9rem;
}
.yuhl-hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; }
.yuhl-btn {
  display: inline-block;
  padding: .68rem 1.7rem;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .18s ease;
}
.yuhl-btn-primary { background: var(--yuhl-ice); border: 1px solid var(--yuhl-ice); color: #0b1018; }
.yuhl-btn-primary:hover { background: var(--yuhl-ice-bright); border-color: var(--yuhl-ice-bright); color: #0b1018; }
.yuhl-btn-ghost { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.42); color: #fff; }
.yuhl-btn-ghost:hover { background: rgba(255,255,255,.16); color: #fff; }
@media (max-width: 575px) {
  .yuhl-hero { min-height: 400px; height: auto; }
  .yuhl-hero-inner { padding-bottom: 2.6rem; }
  .yuhl-hero-sub { font-size: .95rem; line-height: 1.9; }
}

/* ---------- 商品卡片 ---------- */
.yuhl-card-img { aspect-ratio: 4 / 3 !important; }
.yuhl-card-img img { object-fit: cover !important; width: 100%; height: 100%; }
.yuhl-card-title {
  font-size: .98rem !important;
  font-weight: 600;
  letter-spacing: .01em;
}
.yuhl-card-price { font-size: 1.08rem !important; font-weight: 700; color: var(--yuhl-ice-dim) !important; }
[data-bs-theme="dark"] .yuhl-card-price { color: var(--yuhl-ice) !important; }
.yuhl-card-meta { font-size: .8rem !important; }

/* ---------- 页脚 ---------- */
.yuhl-footer {
  border-top: 1px solid rgba(127, 178, 221, .22);
  padding: 2.1rem 0 2.3rem;
  margin-top: 3.2rem;
}
.yuhl-footer a {
  color: rgba(148, 162, 180, .92);
  text-decoration: none;
  font-size: .86rem;
  transition: color .15s ease;
}
.yuhl-footer a:hover { color: var(--yuhl-ice-bright); }
.yuhl-footer-brand { font-weight: 700; letter-spacing: .2em; color: var(--yuhl-ice); margin-right: .7rem; font-size: 1rem; }
.yuhl-footer-desc { font-size: .85rem; color: rgba(148, 162, 180, .72); }
.yuhl-footer-copy { font-size: .8rem; color: rgba(148, 162, 180, .6); }
.yuhl-footer-links { display: flex; gap: 1.4rem; justify-content: center; flex-wrap: wrap; }

/* ---------- 购买页 ---------- */
.yuhl-buy-prompt { border-radius: .75rem; }
.yuhl-buy-prompt .ci-information { color: var(--yuhl-ice-dim); }
.product-image { object-fit: cover !important; }
.spec-option .btn-check:checked + .btn {
  border-color: var(--yuhl-ice) !important;
  box-shadow: 0 0 0 2px rgba(127,178,221,.35) !important;
}

/* ---------- 认证页 ---------- */
.auth-form .form-control { padding-left: 48px !important; }
.brand-name { letter-spacing: .22em !important; }
[data-bs-theme="dark"] .auth-form .form-control::placeholder { color: rgba(190, 202, 216, .85) !important; }
[data-bs-theme="dark"] .auth-form .input-icon { color: rgba(160, 175, 195, .9) !important; }
.auth-form .form-control:focus { border-color: #5b93c5 !important; box-shadow: 0 0 0 3px rgba(91, 147, 197, .18) !important; }

/* ---------- 图库 ---------- */
.yuhl-gallery-note {
  border: 1px solid rgba(127,178,221,.3);
  background: rgba(127,178,221,.08);
  color: rgba(148,162,180,.95);
  border-radius: .75rem;
}
[data-bs-theme="dark"] .yuhl-gallery-note { background: rgba(127,178,221,.1); }
.yuhl-empty {
  max-width: 560px;
  margin: 0 auto;
  border-radius: 1rem;
}
.yuhl-empty-img {
  width: 100%;
  max-width: 380px;
  border-radius: .9rem;
  opacity: .55;
  margin-bottom: 1.2rem;
}

/* ---------- 导航 logo ---------- */
.navbar-brand img { border-radius: .45rem; }

/* ---------- 商品卡 hover ---------- */
.yuhl-card:hover { transform: translateY(-4px); border-color: rgba(127,178,221,.55) !important; box-shadow: 0 .8rem 1.6rem rgba(10,15,25,.22); }

/* ---------- 商品网格（9 件 = 3x3） ---------- */
@media (min-width: 1200px) and (max-width: 1400px) {
  .yuhl-goods-row { --bs-gutter-x: 1rem; }
}

/* ---------- 移动端 ---------- */
@media (max-width: 575px) {
  .floating-buttons { right: 14px !important; }
  .yuhl-hero-sub { font-size: .92rem; }
  .yuhl-footer-links { gap: .9rem; }
}

/* 页脚法务行（settings footer 文字） */
.yuhl-footer-legal {
  margin-top: 1rem;
  padding-top: .9rem;
  border-top: 1px solid var(--yuhl-line);
  font-size: .72rem;
  line-height: 1.9;
  color: rgba(148, 162, 180, .65);
  text-align: center;
}
.yuhl-footer-legal a { color: var(--yuhl-accent); text-decoration: none; opacity: .85; }
.yuhl-footer-legal a:hover { opacity: 1; text-decoration: underline; }

/* ===== 防垃圾机器人：蜜罐隐藏框（移出视口，不用 display:none） ===== */
.yuhl-hp{position:absolute !important;left:-5000px !important;top:auto !important;width:1px !important;height:1px !important;overflow:hidden !important;opacity:0 !important;pointer-events:none !important;}

/* ===== 找回密码 / 重置密码页辅助样式 ===== */
.auth-hint{font-size:.85rem;opacity:.75;margin:0 0 1rem;line-height:1.6;}
.auth-switch{margin-top:1rem;font-size:.875rem;text-align:center;}
.auth-switch a{color:#4fb3d9;text-decoration:none;}
.auth-switch a:hover{text-decoration:underline;}
