/* BOYUE LIGHT · 六一儿童节主题（第一版 · 童趣天蓝）— body.children-festival */

body.children-festival {
  --cd-sky: #7dd3fc;
  --cd-sky-deep: #38bdf8;
  --cd-sun: #fde047;
  --cd-pink: #fb7185;
  --cd-mint: #4ade80;
  --cd-purple: #c084fc;
  --cd-glass: rgba(255, 255, 255, 0.52);
  --cd-glass-strong: rgba(255, 255, 255, 0.68);
  --cd-glass-border: rgba(255, 255, 255, 0.78);
  --cd-glass-shadow: 0 8px 32px rgba(14, 116, 144, 0.12);
  --cd-text: #0f172a;
  --cd-text-muted: #475569;
  --cd-text-soft: #64748b;
  background:
    radial-gradient(ellipse 90% 50% at 50% -5%, rgba(253, 224, 71, 0.35), transparent 55%),
    radial-gradient(circle at 12% 22%, rgba(251, 113, 133, 0.2), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(192, 132, 252, 0.18), transparent 26%),
    linear-gradient(175deg, #e0f2fe 0%, #bae6fd 38%, #7dd3fc 72%, #38bdf8 100%);
  color: #0f172a;
}

body.children-festival::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='18' cy='22' r='3' fill='%23fde047'/%3E%3Ccircle cx='72' cy='48' r='2.5' fill='%23fb7185'/%3E%3Ccircle cx='98' cy='18' r='2' fill='%234ade80'/%3E%3Ccircle cx='44' cy='88' r='2.5' fill='%23c084fc'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  animation: cdConfettiDrift 24s linear infinite;
}

body.children-festival::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 80;
  pointer-events: none;
  background: linear-gradient(90deg, #fb7185, #fde047, #4ade80, #38bdf8, #c084fc, #fb7185);
  background-size: 200% 100%;
  animation: cdRainbowBar 5s linear infinite;
}

@keyframes cdConfettiDrift {
  0% { background-position: 0 0; }
  100% { background-position: 180px 360px; }
}

@keyframes cdRainbowBar {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

body.children-festival .container,
body.children-festival .topbar,
body.children-festival .eid-banner {
  position: relative;
  z-index: 1;
}

.children-deco {
  display: none;
  pointer-events: none;
}

body.children-festival .children-deco {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.cd-balloon {
  position: absolute;
  width: 42px;
  height: 52px;
  border-radius: 50% 50% 48% 48%;
  opacity: 0.55;
  animation: cdBalloonFloat 7s ease-in-out infinite;
}

.cd-balloon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18px;
  width: 2px;
  height: 20px;
  background: rgba(15, 23, 42, 0.25);
  transform: translateX(-50%);
}

.cd-balloon.b1 { left: 4%; top: 12%; background: #fb7185; }
.cd-balloon.b2 { left: 92%; top: 18%; background: #fde047; animation-delay: 1.2s; width: 36px; height: 44px; }
.cd-balloon.b3 { left: 8%; top: 55%; background: #4ade80; animation-delay: 2s; width: 32px; height: 40px; }
.cd-balloon.b4 { right: 6%; top: 48%; background: #c084fc; animation-delay: 0.8s; width: 38px; height: 46px; }

@keyframes cdBalloonFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}

/* 云朵：主体 + 双圆叠层（替代原先胶囊长条） */
.cd-cloud {
  position: absolute;
  display: block;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  box-shadow:
    0 8px 24px rgba(186, 230, 253, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  opacity: 0.9;
}

.cd-cloud::before,
.cd-cloud::after {
  content: "";
  position: absolute;
  background: inherit;
  border-radius: 50%;
  box-shadow: inherit;
}

/* 横向飘过 */
.cd-cloud.c1 {
  width: 88px;
  height: 28px;
  top: 8%;
  left: -120px;
  animation: cdCloudDrift 24s linear infinite;
}

.cd-cloud.c1::before {
  width: 36px;
  height: 36px;
  top: -18px;
  left: 12px;
}

.cd-cloud.c1::after {
  width: 46px;
  height: 46px;
  top: -24px;
  right: 8px;
}

.cd-cloud.c2 {
  width: 108px;
  height: 34px;
  top: 20%;
  left: -150px;
  animation: cdCloudDrift 30s linear infinite;
  animation-delay: 8s;
  opacity: 0.75;
}

.cd-cloud.c2::before {
  width: 44px;
  height: 44px;
  top: -22px;
  left: 16px;
}

.cd-cloud.c2::after {
  width: 54px;
  height: 54px;
  top: -28px;
  right: 10px;
}

/* Hero 左上：轻轻上下飘的云 */
.cd-cloud.c-hero {
  width: 80px;
  height: 30px;
  top: 12%;
  left: 4%;
  opacity: 0.82;
  animation: cdCloudBob 9s ease-in-out infinite;
}

.cd-cloud.c-hero::before {
  width: 38px;
  height: 38px;
  top: -20px;
  left: 10px;
}

.cd-cloud.c-hero::after {
  width: 48px;
  height: 48px;
  top: -26px;
  right: 6px;
}

@keyframes cdCloudDrift {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(100vw + 240px)); }
}

@keyframes cdCloudBob {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(8px, -12px); }
}

body.children-festival .eid-banner {
  display: block;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(90deg, rgba(251, 113, 133, 0.22), rgba(253, 224, 71, 0.32), rgba(74, 222, 128, 0.22));
  border-bottom: 1px solid var(--cd-glass-border);
  box-shadow: var(--cd-glass-shadow);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
}

body.children-festival .eid-crescent { display: none; }

body.children-festival .eid-banner-inner::before {
  content: "🎈";
  font-size: 1.1rem;
  margin-right: 0.25rem;
}

body.children-festival .eid-banner-inner::after {
  content: "🎉";
  font-size: 1.1rem;
  margin-left: 0.25rem;
  animation: cdWiggle 1.5s ease-in-out infinite;
}

@keyframes cdWiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-8deg); }
  75% { transform: rotate(8deg); }
}

