/* ===================================
   Product Detail - Elegant & Refined
   优雅精致产品详情页
   配色: 深墨色 + 奶白 + 柔和金
   =================================== */

/* 全局 */
.pd {
    background: #1A1A1A;
    min-height: 100vh;
    color: #F5F1E8;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
}

/* 返回按钮 */
.pd-back {
    position: fixed;
    top: 2.5rem;
    left: 2.5rem;
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(201, 169, 97, 0.3);
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F5F1E8;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
}

.pd-back:hover {
    background: rgba(201, 169, 97, 0.15);
    border-color: #C9A961;
    transform: translateX(-4px);
}

/* Hero区 */
.pd-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 6rem 2rem;
}

.pd-hero-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(201, 169, 97, 0.08) 0%, transparent 70%);
}

.pd-hero-visual img {
    max-width: 50%;
    max-height: 70vh;
    object-fit: contain;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
}

.pd-hero-placeholder {
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.05);
}

.pd-hero-info {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin-top: auto;
}

.pd-category {
    font-size: 0.875rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: #C9A961;
    margin-bottom: 2rem;
    font-weight: 500;
}

.pd-title {
    font-size: clamp(3.5rem, 10vw, 8rem);
    font-weight: 300;
    margin: 0 0 1.5rem 0;
    letter-spacing: 0.02em;
    line-height: 1.1;
    font-family: "Noto Serif SC", Georgia, serif;
}

.pd-subtitle {
    font-size: 1.125rem;
    color: rgba(245, 241, 232, 0.7);
    letter-spacing: 0.2em;
    font-weight: 300;
}

/* 容器 */
.pd-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 规格区 */
.pd-specs {
    padding: 8rem 0;
    background: linear-gradient(180deg, #1A1A1A 0%, #252525 100%);
}

.pd-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.pd-spec-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(201, 169, 97, 0.2);
    padding: 3rem 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.pd-spec-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #C9A961, transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.pd-spec-item:hover::before {
    transform: translateX(100%);
}

.pd-spec-item:hover {
    background: rgba(201, 169, 97, 0.05);
    border-color: #C9A961;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.pd-spec-label {
    font-size: 0.875rem;
    letter-spacing: 0.15em;
    color: rgba(245, 241, 232, 0.6);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.pd-spec-value {
    font-size: 1.5rem;
    font-weight: 400;
    color: #F5F1E8;
    letter-spacing: 0.02em;
}

/* 详情区 */
.pd-details {
    padding: 8rem 0;
}

.pd-section-title {
    font-size: 2.5rem;
    font-weight: 300;
    text-align: center;
    margin: 0 0 4rem 0;
    color: #F5F1E8;
    letter-spacing: 0.05em;
    position: relative;
}

.pd-section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #C9A961, transparent);
    margin: 1.5rem auto 0;
}

.pd-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1px;
    background: rgba(201, 169, 97, 0.2);
    border: 1px solid rgba(201, 169, 97, 0.2);
}

.pd-detail-item {
    background: #1A1A1A;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: background 0.3s ease;
}

.pd-detail-item:hover {
    background: rgba(201, 169, 97, 0.03);
}

.pd-detail-label {
    font-size: 0.8125rem;
    color: rgba(245, 241, 232, 0.5);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.pd-detail-value {
    font-size: 1.25rem;
    color: #F5F1E8;
    font-weight: 400;
}

/* 图片画廊 */
.pd-gallery {
    padding: 8rem 0;
    background: #252525;
}

.pd-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.pd-gallery-item {
    aspect-ratio: 4/3;
    background: #1A1A1A;
    border: 1px solid rgba(201, 169, 97, 0.15);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.pd-gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pd-gallery-item:hover::after {
    opacity: 1;
}

.pd-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2rem;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.pd-gallery-item:hover img {
    transform: scale(1.08);
}

/* Footer */
.pd-footer {
    padding: 8rem 2rem;
    text-align: center;
    background: #1A1A1A;
    border-top: 1px solid rgba(201, 169, 97, 0.15);
}

.pd-brand {
    display: inline-block;
}

.pd-brand-name {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    color: #C9A961;
    margin-bottom: 0.75rem;
    font-family: "Noto Serif SC", Georgia, serif;
}

.pd-brand-tagline {
    font-size: 0.75rem;
    letter-spacing: 0.4em;
    color: rgba(245, 241, 232, 0.4);
    text-transform: uppercase;
}

/* 响应式 */
@media (max-width: 1024px) {
    .pd-hero-visual img {
        max-width: 60%;
    }

    .pd-specs-grid,
    .pd-details-grid {
        grid-template-columns: 1fr;
    }

    .pd-gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .pd-back {
        top: 1.5rem;
        left: 1.5rem;
        width: 44px;
        height: 44px;
    }

    .pd-hero {
        min-height: 80vh;
        padding: 4rem 1.5rem;
    }

    .pd-hero-visual img {
        max-width: 80%;
        max-height: 50vh;
    }

    .pd-category {
        font-size: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .pd-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .pd-subtitle {
        font-size: 1rem;
    }

    .pd-container {
        padding: 0 1.5rem;
    }
}

/* ===================================
   新增字段样式
   =================================== */

/* 产品标签 */
.pd-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.15), rgba(201, 169, 97, 0.25));
    border: 1px solid rgba(201, 169, 97, 0.4);
    border-radius: 20px;
    font-size: 0.85rem;
    margin-left: 1rem;
    font-weight: 600;
    color: #C9A961;
}

