/* ============================================
   BIKINI BEACH · 海底卡通风
   ============================================ */
:root {
    --sky: #4ec5ee;
    --sky-d: #2ba8d4;
    --sky-l: #a6e3f5;
    --sun: #ffde5a;
    --sun-d: #ffc82a;
    --sun-l: #fff3a8;
    --pink: #ff8da8;
    --pink-d: #ff5c85;
    --mint: #7ee8d4;
    --mint-d: #4cc9b0;
    --orange: #ff9a3d;
    --red: #ff5c5c;
    --purple: #b994ff;
    --ink: #1e4d7b;
    --ink-l: #3a6b99;
    --sand: #fff8e0;
    --cream: #fffbe8;
    --shadow: 0 4px 0 rgba(30,77,123,0.15), 0 6px 20px rgba(30,77,123,0.15);
    --shadow-h: 0 6px 0 rgba(30,77,123,0.2), 0 10px 24px rgba(30,77,123,0.25);
    --f-main: 'Fredoka', 'Baloo 2', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --f-title: 'Fredoka', 'Baloo 2', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--f-main); color: var(--ink);
    font-size: 16px; line-height: 1.65;
    min-height: 100vh; overflow-x: hidden;
    background: linear-gradient(180deg, var(--sky-l) 0%, var(--sky) 50%, var(--sky-d) 100%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* 气泡背景 */
.bubbles { position: fixed; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.bubble {
    position: absolute; bottom: -60px; border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.8), rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.05) 70%);
    border: 2px solid rgba(255,255,255,0.4);
    animation: bubble-rise linear infinite;
}
@keyframes bubble-rise {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 0.7; }
    50% { transform: translateY(-50vh) translateX(20px); }
    90% { opacity: 0.4; }
    100% { transform: translateY(-110vh) translateX(-20px); opacity: 0; }
}

/* 顶部导航 */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.9); backdrop-filter: blur(10px);
    border-bottom: 4px solid var(--sun);
    box-shadow: 0 4px 0 rgba(30,77,123,0.08);
}
.hdr-inner { display: flex; align-items: center; gap: 20px; height: 72px; }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; transition: transform .3s; }
.logo:hover { transform: rotate(-3deg) scale(1.05); }
.logo-mark { font-size: 32px; animation: wobble 3s ease-in-out infinite; display: inline-block; }
@keyframes wobble { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
.logo-txt {
    font-family: var(--f-title); font-weight: 700; font-size: 22px; color: var(--ink);
    text-shadow: 2px 2px 0 var(--sun);
}
.logo img { height: 42px; }

.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a {
    padding: 8px 16px; border-radius: 999px;
    font-weight: 600; color: var(--ink-l);
    transition: all .2s; font-size: 15px;
}
.nav a:hover { background: var(--sun); color: var(--ink); transform: translateY(-2px); }

.hdr-right { display: flex; align-items: center; gap: 12px; }
.hdr-status {
    display: flex; align-items: center; gap: 6px;
    background: var(--mint); color: var(--ink);
    padding: 6px 12px; border-radius: 999px;
    font-size: 12px; font-weight: 600;
    border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink);
}
.hdr-status-txt { display: none; }
@media (min-width: 900px) { .hdr-status-txt { display: inline; } }

.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mint-d); display: inline-block; }
.dot-on {
    background: #4ade80; box-shadow: 0 0 8px rgba(74,222,128,0.8);
    animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.3); } }

/* 按钮 */
.btn-hud {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px; border-radius: 999px;
    background: #fff; color: var(--ink);
    font-family: var(--f-main); font-weight: 700; font-size: 15px;
    border: 3px solid var(--ink);
    box-shadow: 0 4px 0 var(--ink);
    transition: all .15s; cursor: pointer;
}
.btn-hud:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); background: var(--sun-l); }
.btn-hud:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.btn-hud.btn-primary { background: var(--sun); }
.btn-hud.btn-primary:hover { background: var(--sun-d); }
.btn-hud.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-hud.btn-xl { padding: 18px 40px; font-size: 18px; font-weight: 700; border-width: 4px; box-shadow: 0 5px 0 var(--ink); width: 100%; justify-content: center; }
.btn-hud.btn-xl:hover { box-shadow: 0 7px 0 var(--ink); }

