/**
 * 愿望清单页面样式
 * Wishlist Page Styles
 */

/* ============================================
   页面容器
   ============================================ */

.wishlist-page-wrapper {
    padding: 60px 0 100px;
    background: #fff;
}

.wishlist-page-wrapper .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ============================================
   页面标题
   ============================================ */

.wishlist-header {
    text-align: center;
    margin-bottom: 60px;
}

.wishlist-title {
    font-size: 36px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0 0 15px;
    color: #000;
}

.wishlist-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* ============================================
   愿望清单项目网格
   ============================================ */

.wishlist-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* 单个愿望清单项 */
.wishlist-item {
    position: relative;
    background: #fff;
    transition: all 0.3s ease;
}

.wishlist-item:hover {
    transform: translateY(-3px);
}

/* 删除按钮 */
.wishlist-remove-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wishlist-remove-btn:hover {
    background: #e74c3c;
    border-color: #e74c3c;
    color: #fff;
}

.wishlist-remove-btn i {
    font-size: 16px;
    transition: color 0.3s ease;
}

.wishlist-remove-btn:hover i {
    color: #fff;
}

/* 产品图片 */
.wishlist-item-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background: #f9f9f9;
}

.wishlist-item-image a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.wishlist-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.wishlist-item:hover .wishlist-item-image img {
    transform: scale(1.05);
}

/* 产品信息 */
.wishlist-item-info {
    padding: 20px 15px;
}

.wishlist-item-brand {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
    margin-bottom: 8px;
}

.wishlist-item-title {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.wishlist-item-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.wishlist-item-title a:hover {
    color: #ab8e66;
}

.wishlist-item-price {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.wishlist-item-price del {
    color: #999;
    font-weight: 400;
    margin-right: 8px;
    font-size: 14px;
}

.wishlist-item-price ins {
    text-decoration: none;
    color: #ab8e66;
}

/* Reserve and Try-On 复选框（产品项） */
.wishlist-item-reserve {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 12px 0;
    border-top: 1px solid #e0e0e0;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.wishlist-item-reserve:hover {
    background: #f9f9f9;
}

.wishlist-item-checkbox {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: #ab8e66;
    flex-shrink: 0;
}

.wishlist-reserve-text {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333;
    transition: color 0.3s ease;
}

.wishlist-item-reserve:hover .wishlist-reserve-text {
    color: #ab8e66;
}

/* ============================================
   空状态
   ============================================ */

.wishlist-empty {
    text-align: center;
    padding: 100px 20px;
}

.wishlist-empty-icon {
    margin-bottom: 30px;
    color: #ddd;
}

.wishlist-empty-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 15px;
    color: #333;
}

.wishlist-empty-text {
    font-size: 16px;
    color: #666;
    margin: 0 0 30px;
}

.wishlist-empty-button {
    display: inline-block;
    padding: 15px 40px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: #333;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.wishlist-empty-button:hover {
    background: #ab8e66;
    color: #fff;
}

/* ============================================
   Reserve & Try-On 提交区域
   ============================================ */

.wishlist-reserve-section {
    border-top: 2px solid #e0e0e0;
    padding: 40px 0;
    margin-top: 40px;
    text-align: center;
}

.wishlist-reserve-info {
    margin-bottom: 30px;
}

.wishlist-reserve-note {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 15px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.wishlist-selected-count {
    font-size: 16px;
    font-weight: 600;
    color: #ab8e66;
    margin: 0;
}

.wishlist-selected-count span {
    font-size: 24px;
    font-weight: 700;
}

/* Reserve 按钮 */
.wishlist-reserve-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 50px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: #000;
    color: #fff;
    border: 2px solid #000;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 320px;
}

.wishlist-reserve-button:hover:not(:disabled) {
    background: #ab8e66;
    border-color: #ab8e66;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(171, 142, 102, 0.3);
}

.wishlist-reserve-button:disabled {
    background: #ccc;
    border-color: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.wishlist-reserve-button .button-icon {
    font-size: 20px;
    display: flex;
    align-items: center;
}

.wishlist-reserve-button .button-text {
    display: inline-block;
}

/* ============================================
   响应式布局
   ============================================ */

/* 大屏幕 */
@media (min-width: 1200px) {
    .wishlist-items {
        grid-template-columns: repeat(4, 1fr);
        gap: 35px;
    }
}

/* 平板 */
@media (min-width: 768px) and (max-width: 1199px) {
    .wishlist-items {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .wishlist-title {
        font-size: 32px;
    }
}

/* 手机 */
@media (max-width: 767px) {
    .wishlist-page-wrapper {
        padding: 40px 0 60px;
    }
    
    .wishlist-page-wrapper .container {
        padding: 0 20px;
    }
    
    .wishlist-header {
        margin-bottom: 40px;
    }
    
    .wishlist-title {
        font-size: 24px;
        letter-spacing: 2px;
    }
    
    .wishlist-subtitle {
        font-size: 14px;
    }
    
    .wishlist-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 40px;
    }
    
    .wishlist-item-info {
        padding: 15px 10px;
    }
    
    .wishlist-item-brand {
        font-size: 11px;
    }
    
    .wishlist-item-title {
        font-size: 13px;
    }
    
    .wishlist-item-price {
        font-size: 14px;
    }
    
    .wishlist-add-to-cart {
        padding: 10px 15px;
        font-size: 12px;
    }
    
    .wishlist-remove-btn {
        width: 28px;
        height: 28px;
        top: 10px;
        right: 10px;
    }
    
    .wishlist-remove-btn i {
        font-size: 14px;
    }
    
    .wishlist-empty {
        padding: 60px 20px;
    }
    
    .wishlist-empty-title {
        font-size: 20px;
    }
    
    .wishlist-empty-text {
        font-size: 14px;
    }
    
    .wishlist-reserve-section {
        padding: 30px 0;
        margin-top: 30px;
    }
    
    .wishlist-reserve-note {
        font-size: 13px;
    }
    
    .wishlist-reserve-button {
        min-width: auto;
        width: 100%;
        padding: 15px 30px;
        font-size: 13px;
        letter-spacing: 1.5px;
    }
    
    .wishlist-reserve-button .button-icon {
        font-size: 18px;
    }
    
    .wishlist-item-reserve {
        padding: 10px 0;
    }
    
    .wishlist-reserve-text {
        font-size: 11px;
    }
}

/* ============================================
   加载动画
   ============================================ */

@keyframes wishlistFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wishlist-item {
    animation: wishlistFadeIn 0.5s ease forwards;
}

/* 交错动画 */
.wishlist-item:nth-child(1) { animation-delay: 0.05s; }
.wishlist-item:nth-child(2) { animation-delay: 0.1s; }
.wishlist-item:nth-child(3) { animation-delay: 0.15s; }
.wishlist-item:nth-child(4) { animation-delay: 0.2s; }
.wishlist-item:nth-child(5) { animation-delay: 0.25s; }
.wishlist-item:nth-child(6) { animation-delay: 0.3s; }
.wishlist-item:nth-child(7) { animation-delay: 0.35s; }
.wishlist-item:nth-child(8) { animation-delay: 0.4s; }

