/**
 * @license
 * SPDX-License-Identifier: Apache-2.0
 */

/* ============================================================
   P1. 甜美头图 (Sweet Hero) — Y2K海报封面
   设计：描边大标题 + 手写副标题 + 悬浮星星贴纸 + 奶油氛围
   ============================================================ */
.sweet-hero-module {
    padding: 0 !important;
    background: transparent !important;
    position: relative;
    margin-bottom: 0 !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 22px 22px 0 0 !important;
}
/* hero 的 ::before 散落星星在 sweet-base.css 中统一配置 */
.sweet-hero-checkerboard {
    display: none;
}
.sweet-hero-container {
    background: transparent;
    position: relative;
    overflow: hidden;
}
.sweet-hero-checkerboard {
    height: 6px;
    background: repeating-conic-gradient(rgba(248, 187, 208, 0.25) 0% 25%, rgba(255,255,255,0.2) 0% 50%) 0 0 / 6px 6px;
}
.sweet-hero-content {
    padding: 80px var(--macaron-padding-x) 20px;
    text-align: center;
    position: relative;
}
/* NEW ARRIVAL 爆炸标签 */
.sweet-hero-promo {
    display: inline-block;
    background: var(--macaron-hot-pink);
    color: #ffffff;
    font-size: calc(18px * var(--scale-factor, 1));
    font-weight: 200;
    padding: calc(7px * var(--scale-factor, 1)) calc(28px * var(--scale-factor, 1));
    border-radius: 20px;
    letter-spacing: calc(4px * var(--scale-factor, 1));
    margin-bottom: 22px;
    box-shadow: 0 3px 12px rgba(244, 143, 177, 0.25);
    white-space: nowrap;
}
/* 品牌名：实心字体 */
.sweet-hero-brand {
    font-size: calc(var(--hero-brand-size, 64px) * var(--scale-factor, 1));
    font-weight: 200;
    color: var(--macaron-hot-pink);
    -webkit-text-stroke: 0;
    letter-spacing: calc(12px * var(--scale-factor, 1));
    font-family: 'SJxuniyishiqinghuan', sans-serif !important;
    line-height: 1.15;
    margin-bottom: 6px;
    text-transform: uppercase;
}
/* 手写体副标题 */
.sweet-hero-subtitle {
    font-size: calc(var(--hero-subtitle-size, 16px) * var(--scale-factor, 1));
    color: var(--macaron-lavender);
    margin-top: 14px;
    letter-spacing: calc(5px * var(--scale-factor, 1));
    font-weight: 100;
    font-style: italic;
    font-family: var(--bold-font) !important;
}
.sweet-hero-price-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 14px;
    margin-top: 26px;
}
.sweet-hero-price {
    font-size: calc(var(--hero-price-size, 32px) * var(--scale-factor, 1));
    font-weight: var(--bold-weight, 200);
    color: var(--macaron-hot-pink);
    font-family: var(--bold-font), sans-serif !important;
}
.sweet-hero-original-price {
    font-size: calc(17px * var(--scale-factor, 1));
    color: var(--macaron-text-light);
    text-decoration: line-through;
    letter-spacing: calc(1px * var(--scale-factor, 1));
}
/* 悬浮星星贴纸装饰 — 左侧粉色 */
.sweet-hero-deco-star {
    position: absolute;
    pointer-events: none;
}
.sweet-hero-deco-star.hero-star-left {
    top: 18px;
    left: 18px;
    width: 44px;
    height: 44px;
    opacity: 0.22;
    background: var(--macaron-pink);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
/* 悬浮星星 — 右侧蓝色 */
.sweet-hero-deco-star.hero-star-right {
    top: 36px;
    right: 18px;
    width: 36px;
    height: 36px;
    opacity: 0.2;
    background: var(--macaron-blue);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* 韩国甜美风追加点缀 — 气泡 & 爱心贴纸 */
.sweet-hero-deco-bubble {
    position: absolute;
    border-radius: 50%;
    background: white;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
    pointer-events: none;
    z-index: 1;
}
.sweet-hero-deco-bubble.bubble-1 {
    width: 20px; height: 20px;
    top: 25%; left: 8%;
    opacity: 0.3;
}
.sweet-hero-deco-bubble.bubble-2 {
    width: 12px; height: 12px;
    top: 60%; right: 10%;
    opacity: 0.25;
}
.sweet-hero-deco-heart {
    position: absolute;
    font-size: calc(26px * var(--scale-factor, 1));
    color: var(--macaron-hot-pink);
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
    filter: drop-shadow(0 0 5px rgba(244, 143, 177, 0.3));
}
.sweet-hero-deco-heart.heart-1 {
    top: 15%; right: 25%;
    transform: rotate(15deg);
}
.sweet-hero-deco-heart.heart-2 {
    bottom: 30%; left: 15%;
    transform: rotate(-20deg);
    font-size: calc(20px * var(--scale-factor, 1));
}

.sweet-hero-image {
    margin: 0 72px 32px;
    border-radius: var(--macaron-radius);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(244, 143, 177, 0.1), 0 0 0 2px rgba(248, 187, 208, 0.2);
    position: relative;
}
.sweet-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}
.sweet-hero-image-placeholder {
    height: 260px;
    background: linear-gradient(135deg, rgba(248, 187, 208, 0.18), rgba(209, 196, 233, 0.14));
    border-radius: var(--macaron-radius);
}