/* 价格区域 */
.pd-price-section {
    margin-top: 2rem;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.pd-market-price {
    font-size: 1rem;
    color: #94949F;
}

.pd-market-price span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #F5F1E8;
    margin-left: 0.5rem;
}

.pd-member-price {
    font-size: 1rem;
    color: #C9A961;
}

.pd-member-price span {
    font-size: 1.8rem;
    font-weight: 700;
    color: #C9A961;
    margin-left: 0.5rem;
}

/* 产品介绍 */
.pd-description {
    padding: 4rem 0;
    background: linear-gradient(to bottom, rgba(26, 26, 26, 0.5), #1A1A1A);
}

.pd-description-content {
    max-width: 800px;
    margin: 2rem auto 0;
    line-height: 2;
    color: #C9C4BA;
    font-size: 1.05rem;
}

.pd-description-content p {
    margin-bottom: 1.5rem;
}

/* 产品特点 */
.pd-features {
    padding: 4rem 0;
    background: rgba(201, 169, 97, 0.03);
}

.pd-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pd-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(201, 169, 97, 0.2);
    border-radius: 12px;
    transition: all 0.3s;
}

.pd-feature-item:hover {
    background: rgba(201, 169, 97, 0.05);
    border-color: rgba(201, 169, 97, 0.4);
    transform: translateY(-4px);
}

.pd-feature-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.2), rgba(201, 169, 97, 0.3));
    border-radius: 12px;
    font-size: 1.5rem;
    color: #C9A961;
}

.pd-feature-text {
    flex: 1;
    color: #C9C4BA;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* 使用方法 */
.pd-usage {
    padding: 4rem 0;
    background: #1A1A1A;
}

.pd-usage-content {
    max-width: 800px;
    margin: 2rem auto 0;
    line-height: 2;
    color: #C9C4BA;
    font-size: 1.05rem;
}

.pd-usage-content p {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    position: relative;
}

.pd-usage-content p::before {
    content: '●';
    position: absolute;
    left: 0;
    color: #C9A961;
}

/* 注意事项 */
.pd-precautions {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05), rgba(239, 68, 68, 0.02));
}

.pd-precautions-content {
    max-width: 800px;
    margin: 2rem auto 0;
}

.pd-precautions-content p {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid rgba(239, 68, 68, 0.5);
    border-radius: 8px;
    color: #C9C4BA;
    line-height: 1.8;
}

.pd-precautions-content p i {
    color: #ef4444;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

    .pd-specs,
    .pd-details,
    .pd-gallery {
        padding: 5rem 0;
    }

    .pd-section-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .pd-spec-item {
        padding: 2rem 1.5rem;
    }

    .pd-spec-value {
        font-size: 1.25rem;
    }

    .pd-detail-item {
        padding: 2rem 1.5rem;
    }

    .pd-gallery-grid {
        gap: 2rem;
        margin-top: 3rem;
    }

    .pd-gallery-item img {
        padding: 1rem;
    }

    .pd-footer {
        padding: 5rem 1.5rem;
    }

    .pd-brand-name {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .pd-hero-visual img {
        max-width: 90%;
    }

    .pd-title {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .pd-spec-item {
        padding: 1.5rem 1rem;
    }

    .pd-detail-item {
        padding: 1.5rem 1rem;
    }
}
