/* ===== 相关拍卖 - 轮播样式 ===== */
.auction-container {
    width: 100%;

    border-radius: 4px;
    border: 1px solid #D8D8D8;
    padding: 32px 28px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
    margin-top: 20px;
}

/* 标题 */
.auction-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.auction-title {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    padding-left: 16px;
    position: relative;
}
.auction-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 28px;
    background: linear-gradient(180deg, #f093fb 0%, #f5576c 100%);
    border-radius: 4px;
}
.auction-more {
    font-size: 14px;
    color: #8892b0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}
.auction-more:hover { color: #f5576c; }
.auction-more svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2.2; fill: none; }

/* 轮播包裹层 */
.carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}
.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    width: 100%;
}

/* 商品卡片 - 作为 flex 子项 */
.product-card {
    flex: 0 0 calc(25% - 15px); /* 固定4列 */
    min-width: 0;
    background: #fafbfc;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #edf2f7;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

/* 卡片内部链接 */
.card-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    /* 移除所有flex相关 */
}
.product-image {
    width: 100%;
    aspect-ratio: 16 / 9;   /* ← 改为长方形（原为 1/1） */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef2f7;
}
.product-image .placeholder {
    font-size: 28px;
    font-weight: 600;
    color: rgba(0,0,0,0.2);
}
.product-info { padding: 14px 16px 18px; }
.product-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #4a5568;
}
.product-price {
    font-weight: 700;
    color: #f5576c;
    font-size: 18px;
}
.product-price small { font-weight: 400; font-size: 13px; color: #a0aec0; margin-left: 2px; }
.product-bid {
    background: #edf2f7;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: #4a5568;
}

/* 箭头按钮 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    z-index: 10;
    color: #2d3748;
    user-select: none;
    outline: none;
    padding: 0;
}
.carousel-btn:hover {
    /*background: #ffffff;*/
    box-shadow: 0 6px 24px rgba(0,0,0,0.16);
    transform: translateY(-50%) scale(1.05);
}
.carousel-btn:active { transform: translateY(-50%) scale(0.94); }
.carousel-btn svg { width: 22px; height: 22px; display: block; stroke: currentColor; stroke-width: 2.2; fill: none; }
.carousel-btn--prev { left: -10px; }
.carousel-btn--next { right: -10px; }
.carousel-btn.disabled {
    opacity: 0.3;
    pointer-events: none;
    cursor: default;
}

/* 底部指示点 */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}
.carousel-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e0;
    transition: background 0.3s, transform 0.3s;
    cursor: pointer;
}
.carousel-dots span.active {
    background: #f5576c;
    transform: scale(1.25);
}

/* ===== 响应式已移除（固定 4 列） ===== */
/* 仅保留箭头尺寸微调（可选） */
@media (max-width: 640px) {
    .auction-container { padding: 20px 14px; }
    .carousel-btn { width: 34px; height: 34px; }
    .carousel-btn svg { width: 16px; height: 16px; }
    .carousel-btn--prev { left: 0px; }
    .carousel-btn--next { right: 0px; }
    .product-info { padding: 10px 12px 14px; }
    .product-name { font-size: 14px; }
    .product-price { font-size: 16px; }
    .carousel-dots { margin-top: 14px; }
}

/* ===== 拍品链接样式 ===== */
/*
.card-link {
    display: block;           !* 让链接占满卡片区域 *!
    text-decoration: none;    !* 去掉下划线 *!
    color: inherit;           !* 继承文字颜色，避免蓝色 *!
    border-radius: 16px;      !* 与卡片圆角一致 *!
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-link:hover .product-card {
    !* 保持卡片原有的悬停效果，但因为我们把 hover 放在卡片上，这里无需额外处理 *!
    !* 实际 hover 效果依然由 .product-card:hover 触发，但链接包裹后，hover 会冒泡，所以依然有效 *!
    flex: 0 0 calc(25% - 15px); !* 固定 4 列，不再响应式 *!
    min-width: 0;
    background: #fafbfc;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #edf2f7;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
*/

/* 为了确保点击整个卡片区域生效，且不影响卡片内部交互，无需额外修改 */