/* 时装列表和详情页样式 */

.costumes-section {
    padding: 60px 0;
    min-height: 500px;
}

.costumes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* 时装详情 */
.costume-detail-section {
    padding: 60px 0;
}

.costume-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.costume-detail-main {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

.costume-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.gallery-item {
    overflow: hidden;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.costume-detail-info {
    padding: 40px;
}

.costume-detail-info .tag {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 10px;
    margin-bottom: 20px;
}

.costume-detail-info .tag-limited {
    background: linear-gradient(135deg, #ffd43b, #ff922b);
    color: #000;
}

.costume-detail-info .tag-new {
    background: linear-gradient(135deg, #51cf66, #37b24d);
    color: white;
}

.costume-detail-info h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.costume-price-display {
    margin: 20px 0 15px;
}

.costume-price-display .price-current {
    font-size: 32px;
    color: var(--primary-color);
    font-weight: 600;
}

.costume-price-display .price-original {
    text-decoration: line-through;
    color: var(--text-secondary);
    font-size: 20px;
    margin-right: 15px;
}

.costume-category-display {
    padding: 15px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.costume-description h2 {
    font-size: 24px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.costume-description p {
    line-height: 2;
    color: var(--text-primary);
}

.other-costumes {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.other-costume-item {
    display: flex;
    gap: 15px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.other-costume-item:hover {
    background: rgba(255, 70, 85, 0.1);
    transform: translateX(5px);
}

.other-costume-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}

.other-costume-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.other-costume-info span:first-child {
    color: var(--text-primary);
    font-size: 14px;
}

.other-costume-info .price {
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .costume-detail-wrapper {
        grid-template-columns: 1fr;
    }

    .costume-gallery {
        grid-template-columns: 1fr;
    }

    .costume-detail-info {
        padding: 20px;
    }

    .costume-detail-info h1 {
        font-size: 24px;
    }
}
