/* La Mer Brand Design System - Mobile */

:root {
    /* Brand Colors */
    --brand-primary: #0A4D68;
    --brand-primary-light: #1A6B8A;
    --brand-primary-dark: #063A4F;
    --brand-gold: #C9A962;
    --brand-gold-light: #D4BC7D;
    --brand-cream: #F8F6F3;
    --brand-sea: #E8F4F8;

    /* Keep functional colors */
    --success: #4CAF50;
    --warning: #FF9800;
    --error: #E53935;
    --background: #FAFAFA;
    --surface: #FFFFFF;
    --text-primary: #1A1A1A;
    --text-secondary: #666666;
    --text-tertiary: #999999;
    --divider: #EEEEEE;

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --page-padding: 20px;
    --safe-area-bottom: env(safe-area-inset-bottom, 20px);
}

/* Brand Typography */
.brand-title {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: 0.05em;
}

.brand-subtitle {
    font-family: var(--font-body);
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 11px;
    color: var(--brand-gold);
}

/* Hero Banner */
.hero-banner {
    position: relative;
    height: 55vh;
    max-height: 420px;
    background: linear-gradient(180deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
    overflow: hidden;
    flex-shrink: 0;
}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    display: block;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 24px;
    background: linear-gradient(transparent, rgba(10, 77, 104, 0.95));
    color: white;
    text-align: center;
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.hero-desc {
    font-size: 13px;
    opacity: 0.85;
    letter-spacing: 0.05em;
}

/* Star Product Card */
.star-product {
    background: var(--surface);
    margin: -30px 16px 20px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
}

.star-product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--brand-gold);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.star-product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--brand-cream);
}

.star-product-info {
    padding: 20px;
    text-align: center;
}

.star-product-name {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--brand-primary);
    margin-bottom: 6px;
}

.star-product-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.star-product-price {
    font-size: 20px;
    font-weight: 600;
    color: var(--brand-primary);
}

.star-product-price::before {
    content: '¥';
    font-size: 14px;
}

/* Series Section */
.series-section {
    padding: 24px 16px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--brand-primary);
}

.section-more {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.series-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.series-card {
    background: var(--surface);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.series-card-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    background: var(--brand-sea);
}

.series-card-info {
    padding: 14px;
    text-align: center;
}

.series-card-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: 4px;
}

.series-card-count {
    font-size: 12px;
    color: var(--text-tertiary);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 16px;
}

.product-card {
    background: var(--surface);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.product-card-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    background: var(--brand-cream);
}

.product-card-info {
    padding: 14px;
}

.product-card-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-spec {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-bottom: 8px;
}

.product-card-price {
    font-size: 16px;
    font-weight: 600;
    color: var(--brand-primary);
}

.product-card-price::before {
    content: '¥';
    font-size: 12px;
}

/* Benefit Section */
.benefit-section {
    padding: 24px 16px;
    background: var(--brand-sea);
    margin: 20px 0;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.benefit-item {
    text-align: center;
    padding: 12px 4px;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    background: var(--surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    color: var(--brand-primary);
}

.benefit-text {
    font-size: 11px;
    color: var(--brand-primary);
}

/* Story Section */
.story-section {
    padding: 32px 24px;
    background: var(--brand-primary);
    color: white;
    text-align: center;
}

.story-title {
    font-family: var(--font-display);
    font-size: 22px;
    margin-bottom: 12px;
}

.story-text {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.9;
}

/* Bottom Nav Brand Style */
.bottom-nav-brand {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    padding-bottom: calc(10px + var(--safe-area-bottom));
    border-top: 1px solid var(--divider);
    flex-shrink: 0;
    z-index: 100;
}

.nav-item-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: var(--text-secondary);
    cursor: pointer;
    position: relative;
}

.nav-item-brand.active {
    color: var(--brand-primary);
}

.nav-item-brand .badge {
    position: absolute;
    top: -4px;
    right: -8px;
    background: var(--brand-gold);
    color: white;
    font-size: 10px;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Promotion Entry */
.promo-entry {
    margin: 16px;
    padding: 16px;
    background: linear-gradient(135deg, #1259C3 0%, #4A8FE7 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    cursor: pointer;
}

.promo-entry-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.promo-entry-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-entry-info .title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.promo-entry-info .desc {
    font-size: 12px;
    opacity: 0.9;
}