/* ========== Products 单卡片轮播 ========== */
.p-section {
    position: relative;
    padding: 120px 0 100px;
    overflow: hidden;
    isolation: isolate;
}

.p-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/_DSC3390.JPG');
    background-size: cover;
    background-position: center;
    z-index: 0;
    filter: none;
    opacity: 0.55;
}

.p-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.35) 100%);
}

.p-carousel {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    min-height: 480px;
}

.p-card {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
    pointer-events: none;
    cursor: pointer;
}

.p-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.p-card.active:hover {
    transform: translateX(0) scale(1.01);
}

.p-card-img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background-size: cover;
    background-position: center;
}

.p-card-info {
    padding: 40px 40px 40px 0;
}

.p-card-tag {
    font-size: 12px;
    letter-spacing: 0.2em;
    color: var(--a-accent);
    margin-bottom: 16px;
    text-transform: uppercase;
    font-weight: 500;
}

.p-card-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--a-text);
    line-height: 1.3;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.p-card-meta {
    font-size: 15px;
    color: var(--a-text-2);
    margin-bottom: 20px;
    line-height: 1.5;
}

.p-card-desc {
    font-size: 16px;
    color: var(--a-text-2);
    line-height: 1.7;
    margin-bottom: 24px;
}

.p-card .p-card-buy {
    display: inline-block;
    padding: 10px 24px;
    background: var(--a-text);
    color: #fff;
    border-radius: 999px;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s;
}

.p-card .p-card-buy:hover {
    background: var(--a-gold);
}

.p-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
    position: relative;
    z-index: 3;
}

.p-ctrl-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.p-ctrl-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.7);
}

.p-dots {
    display: flex;
    gap: 10px;
}

.p-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.3s;
}

.p-dot.active {
    background: #fff;
    width: 28px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .p-card {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .p-card-img {
        min-height: 240px;
    }
    .p-card-info {
        padding: 24px;
    }
    .p-card-name {
        font-size: 22px;
    }
}
