/* BOYUE LIGHT · 日常主题 — Apple 官网级：简洁 · 科技 · 创新 */

body.daily-theme {
  --bg: #fbfbfd;
  --surface: #ffffff;
  --border: rgba(0, 0, 0, 0.08);
  --text: #1d1d1f;
  --muted: #6e6e73;
  --accent: #0071e3;
  --eak: #0071e3;
  --eak-glow: rgba(0, 113, 227, 0.12);
  --success: #34c759;
  --warning: #ff9f0a;
  --danger: #ff3b30;
  --radius: 18px;
  --wa: #25d366;
  --wa-dark: #128c7e;
  --wa-glow: rgba(37, 211, 102, 0.25);
  --promo: #ff2d55;
  --promo-glow: rgba(255, 45, 85, 0.12);

  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}

body.daily-theme .children-deco {
  display: none !important;
}

body.daily-theme::before,
body.daily-theme::after {
  display: none;
}

/* 顶部导航 · 毛玻璃 */
body.daily-theme .topbar {
  background: rgba(251, 251, 253, 0.72);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

body.daily-theme .brand-text h1 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.02em;
}

body.daily-theme .brand-text p {
  color: var(--muted);
  font-size: 0.72rem;
}

body.daily-theme .logo {
  background: linear-gradient(145deg, #1d1d1f, #424245);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

body.daily-theme .lang-switch {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  padding: 3px;
}

body.daily-theme .lang-btn {
  color: var(--muted);
  border-radius: 999px;
}

body.daily-theme .lang-btn.active {
  background: #fff;
  color: #1d1d1f;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

body.daily-theme .topbar-actions a.staff {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: var(--accent);
  border-radius: 999px;
  font-size: 0.78rem;
}

body.daily-theme .topbar-actions a.staff:hover {
  background: rgba(0, 113, 227, 0.06);
  text-decoration: none;
}

body.daily-theme a:not(.wa-hero-cta):not(.wa-fab) {
  color: var(--accent);
}

/* Hero · 大标题科技风 */
body.daily-theme .hero {
  padding: 1.25rem 0 0.5rem;
}

body.daily-theme .hero-title {
  font-size: clamp(2.4rem, 8vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
  background: linear-gradient(180deg, #1d1d1f 0%, #424245 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: none;
  filter: none;
  text-shadow: none;
}

body.daily-theme .hero > p {
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 400;
  max-width: 520px;
  margin: 0.5rem auto 0;
  line-height: 1.45;
}

body.daily-theme .wa-hero-strip {
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

body.daily-theme .wa-hero-strip .strip-text {
  color: #1d1d1f;
}

body.daily-theme .wa-hero-strip .strip-text small {
  color: var(--muted);
}

body.daily-theme .wa-hero-cta {
  background: linear-gradient(135deg, #25d366, #128c7e);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  font-weight: 700;
}

body.daily-theme .wa-hero-cta svg {
  fill: #fff;
}

body.daily-theme .wa-hero-cta:hover {
  background: linear-gradient(135deg, #2ee06a, #128c7e);
  filter: brightness(1.05);
  color: #fff !important;
}

/* 统计卡片 */
body.daily-theme .summary-item {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.daily-theme .summary-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

body.daily-theme .summary-item.active {
  border-color: rgba(0, 113, 227, 0.4);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12);
}

body.daily-theme .summary-item .k {
  color: var(--muted);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

body.daily-theme .summary-item .v {
  color: #1d1d1f;
  font-weight: 700;
}

body.daily-theme .summary-item.accent .v { color: var(--accent); }
body.daily-theme .summary-item.ok .v { color: var(--success); }
body.daily-theme .summary-item.warn .v { color: var(--warning); }
body.daily-theme .summary-item.promo .v { color: var(--promo); }

/* 搜索栏 */
body.daily-theme .toolbar {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body.daily-theme .toolbar input,
body.daily-theme .toolbar select {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
  color: #1d1d1f;
  border-radius: 12px;
}

body.daily-theme .toolbar input:focus,
body.daily-theme .toolbar select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

/* 产品卡 */
body.daily-theme .product-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

body.daily-theme .product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

body.daily-theme .product-card::after {
  display: none;
}

body.daily-theme .product-image-wrap {
  background: #f5f5f7;
}

body.daily-theme .product-sku-badge {
  margin-bottom: 0.38rem;
}

body.daily-theme .product-sku-badge .sku-tag,
body.daily-theme .product-sku-badge .sku-sep {
  color: #86868b;
}

body.daily-theme .product-sku-badge .sku-code {
  font-size: 0.96rem;
  letter-spacing: 0.05em;
  background: linear-gradient(180deg, #636366 0%, #1d1d1f 45%, #000 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.65));
}

body.daily-theme .product-body .product-price {
  margin-top: 0;
}

body.daily-theme .product-card:not(.promo-card) .product-price {
  color: #0071e3;
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

body.daily-theme .product-card:not(.promo-card) .product-price span {
  color: #86868b;
  font-size: 0.82rem;
  font-weight: 500;
}

body.daily-theme .product-card.promo-card {
  border-color: rgba(255, 45, 85, 0.2);
  box-shadow: 0 4px 24px var(--promo-glow);
}

body.daily-theme .promo-badge {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  box-shadow: 0 4px 16px rgba(255, 45, 85, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  animation: promoBadgeFlash 1.8s ease-in-out infinite;
}

body.daily-theme .promo-badge-text {
  font-weight: 800;
  background: linear-gradient(
    100deg,
    #fde047 0%,
    #fb923c 12%,
    #f43f5e 24%,
    #ec4899 36%,
    #a855f7 48%,
    #3b82f6 60%,
    #22d3ee 72%,
    #4ade80 84%,
    #fde047 100%
  );
  background-size: 240% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: promoShimmer 3s linear infinite;
  filter: drop-shadow(0 0 8px rgba(236, 72, 153, 0.4));
}

body.daily-theme .product-price.promo-price {
  margin-top: 0.25rem;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.28rem 0.38rem;
}

body.daily-theme .product-price.promo-price .price-now {
  font-size: 1.48rem;
  font-weight: 800;
  color: #ff2d55;
  -webkit-text-fill-color: #ff2d55;
  background: none;
  animation: none;
  filter: none;
}

body.daily-theme .product-price.promo-price .price-was {
  color: #86868b;
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 1;
}

body.daily-theme .product-price.promo-price .price-unit {
  font-size: 0.68rem;
  color: #86868b;
}

body.daily-theme .product-meta {
  color: var(--muted);
  border-top-color: rgba(0, 0, 0, 0.06);
}

body.daily-theme .product-meta strong {
  color: #1d1d1f;
  font-weight: 600;
}

body.daily-theme .stock-badge.in-stock {
  background: rgba(255, 255, 255, 0.92);
  color: #248a3d;
  border-color: rgba(52, 199, 89, 0.35);
}

body.daily-theme .stock-badge.low-stock {
  background: rgba(255, 255, 255, 0.92);
  color: #b25d00;
}

body.daily-theme .stock-badge.out-of-stock {
  background: rgba(255, 255, 255, 0.92);
  color: #d70015;
}

body.daily-theme footer {
  color: var(--muted);
  border-top-color: rgba(0, 0, 0, 0.06);
}

body.daily-theme .footer-eid {
  display: none;
}

body.daily-theme .eid-banner {
  display: none !important;
}

body.daily-theme .eid-corner {
  display: none !important;
}

/* 手机端 */
@media (max-width: 640px) {
  body.daily-theme .product-sku-badge .sku-code {
    font-size: 0.86rem;
  }

  body.daily-theme .product-card:not(.promo-card) .product-price {
    font-size: 1.15rem;
  }

  body.daily-theme .product-price.promo-price .price-now {
    font-size: 1.32rem;
  }

  body.daily-theme .summary-item {
    border-radius: 14px;
  }

  body.daily-theme .toolbar {
    border-radius: 18px;
  }

  body.daily-theme .toolbar input,
  body.daily-theme .toolbar select {
    border-radius: 14px;
  }

  body.daily-theme .product-card {
    border-radius: 18px;
  }

  body.daily-theme .wa-hero-strip {
    border-radius: 18px;
  }

  body.daily-theme .wa-hero-cta {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.daily-theme .product-card:hover,
  body.daily-theme .summary-item:hover {
    transform: none;
  }
}