/* Hero */
.hero { position: relative; padding: 60px 0 80px; overflow: hidden; }
.hero::before {
    content: ''; position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255,222,90,0.3), transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(255,141,168,0.25), transparent 40%);
    pointer-events: none;
}
.hero-grid {
    position: absolute; top: 20px; left: 0; right: 0; bottom: 0; pointer-events: none;
    background-image: radial-gradient(circle, rgba(255,255,255,0.15) 1px, transparent 2px);
    background-size: 30px 30px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
}
.hero-inner { position: relative; z-index: 2; text-align: center; }
.hero-meta { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-coord {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.8); backdrop-filter: blur(6px);
    padding: 6px 14px; border-radius: 999px;
    font-size: 13px; font-weight: 600; color: var(--ink);
    border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink);
}

.hero-title {
    font-family: var(--f-title);
    font-size: clamp(44px, 8vw, 96px);
    font-weight: 700; color: #fff;
    line-height: 1.05; margin-bottom: 20px;
    text-shadow: 3px 3px 0 var(--ink), 6px 6px 0 rgba(30,77,123,0.3);
    -webkit-text-stroke: 2px var(--ink);
}
.hero-title-inner { display: inline-block; animation: bounce-in 1s cubic-bezier(.68,-0.55,.27,1.55); }
@keyframes bounce-in {
    0% { opacity: 0; transform: scale(0.3); }
    50% { transform: scale(1.1); }
    100% { opacity: 1; transform: scale(1); }
}
.blink { color: var(--sun); -webkit-text-stroke: 2px var(--ink); animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero-sub {
    font-size: clamp(16px, 2.3vw, 20px); color: #fff; font-weight: 600;
    margin-bottom: 40px; text-shadow: 2px 2px 0 var(--ink);
}

.hero-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
    max-width: 880px; margin: 0 auto 40px;
}
.stat {
    background: #fff; border: 3px solid var(--ink); border-radius: 20px;
    padding: 20px 12px; box-shadow: 0 4px 0 var(--ink);
    text-align: center; transition: transform .2s;
}
.stat:nth-child(1) { background: var(--sun-l); }
.stat:nth-child(2) { background: var(--mint); }
.stat:nth-child(3) { background: var(--pink); }
.stat:nth-child(4) { background: var(--sky-l); }
.stat:hover { transform: translateY(-4px) rotate(-2deg); }
.stat:nth-child(even):hover { transform: translateY(-4px) rotate(2deg); }