body.children-festival .eid-greeting-main {
  background: linear-gradient(100deg, #e11d48, #ea580c, #ca8a04, #16a34a, #2563eb);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: cdRainbowText 4s linear infinite;
  font-size: clamp(0.78rem, 2.8vw, 1.05rem);
}

body.children-festival .eid-greeting-sub {
  color: #0369a1;
  font-weight: 600;
}

@keyframes cdRainbowText {
  0% { background-position: 0% center; }
  100% { background-position: 220% center; }
}

body.children-festival .topbar {
  background: var(--cd-glass-strong);
  border-bottom: 1px solid var(--cd-glass-border);
  box-shadow: var(--cd-glass-shadow);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}

body.children-festival .lang-switch {
  background: var(--cd-glass);
  border: 1px solid var(--cd-glass-border);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

body.children-festival .lang-btn {
  color: var(--cd-text-muted);
}

body.children-festival .lang-btn.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.92), rgba(74, 222, 128, 0.92));
  color: #fff;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.35);
}

body.children-festival .topbar-actions a.staff {
  background: var(--cd-glass);
  border: 1px solid var(--cd-glass-border);
  color: var(--cd-text);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  box-shadow: var(--cd-glass-shadow);
}

body.children-festival .topbar-actions a.staff:hover {
  background: var(--cd-glass-strong);
  border-color: rgba(56, 189, 248, 0.45);
  color: #0369a1;
}