.stat-num {
    font-family: var(--f-title);
    font-size: clamp(28px, 4.5vw, 44px);
    color: var(--ink); font-weight: 700;
    line-height: 1; margin-bottom: 6px;
    text-shadow: 2px 2px 0 #fff;
}
.stat-lbl { font-size: 11px; color: var(--ink); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
@media (max-width: 600px) { .hero-stats { grid-template-columns: repeat(2, 1fr); } }

.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* 章节 */
.section { padding: 70px 0; position: relative; z-index: 2; }
.sec-head { text-align: center; margin-bottom: 48px; }
.sec-tag {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 14px; font-weight: 700; color: var(--ink);
    background: var(--sun); padding: 6px 16px; border-radius: 999px;
    border: 3px solid var(--ink); box-shadow: 0 3px 0 var(--ink);
    margin-bottom: 16px; transform: rotate(-2deg);
}
.sec-title {
    font-family: var(--f-title);
    font-size: clamp(32px, 5vw, 54px);
    font-weight: 700; color: #fff;
    line-height: 1.1; margin-bottom: 10px;
    text-shadow: 3px 3px 0 var(--ink), 5px 5px 0 rgba(30,77,123,0.3);
    -webkit-text-stroke: 1.5px var(--ink);
}
.sec-sub { font-size: 15px; color: #fff; font-weight: 600; text-shadow: 1px 1px 0 var(--ink); }

/* 公告 */
.sec-ann {
    padding: 48px 0; background: var(--cream);
    border-top: 4px dashed var(--ink); border-bottom: 4px dashed var(--ink);
}
.sec-ann .sec-title { color: var(--ink); text-shadow: 3px 3px 0 var(--sun); -webkit-text-stroke: 0; }
.sec-ann .sec-sub { color: var(--ink-l); text-shadow: none; }

.ann-list { max-width: 960px; margin: 0 auto; }
.ann-item {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 20px; margin-bottom: 10px; margin-left: 20px;
    background: #fff; border: 3px solid var(--ink); border-radius: 20px;
    box-shadow: 0 3px 0 var(--ink); flex-wrap: wrap;
    transition: transform .2s; position: relative;
}
.ann-item::before { content: '💬'; position: absolute; left: -18px; top: 50%; transform: translateY(-50%); font-size: 28px; }
.ann-item:hover { transform: translateX(4px); }
.ann-item.ann-info { background: var(--sky-l); }
.ann-item.ann-warning { background: var(--sun-l); }
.ann-item.ann-warning::before { content: '⚠️'; }
.ann-item.ann-danger { background: var(--pink); }
.ann-item.ann-danger::before { content: '🚨'; }

.ann-level {
    padding: 3px 10px; border-radius: 999px;
    background: var(--ink); color: #fff;
    font-size: 11px; font-weight: 700; letter-spacing: 1px; flex-shrink: 0;
}
.ann-time { font-size: 12px; color: var(--ink-l); flex-shrink: 0; font-weight: 600; }
.ann-title { color: var(--ink); font-weight: 700; font-size: 15px; }
.ann-content { color: var(--ink-l); font-size: 14px; }

/* 分类 */
.cat-tabs {
    display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
    margin-bottom: 40px; max-width: 1000px; margin-left: auto; margin-right: auto;
}
.cat-tab {
    min-width: 100px; padding: 12px 20px;
    background: #fff; color: var(--ink);
    border: 3px solid var(--ink); border-radius: 999px;
    font-family: var(--f-main); font-weight: 700; font-size: 14px;
    cursor: pointer; box-shadow: 0 3px 0 var(--ink);
    transition: all .15s;
    display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.cat-tab:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--ink); }
.cat-tab.active { background: var(--sun); transform: translateY(1px); box-shadow: 0 2px 0 var(--ink); }
.cat-code {
    font-size: 10px; letter-spacing: 1px; font-weight: 700;
    background: var(--ink); color: #fff; padding: 2px 8px; border-radius: 999px;
}
.cat-name { font-size: 14px; }

/* 商品网格 */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }

/* 商品卡片 */
.prod-card {
    display: block; position: relative;
    background: #fff; border: 3px solid var(--ink); border-radius: 24px;
    box-shadow: 0 5px 0 var(--ink);
    transition: all .2s; overflow: hidden; color: var(--ink);
}
.prod-card:hover {
    transform: translateY(-6px) rotate(-1deg);
    box-shadow: 0 10px 0 var(--ink), 0 14px 30px rgba(30,77,123,0.25);
}
.prod-card:nth-child(even):hover { transform: translateY(-6px) rotate(1deg); }

.prod-corner { display: none; }

.prod-media {
    position: relative; aspect-ratio: 16/11;
    background: var(--sky-l); overflow: hidden;
    border-bottom: 3px solid var(--ink);
}
.prod-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.prod-card:hover .prod-media img { transform: scale(1.08); }
.prod-media-ph {
    display: flex; align-items: center; justify-content: center; height: 100%;
    font-size: 60px; color: var(--sky-d);
}
.prod-media-ph::before { content: '🐚'; }

.prod-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 5px 10px; border-radius: 999px;
    font-size: 11px; font-weight: 700;
    border: 2px solid var(--ink); box-shadow: 0 2px 0 var(--ink);
    transform: rotate(-4deg);
}
.badge-g { background: var(--sun); color: var(--ink); }
.badge-g::before { content: '⭐'; }
.badge-o { background: var(--pink); color: var(--ink); }
.badge-o::before { content: '🔥'; }
.badge-b { background: var(--mint); color: var(--ink); }
.badge-b::before { content: '✨'; }

.prod-discount {
    position: absolute; top: 10px; right: 10px; z-index: 2;
    background: var(--red); color: #fff;
    font-weight: 700; font-size: 15px;
    width: 50px; height: 50px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 3px solid var(--ink); box-shadow: 0 3px 0 var(--ink);
    transform: rotate(-10deg);
    animation: sticker-wobble 2s ease-in-out infinite;
}
@keyframes sticker-wobble { 0%, 100% { transform: rotate(-10deg); } 50% { transform: rotate(-5deg); } }

.prod-body { padding: 18px; }
.prod-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; gap: 8px; flex-wrap: wrap; }
.prod-callsign {
    font-size: 11px; color: var(--ink-l); font-weight: 600;
    background: var(--cream); padding: 3px 8px; border-radius: 999px;
    border: 2px solid var(--ink);
}
.prod-status {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 3px 10px; border-radius: 999px;
    font-size: 11px; font-weight: 700;
    border: 2px solid var(--ink);
}
.prod-status .dot { width: 7px; height: 7px; }
.status-online { background: var(--mint); color: var(--ink); }
.status-online .dot { background: #4ade80; animation: pulse 1.5s infinite; }
.status-restocking { background: var(--sun-l); color: var(--ink); }
.status-restocking .dot { background: var(--orange); }
.status-out { background: #ffcdd2; color: var(--ink); }
.status-out .dot { background: var(--red); }
.status-limited { background: var(--pink); color: var(--ink); }
.status-limited .dot { background: #e91e63; animation: pulse 1s infinite; }

.prod-name {
    font-family: var(--f-title);
    font-size: 18px; color: var(--ink);
    font-weight: 700; line-height: 1.3; margin-bottom: 6px;
}
.prod-sub { color: var(--ink-l); font-size: 13px; margin-bottom: 14px; }
.prod-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 2px dashed var(--ink); }
.prod-price-box { display: flex; align-items: baseline; gap: 8px; }
.prod-price { font-family: var(--f-title); font-size: 24px; font-weight: 700; color: var(--red); }
.prod-price-old { font-size: 13px; color: var(--ink-l); text-decoration: line-through; }
.prod-cta {
    font-size: 13px; font-weight: 700; color: var(--ink);
    padding: 6px 12px; border-radius: 999px;
    background: var(--sun); border: 2px solid var(--ink);
    box-shadow: 0 2px 0 var(--ink); transition: transform .2s;
}
.prod-card:hover .prod-cta { transform: translateX(4px); background: var(--sun-d); }

.empty { padding: 80px 20px; text-align: center; background: rgba(255,255,255,0.6); border-radius: 24px; border: 3px dashed var(--ink); color: var(--ink); font-weight: 600; }
.empty-icon { font-size: 72px; margin-bottom: 16px; }

/* 功能特色 */
.sec-feat {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--sun-l) 0%, var(--cream) 100%);
    border-top: 4px dashed var(--ink); border-bottom: 4px dashed var(--ink);
}
.sec-feat .sec-title { color: var(--ink); text-shadow: 3px 3px 0 var(--pink); -webkit-text-stroke: 0; }
.sec-feat .sec-sub { color: var(--ink-l); text-shadow: none; }

.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.feat-item {
    background: #fff; border: 3px solid var(--ink);
    border-radius: 28px; padding: 32px 24px;
    box-shadow: 0 5px 0 var(--ink);
    text-align: center; position: relative; transition: all .2s;
}
.feat-item:nth-child(1) { background: var(--sun-l); }
.feat-item:nth-child(2) { background: var(--mint); }
.feat-item:nth-child(3) { background: var(--pink); }
.feat-item:nth-child(4) { background: var(--sky-l); }
.feat-item:nth-child(5) { background: var(--cream); }
.feat-item:nth-child(6) { background: var(--sun); }
.feat-item:hover { transform: translateY(-6px) rotate(-2deg); box-shadow: 0 10px 0 var(--ink); }
.feat-item:nth-child(even):hover { transform: translateY(-6px) rotate(2deg); }