body.children-festival .brand-text h1 { color: #0369a1; }
body.children-festival .brand-text p { color: #64748b; }

body.children-festival .logo {
  background: linear-gradient(135deg, #38bdf8, #fb7185);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(251, 113, 133, 0.35);
}

body.children-festival a:not(.wa-hero-cta):not(.wa-fab) { color: #0284c7; }

body.children-festival .hero-title {
  background: linear-gradient(100deg, #0284c7, #db2777, #ca8a04, #16a34a, #7c3aed, #0284c7);
  background-size: 240% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: cdRainbowText 5s linear infinite;
  text-shadow: none;
  filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.8));
}

body.children-festival .eid-hero-wish {
  display: block;
  margin: 0.65rem auto 0;
  max-width: 520px;
  padding: 0.75rem 1rem;
  border-radius: 20px;
  border: 1px solid var(--cd-glass-border);
  background: var(--cd-glass);
  box-shadow: var(--cd-glass-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}

body.children-festival .eid-hero-greeting {
  font-size: clamp(1.2rem, 4.5vw, 1.75rem);
  font-weight: 800;
  color: #0c4a6e;
  text-shadow: none;
}

body.children-festival .eid-hero-greeting .ar,
body.children-festival .eid-hero-greeting .cd-sub {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.95em;
  color: #db2777;
  direction: ltr;
}

body.children-festival .hero > p {
  color: var(--cd-text-muted);
}

body.children-festival .wa-hero-strip {
  border: 1px solid var(--cd-glass-border);
  background: var(--cd-glass);
  box-shadow: var(--cd-glass-shadow);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}

body.children-festival .wa-hero-strip .strip-text { color: var(--cd-text); }
body.children-festival .wa-hero-strip .strip-text small { color: var(--cd-text-soft); }

body.children-festival .wa-hero-cta {
  background: linear-gradient(135deg, #25d366, #128c7e);
  border: 1px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  color: #fff !important;
  -webkit-text-fill-color: #fff;
}

body.children-festival .wa-hero-cta svg {
  fill: #fff;
}

/* 统计卡片 · 毛玻璃按钮 */
body.children-festival .summary-item {
  background: var(--cd-glass);
  border: 1px solid var(--cd-glass-border);
  border-radius: 16px;
  box-shadow: var(--cd-glass-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px) saturate(165%);
  -webkit-backdrop-filter: blur(18px) saturate(165%);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s, background 0.25s;
}

body.children-festival .summary-item:hover {
  transform: translateY(-3px) scale(1.02);
  background: var(--cd-glass-strong);
  box-shadow: 0 12px 36px rgba(56, 189, 248, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

body.children-festival .summary-item.active {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.25), var(--cd-glass-shadow);
}

body.children-festival .summary-item.promo.active {
  border-color: rgba(251, 113, 133, 0.55);
  box-shadow: 0 0 0 2px rgba(251, 113, 133, 0.22), var(--cd-glass-shadow);
}

body.children-festival .summary-item .k {
  color: var(--cd-text-muted);
  font-weight: 600;
}

body.children-festival .summary-item .v { color: #db2777; }
body.children-festival .summary-item.accent .v { color: #0284c7; }
body.children-festival .summary-item.ok .v { color: #059669; }
body.children-festival .summary-item.warn .v { color: #d97706; }
body.children-festival .summary-item.promo .v { color: #e11d48; }

body.children-festival .toolbar {
  background: var(--cd-glass);
  border: 1px solid var(--cd-glass-border);
  border-radius: 999px;
  box-shadow: var(--cd-glass-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(18px) saturate(165%);
  -webkit-backdrop-filter: blur(18px) saturate(165%);
}

body.children-festival .toolbar input,
body.children-festival .toolbar select {
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(255, 255, 255, 0.75);
  color: var(--cd-text);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body.children-festival .toolbar input:focus,
body.children-festival .toolbar select:focus {
  border-color: #fb7185;
  box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.2);
}

body.children-festival .product-card {
  border: 1px solid var(--cd-glass-border);
  border-radius: 18px;
  background: var(--cd-glass-strong);
  box-shadow: var(--cd-glass-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
}

body.children-festival .product-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 32px rgba(251, 113, 133, 0.2);
  border-color: #fde047;
}

body.children-festival .product-card:hover .product-image-wrap img {
  transform: scale(1.05);
}

body.children-festival .product-sku-badge {
  margin-bottom: 0.35rem;
}

body.children-festival .product-sku-badge .sku-tag,
body.children-festival .product-sku-badge .sku-sep {
  color: #64748b;
}

body.children-festival .product-sku-badge .sku-code {
  font-size: 0.96rem;
  background: linear-gradient(180deg, #475569 0%, #0f172a 50%, #020617 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.5));
}

body.children-festival .product-body .product-price {
  margin-top: 0;
}

/* 普通商品：价格加大醒目 */
body.children-festival .product-card:not(.promo-card) .product-price {
  color: #0071e3;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

body.children-festival .product-card:not(.promo-card) .product-price span {
  color: var(--cd-text-soft);
  font-size: 0.75rem;
  font-weight: 500;
}

/* 折扣商品：红底块 + 大号现价 + 醒目划线原价 */
body.children-festival .product-card.promo-card {
  border-color: rgba(220, 38, 38, 0.42);
  box-shadow: 0 10px 28px rgba(220, 38, 38, 0.14), var(--cd-glass-shadow);
}

body.children-festival .product-card.promo-card:hover {
  border-color: rgba(220, 38, 38, 0.6);
  box-shadow: 0 14px 32px rgba(220, 38, 38, 0.22);
}

body.children-festival .promo-badge {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px) saturate(185%);
  -webkit-backdrop-filter: blur(14px) saturate(185%);
  box-shadow: 0 6px 18px rgba(251, 113, 133, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  animation: promoBadgeFlash 1.8s ease-in-out infinite;
}

body.children-festival .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.children-festival .product-price.promo-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.32rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 0.25rem;
  padding: 0.45rem 0.55rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(254, 226, 226, 0.85), rgba(254, 243, 199, 0.75));
  border: 1px solid rgba(220, 38, 38, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body.children-festival .product-price.promo-price .price-now {
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.15;
  color: #dc2626;
  -webkit-text-fill-color: #dc2626;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  animation: none;
  filter: none;
  letter-spacing: 0.01em;
  min-width: 0;
  flex: 1 1 auto;
}

body.children-festival .product-price.promo-price .price-was {
  font-size: 0.7rem;
  font-weight: 500;
  color: #64748b;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: #94a3b8;
  opacity: 1;
}

body.children-festival .product-price.promo-price .price-unit {
  font-size: 0.66rem;
  font-weight: 500;
  color: #b45309;
}

/* 库存/仓库：覆盖深色主题的浅色字，保证白底可读 */
body.children-festival .product-meta {
  color: var(--cd-text-muted);
  border-top-color: rgba(15, 23, 42, 0.1);
  font-size: 0.8rem;
}

body.children-festival .product-meta strong {
  color: var(--cd-text);
  font-weight: 700;
}

body.children-festival .empty-state {
  color: var(--cd-text-muted);
}

body.children-festival .stock-badge.in-stock {
  background: rgba(255, 255, 255, 0.88);
  color: #047857;
  border-color: rgba(5, 150, 105, 0.45);
  font-weight: 700;
}

body.children-festival .stock-badge.low-stock {
  background: rgba(255, 255, 255, 0.88);
  color: #b45309;
  border-color: rgba(217, 119, 6, 0.45);
  font-weight: 700;
}

body.children-festival .stock-badge.out-of-stock {
  background: rgba(255, 255, 255, 0.88);
  color: #b91c1c;
  border-color: rgba(220, 38, 38, 0.45);
  font-weight: 700;
}

body.children-festival .eid-corner { display: none; }

body.children-festival .product-card::after {
  content: "⭐";
  position: absolute;
  right: 6px;
  bottom: 6px;
  font-size: 0.85rem;
  opacity: 0.4;
  pointer-events: none;
  z-index: 1;
}

body.children-festival footer { border-top-color: rgba(255, 255, 255, 0.6); color: #475569; }
body.children-festival .footer-eid { display: block; color: #db2777; font-weight: 600; }

/* 六一弹窗 · 毛玻璃 + 气泡卡片 */
body.children-festival .eid-modal-backdrop {
  background: rgba(186, 230, 253, 0.42);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
}

body.children-festival .eid-modal-card {
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 2rem;
  padding: 1.65rem 1.35rem 1.35rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72) 0%, rgba(224, 242, 254, 0.55) 100%);
  backdrop-filter: blur(28px) saturate(185%);
  -webkit-backdrop-filter: blur(28px) saturate(185%);
  box-shadow:
    0 4px 24px rgba(56, 189, 248, 0.2),
    0 28px 72px rgba(14, 116, 144, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -2px 12px rgba(186, 230, 253, 0.35);
  overflow: visible;
}

/* 装饰气泡光斑 */
body.children-festival .eid-modal-card::before,
body.children-festival .eid-modal-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

body.children-festival .eid-modal-card::before {
  width: 88px;
  height: 88px;
  top: -28px;
  left: -22px;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.95), rgba(251, 113, 133, 0.2) 70%);
  opacity: 0.85;
}

body.children-festival .eid-modal-card::after {
  width: 64px;
  height: 64px;
  bottom: -18px;
  right: -14px;
  background: radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.9), rgba(74, 222, 128, 0.25) 72%);
  opacity: 0.75;
}

body.children-festival .eid-modal-ornament {
  color: transparent;
  font-size: 1.65rem;
  letter-spacing: 0.2em;
  margin-bottom: 0.85rem;
  filter: drop-shadow(0 4px 10px rgba(56, 189, 248, 0.25));
}

body.children-festival .eid-modal-ornament::before {
  content: "🎈 🌈 🎁";
}

body.children-festival .eid-modal-close {
  top: 0.75rem;
  right: 0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #64748b;
  box-shadow:
    0 4px 14px rgba(56, 189, 248, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

body.children-festival .eid-modal-close:hover {
  color: #db2777;
  border-color: rgba(251, 113, 133, 0.45);
  background: rgba(255, 255, 255, 0.88);
}

/* 各语言块 = 独立气泡 */
body.children-festival .eid-modal-lang {
  text-align: center;
  margin: 0.45rem 0;
  padding: 0.9rem 1rem;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  box-shadow:
    0 6px 20px rgba(56, 189, 248, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

body.children-festival .eid-modal-divider {
  display: none;
}

body.children-festival .eid-modal-tag {
  color: #0369a1;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
}

body.children-festival .eid-modal-lang h3 {
  font-size: 1.28rem;
  margin-bottom: 0.4rem;
  background: linear-gradient(100deg, #be185d, #db2777, #0284c7);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.9));
}

body.children-festival .eid-modal-lang.ar h3 {
  font-size: 1.4rem;
}

body.children-festival .eid-modal-lang p {
  color: var(--cd-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.55;
}

body.children-festival .eid-modal-btn {
  margin-top: 1rem;
  padding: 0.88rem 1.25rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  color: var(--cd-text);
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: linear-gradient(
    135deg,
    rgba(251, 113, 133, 0.78),
    rgba(253, 224, 71, 0.78),
    rgba(74, 222, 128, 0.78)
  );
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow:
    0 8px 28px rgba(251, 113, 133, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transition: transform 0.2s, box-shadow 0.2s;
}

body.children-festival .eid-modal-btn:hover {
  transform: translateY(-2px) scale(1.01);
  filter: none;
  box-shadow:
    0 12px 32px rgba(251, 113, 133, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

/* 手机端 · 大圆角胶囊风（覆盖 index 内 10px 等小圆角） */
@media (max-width: 640px) {
  body.children-festival {
    --cd-r-pill: 9999px;
    --cd-r-xl: 1.75rem;
    --cd-r-lg: 1.35rem;
    --cd-r-md: 1.1rem;
  }

  body.children-festival .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  body.children-festival .logo {
    border-radius: 14px;
  }

  body.children-festival .lang-switch {
    border-radius: var(--cd-r-pill);
    padding: 3px;
  }

  body.children-festival .lang-btn {
    border-radius: var(--cd-r-pill);
    padding: 0.38rem 0.62rem;
  }

  body.children-festival .topbar-actions a.staff {
    border-radius: var(--cd-r-pill);
  }

  body.children-festival .eid-banner {
    padding: 0.55rem 0.85rem;
  }

  body.children-festival .eid-hero-wish {
    border-radius: var(--cd-r-xl);
    padding: 1rem 1.15rem;
    margin-left: 0;
    margin-right: 0;
  }

  body.children-festival .wa-hero-strip {
    border-radius: var(--cd-r-xl);
    padding: 1rem 1.1rem;
    max-width: none;
  }

  body.children-festival .wa-hero-cta {
    width: 100%;
    justify-content: center;
    border-radius: var(--cd-r-pill);
    padding: 0.72rem 1.25rem;
    font-size: 0.88rem;
  }

  body.children-festival .summary-bar {
    gap: 0.5rem;
  }

  body.children-festival .summary-item {
    border-radius: var(--cd-r-lg);
    padding: 0.7rem 0.35rem;
  }

  body.children-festival .toolbar {
    flex-direction: column;
    align-items: stretch;
    border-radius: var(--cd-r-xl);
    padding: 0.85rem;
    gap: 0.65rem;
  }

  body.children-festival .toolbar input,
  body.children-festival .toolbar select {
    flex: none;
    width: 100%;
    border-radius: var(--cd-r-pill);
    padding: 0.78rem 1.05rem;
    font-size: 1rem;
    -webkit-appearance: none;
    appearance: none;
  }

  body.children-festival .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  body.children-festival .product-card {
    min-width: 0;
    border-radius: var(--cd-r-xl);
    overflow: hidden;
  }

  body.children-festival .product-image-wrap {
    border-radius: calc(var(--cd-r-xl) - 2px) calc(var(--cd-r-xl) - 2px) 0 0;
    overflow: hidden;
  }

  body.children-festival .product-body {
    padding: 0.65rem 0.55rem 0.7rem;
    min-width: 0;
    overflow-x: hidden;
  }

  body.children-festival .product-sku-badge .sku-tag,
  body.children-festival .product-sku-badge .sku-sep {
    font-size: 0.64rem;
  }

  body.children-festival .product-sku-badge .sku-code {
    font-size: 0.8rem;
  }

  body.children-festival .product-card:not(.promo-card) .product-price {
    font-size: 1.02rem;
  }

  body.children-festival .product-price.promo-price {
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    padding: 0.38rem 0.48rem;
    border-radius: 10px;
    gap: 0.12rem 0.28rem;
  }

  body.children-festival .product-price.promo-price .price-now {
    font-size: 1.05rem;
    white-space: normal;
    flex: 1 1 100%;
    line-height: 1.2;
  }

  body.children-festival .product-price.promo-price .price-was {
    font-size: 0.62rem;
    white-space: normal;
  }

  body.children-festival .product-price.promo-price .price-unit {
    font-size: 0.6rem;
    white-space: normal;
  }

  body.children-festival .product-meta {
    font-size: 0.66rem;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  body.children-festival .stock-badge,
  body.children-festival .promo-badge {
    border-radius: var(--cd-r-pill);
  }

  body.children-festival .promo-badge {
    border-radius: 8px;
    max-width: calc(100% - 3rem);
    font-size: 0.58rem;
    padding: 0.26rem 0.42rem;
    line-height: 1.2;
  }

  body.children-festival .stock-badge {
    font-size: 0.58rem;
    padding: 0.22rem 0.42rem;
    top: 6px;
    right: 6px;
  }

  body.children-festival .product-card::after {
    font-size: 0.75rem;
    right: 4px;
    bottom: 4px;
  }

  body.children-festival .product-card:hover {
    transform: none;
  }

  body.children-festival .eid-modal-card {
    border-radius: 1.75rem;
    margin: 0 0.5rem;
    padding: 1.45rem 1rem 1.15rem;
  }

  body.children-festival .eid-modal-lang {
    border-radius: 1.15rem;
    padding: 0.75rem 0.85rem;
    margin: 0.4rem 0;
  }

  body.children-festival .eid-modal-lang h3 {
    font-size: 1.12rem;
  }

  body.children-festival .eid-modal-lang.ar h3 {
    font-size: 1.22rem;
  }

  body.children-festival .eid-modal-btn {
    width: 100%;
    padding: 0.85rem 1.25rem;
    border-radius: var(--cd-r-pill);
  }

  body.children-festival .product-card:hover {
    transform: translateY(-3px) scale(1.01);
  }

  .cd-cloud.c-hero {
    width: 64px;
    height: 24px;
    top: 10%;
    left: 2%;
  }

  .cd-cloud.c-hero::before {
    width: 30px;
    height: 30px;
    top: -16px;
    left: 8px;
  }

  .cd-cloud.c-hero::after {
    width: 38px;
    height: 38px;
    top: -20px;
    right: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.children-festival::before,
  body.children-festival::after,
  body.children-festival .eid-greeting-main,
  body.children-festival .hero-title,
  .cd-balloon,
  .cd-cloud { animation: none; }
  .cd-cloud.c-hero { opacity: 0.75; }
  body.children-festival .product-card:hover { transform: none; }
}