.feat-num {
    position: absolute; top: -12px; right: -12px;
    width: 40px; height: 40px; background: var(--ink); color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-family: var(--f-title); font-weight: 700; font-size: 16px;
    border: 3px solid #fff; box-shadow: 0 3px 0 var(--ink);
}
.feat-icon {
    font-size: 56px; margin-bottom: 16px;
    animation: feat-bounce 3s ease-in-out infinite;
    display: inline-block;
}
.feat-item:nth-child(2) .feat-icon { animation-delay: 0.3s; }
.feat-item:nth-child(3) .feat-icon { animation-delay: 0.6s; }
.feat-item:nth-child(4) .feat-icon { animation-delay: 0.9s; }
@keyframes feat-bounce { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(-5deg); } }

.feat-title { font-family: var(--f-title); font-size: 20px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.feat-desc { font-size: 14px; color: var(--ink); line-height: 1.6; font-weight: 500; }

/* FAQ */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item {
    background: #fff; border: 3px solid var(--ink); border-radius: 24px;
    margin-bottom: 14px; box-shadow: 0 4px 0 var(--ink);
    transition: all .2s; overflow: hidden;
}
.faq-item:hover { transform: translateX(4px); }
.faq-item[open] { background: var(--cream); box-shadow: 0 6px 0 var(--ink); }
.faq-item summary {
    display: flex; align-items: center; gap: 14px;
    padding: 18px 24px; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q-no {
    font-family: var(--f-title); font-weight: 700;
    color: #fff; background: var(--pink-d);
    padding: 4px 10px; border-radius: 999px;
    font-size: 12px; flex-shrink: 0; border: 2px solid var(--ink);
}
.faq-q-txt { flex: 1; font-size: 16px; font-weight: 600; color: var(--ink); }
.faq-toggle {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--sun); color: var(--ink);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 700;
    border: 2px solid var(--ink); box-shadow: 0 2px 0 var(--ink);
    flex-shrink: 0; transition: transform .3s;
}
.faq-item[open] .faq-toggle { transform: rotate(45deg); background: var(--pink); }
.faq-a {
    padding: 0 24px 20px 24px; margin: 0 12px;
    font-size: 15px; color: var(--ink); line-height: 1.8; font-weight: 500;
    border-top: 2px dashed var(--ink); padding-top: 16px;
}

/* CTA */
.sec-cta { padding: 60px 0 100px; }
.cta-box {
    position: relative; text-align: center;
    background: linear-gradient(135deg, var(--sun) 0%, var(--pink) 100%);
    border: 4px solid var(--ink); border-radius: 40px;
    padding: 60px 32px; box-shadow: 0 6px 0 var(--ink); overflow: hidden;
}
.cta-box::before, .cta-box::after { content: ''; position: absolute; font-size: 80px; opacity: 0.3; }
.cta-box::before { content: '🌺'; top: 20px; left: 20px; animation: spin 8s linear infinite; }
.cta-box::after { content: '🐚'; bottom: 20px; right: 20px; animation: spin 10s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.cta-corner { display: none; }
.cta-tag {
    display: inline-block; font-size: 14px; font-weight: 700; color: var(--ink);
    background: #fff; padding: 6px 16px; border-radius: 999px;
    border: 3px solid var(--ink); box-shadow: 0 3px 0 var(--ink);
    margin-bottom: 20px; transform: rotate(-2deg); position: relative; z-index: 1;
}
.cta-title {
    font-family: var(--f-title);
    font-size: clamp(32px, 5vw, 54px); font-weight: 700;
    color: #fff; margin-bottom: 16px; position: relative; z-index: 1;
    text-shadow: 3px 3px 0 var(--ink), 5px 5px 0 rgba(30,77,123,0.3);
    -webkit-text-stroke: 2px var(--ink);
}
.cta-desc { color: var(--ink); font-weight: 600; font-size: 17px; margin-bottom: 28px; position: relative; z-index: 1; }
.cta-box .btn-hud { position: relative; z-index: 1; }

/* 商品详情 */
.prod-detail { padding-top: 40px; }
.breadcrumb {
    display: flex; gap: 10px; align-items: center;
    margin-bottom: 28px; flex-wrap: wrap;
    background: rgba(255,255,255,0.8); padding: 10px 18px;
    border-radius: 999px; border: 3px solid var(--ink);
    box-shadow: 0 3px 0 var(--ink);
    width: fit-content; font-size: 14px; font-weight: 600;
}
.breadcrumb a:hover { color: var(--pink-d); }
.bc-current { color: var(--ink); font-weight: 700; }

.detail-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; margin-bottom: 40px; }
@media (max-width: 900px) { .detail-layout { grid-template-columns: 1fr; } }

.detail-frame {
    position: relative; background: #fff;
    border: 3px solid var(--ink); border-radius: 28px;
    aspect-ratio: 4/3; overflow: hidden;
    box-shadow: 0 5px 0 var(--ink);
}
.media-view { width: 100%; height: 100%; }
.media-view img, .media-view iframe { width: 100%; height: 100%; object-fit: cover; }
.media-overlay { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; pointer-events: none; }
.media-overlay span {
    padding: 4px 10px; font-size: 12px; font-weight: 700;
    background: #fff; color: var(--ink);
    border-radius: 999px; border: 2px solid var(--ink);
    box-shadow: 0 2px 0 var(--ink);
}
.media-tabs { display: flex; gap: 8px; margin-top: 14px; }
.media-tab {
    flex: 1; padding: 10px; font-weight: 700; font-size: 13px;
    background: #fff; color: var(--ink);
    border: 3px solid var(--ink); border-radius: 999px;
    box-shadow: 0 3px 0 var(--ink); cursor: pointer; transition: all .2s;
}
.media-tab:hover { background: var(--sun-l); }
.media-tab.active { background: var(--sun); }

.detail-info { display: flex; flex-direction: column; gap: 20px; }
.detail-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.detail-cat {
    padding: 4px 12px; border-radius: 999px;
    background: var(--sky-l); color: var(--ink);
    font-size: 12px; font-weight: 700;
    border: 2px solid var(--ink);
}
.detail-name {
    font-family: var(--f-title);
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 700; color: var(--ink); line-height: 1.2;
    text-shadow: 2px 2px 0 var(--sun);
}
.detail-sub { font-size: 15px; color: var(--ink-l); font-weight: 600; }

.detail-price-box {
    padding: 24px; background: var(--sun-l);
    border: 3px solid var(--ink); border-radius: 20px;
    box-shadow: 0 4px 0 var(--ink); position: relative;
}
.detail-price-box::before {
    content: '💰'; position: absolute; right: 20px; top: 50%;
    transform: translateY(-50%); font-size: 36px;
    animation: coin-flip 3s ease-in-out infinite;
}
@keyframes coin-flip {
    0%, 100% { transform: translateY(-50%) rotateY(0); }
    50% { transform: translateY(-50%) rotateY(180deg); }
}
.detail-price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.detail-price { font-family: var(--f-title); font-size: 42px; font-weight: 700; color: var(--red); line-height: 1; }
.detail-price-old { font-size: 17px; color: var(--ink-l); text-decoration: line-through; }
.detail-price-off {
    padding: 4px 10px; border-radius: 999px;
    background: var(--red); color: #fff;
    font-size: 13px; font-weight: 700; border: 2px solid var(--ink);
}
.detail-price-note { font-size: 13px; color: var(--ink); margin-top: 8px; font-weight: 600; }

.detail-specs {
    background: #fff; border: 3px solid var(--ink);
    border-radius: 20px; padding: 20px;
    box-shadow: 0 4px 0 var(--ink);
}
.specs-title {
    font-family: var(--f-title); font-size: 16px; font-weight: 700;
    color: var(--ink); margin-bottom: 14px;
    padding-bottom: 10px; border-bottom: 2px dashed var(--ink);
    display: flex; align-items: center; gap: 8px;
}
.specs-list { list-style: none; }
.specs-list li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; font-size: 15px; color: var(--ink); font-weight: 500; }
.specs-check { color: var(--mint-d); font-weight: 700; flex-shrink: 0; font-size: 18px; }
.specs-grid { display: grid; gap: 8px; }
.spec-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 2px dashed #cfe1ed; font-size: 14px; }
.spec-row:last-child { border-bottom: none; }
.spec-k { color: var(--ink-l); font-weight: 600; }
.spec-v { color: var(--ink); font-weight: 700; }

.detail-cta { margin-top: 8px; }
.contact-hint {
    text-align: center; margin-top: 14px;
    font-size: 14px; color: var(--ink); font-weight: 600;
    padding: 10px 16px; background: var(--mint);
    border-radius: 999px; border: 2px solid var(--ink);
}

.detail-desc {
    background: #fff; border: 3px solid var(--ink);
    border-radius: 28px; padding: 32px; margin-bottom: 48px;
    box-shadow: 0 5px 0 var(--ink);
}
.desc-body { font-size: 16px; line-height: 1.9; color: var(--ink); white-space: pre-wrap; font-weight: 500; }
.detail-related { margin-top: 48px; }

/* 页脚 */
.site-footer {
    margin-top: 80px; padding: 80px 0 24px;
    background: var(--ink); color: #fff;
    position: relative;
}
.site-footer::before {
    content: ''; position: absolute;
    top: -40px; left: 0; right: 0; height: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C150,0 250,0 400,20 C550,40 650,40 800,20 C950,0 1050,0 1200,20 L1200,40 Z' fill='%231e4d7b'/%3E%3C/svg%3E");
    background-size: 100% 100%;
}
.foot-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px; padding-bottom: 24px; margin-bottom: 20px;
    border-bottom: 2px dashed rgba(255,255,255,0.3);
}
.foot-title { font-family: var(--f-title); font-size: 16px; font-weight: 700; color: var(--sun); margin-bottom: 10px; }
.foot-desc { color: #cfe1ed; font-size: 14px; line-height: 1.8; }
.foot-bar { display: flex; justify-content: space-between; font-size: 13px; color: #cfe1ed; flex-wrap: wrap; gap: 10px; }
.foot-bar .dot-on { background: #4ade80; }

/* 悬浮客服 */
.fab-contact {
    position: fixed; bottom: 24px; right: 24px; z-index: 200;
    display: flex; align-items: center; gap: 10px;
    padding: 14px 22px; background: var(--pink);
    color: var(--ink); font-weight: 700; font-size: 15px;
    border: 3px solid var(--ink); border-radius: 999px;
    box-shadow: 0 5px 0 var(--ink);
    animation: fab-wobble 2s ease-in-out infinite;
    transition: transform .2s;
}
@keyframes fab-wobble { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-4px) rotate(3deg); } }
.fab-contact:hover { animation: none; transform: translateY(-4px) scale(1.05); box-shadow: 0 9px 0 var(--ink); background: var(--pink-d); }
.fab-icon { font-size: 20px; }

/* 响应式 */
@media (max-width: 768px) {
    .hdr-inner { gap: 8px; height: 64px; }
    .nav { display: none; }
    .hero { padding: 40px 0 60px; }
    .section { padding: 48px 0; }
    .prod-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
    .prod-body { padding: 12px; }
    .prod-name { font-size: 15px; }
    .prod-price { font-size: 20px; }
    .fab-txt { display: none; }
    .fab-contact { padding: 14px; }
    .cta-box { padding: 40px 20px; }
    .feat-item { padding: 24px 20px; }
}
