/* Wishlist Page Styles */

/* Breadcrumb */
.breadcrumb {
    background: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.breadcrumb nav a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb nav a:hover {
    color: #96722E;
}

.breadcrumb .separator {
    color: #6c757d;
    margin: 0 5px;
}

.breadcrumb .current {
    color: #0A4B3E;
    font-weight: 500;
}

/* Main Wishlist Styles */
.wishlist-main {
    padding: 40px 0 80px;
    min-height: 60vh;
}

.wishlist-header {
    text-align: center;
    margin-bottom: 50px;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 600;
    color: #0A4B3E;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.page-title i {
    color: #96722E;
    font-size: 2.5rem;
}

.page-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Login Required */
.login-required {
    text-align: center;
    padding: 80px 20px;
}

.login-required-content {
    max-width: 500px;
    margin: 0 auto;
}

.login-icon {
    margin-bottom: 30px;
}

.login-icon i {
    font-size: 5rem;
    color: #96722E;
}

.login-required h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #0A4B3E;
    margin-bottom: 15px;
}

.login-required p {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #96722E;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: #7A5D26;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(150, 114, 46, 0.3);
}

/* Empty Wishlist */
.empty-wishlist {
    text-align: center;
    padding: 80px 20px;
}

.empty-wishlist-content {
    max-width: 500px;
    margin: 0 auto;
}

.empty-icon {
    margin-bottom: 30px;
}

.empty-icon i {
    font-size: 5rem;
    color: #dee2e6;
}

.empty-wishlist h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #0A4B3E;
    margin-bottom: 15px;
}

.empty-wishlist p {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-continue-shopping {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #96722E;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-continue-shopping:hover {
    background: #7A5D26;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(150, 114, 46, 0.3);
    color: white;
    text-decoration: none;
}

/* Wishlist Content */
.wishlist-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* Wishlist Header Info */
.wishlist-header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
}

.items-count {
    font-size: 1.1rem;
    font-weight: 500;
    color: #0A4B3E;
}

.wishlist-actions {
    display: flex;
    gap: 15px;
}

.btn-share-wishlist {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 2px solid #96722E;
    color: #96722E;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-share-wishlist:hover {
    background: #96722E;
    color: white;
}

/* Wishlist Layout */
.wishlist-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

/* Wishlist Table */
.wishlist-table {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.table-header {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr 1.5fr 80px;
    gap: 20px;
    padding: 20px 25px;
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
    font-weight: 600;
    color: #495057;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wishlist-items {
    display: flex;
    flex-direction: column;
}

.wishlist-item {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr 1.5fr 80px;
    gap: 20px;
    padding: 25px;
    border-bottom: 1px solid #f1f3f4;
    align-items: center;
    transition: background-color 0.3s ease;
}

.wishlist-item:hover {
    background-color: #f8f9fa;
}

.wishlist-item:last-child {
    border-bottom: none;
}

/* Product Column */
.col-product .product-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.col-product .item-image {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.col-product .item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.col-product .item-image:hover img {
    transform: scale(1.05);
}

.sale-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #dc3545;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
}

.col-product .product-details {
    flex: 1;
    min-width: 0;
}

.col-product .product-name {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.col-product .product-name a {
    color: #0A4B3E;
    text-decoration: none;
    transition: color 0.3s ease;
}

.col-product .product-name a:hover {
    color: #96722E;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.product-rating .stars {
    display: flex;
    gap: 2px;
}

.product-rating .stars i {
    font-size: 12px;
    color: #ffc107;
}

.product-rating .rating-count {
    font-size: 12px;
    color: #6c757d;
}

.added-date {
    font-size: 12px;
    color: #6c757d;
    margin-top: 5px;
    font-style: italic;
}

/* Category Column */
.col-category .category-link {
    color: #6c757d;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.col-category .category-link:hover {
    color: #96722E;
}

/* Price Column */
.col-price .item-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.col-price .sale-price {
    font-weight: 600;
    color: #dc3545;
    font-size: 16px;
}

.col-price .original-price {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 14px;
}

.col-price .regular-price {
    font-weight: 600;
    color: #0A4B3E;
    font-size: 16px;
}

/* Stock Column */
.col-stock .stock-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
}

.col-stock .in-stock {
    color: #28a745;
}

.col-stock .out-of-stock {
    color: #dc3545;
}

.col-stock .stock-status i {
    font-size: 12px;
}

/* Actions Column */
.col-actions .item-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
}

.col-actions .btn-add-to-cart,
.col-actions .btn-notify-me {
    background: #96722E;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.col-actions .btn-add-to-cart:hover {
    background: #7A5D26;
    transform: translateY(-1px);
}

.col-actions .btn-notify-me {
    background: #6c757d;
}

.col-actions .btn-notify-me:hover {
    background: #5a6268;
}

.col-actions .btn-view-details {
    background: transparent;
    color: #96722E;
    border: 1px solid #96722E;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.col-actions .btn-view-details:hover {
    background: #96722E;
    color: white;
}

/* Remove Column */
.col-remove .btn-remove-wishlist {
    background: #dc3545;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.col-remove .btn-remove-wishlist:hover {
    background: #c82333;
    transform: scale(1.1);
}

/* Wishlist Summary */
.wishlist-summary {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 100px;
}

.summary-header {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #0A4B3E;
    margin-bottom: 20px;
    text-align: center;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f4;
    font-size: 15px;
}

.summary-row:last-of-type {
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 15px;
}

.summary-row.savings {
    color: #28a745;
    font-weight: 600;
}

.savings-amount {
    font-size: 16px;
    font-weight: 700;
}

.summary-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.btn-add-all-to-cart {
    background: #96722E;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-add-all-to-cart:hover {
    background: #7A5D26;
    transform: translateY(-2px);
}

.btn-clear-wishlist {
    background: transparent;
    color: #dc3545;
    border: 2px solid #dc3545;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-clear-wishlist:hover {
    background: #dc3545;
    color: white;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .wishlist-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .wishlist-summary {
        position: static;
        order: -1;
    }
    
    .table-header,
    .wishlist-item {
        grid-template-columns: 2fr 1fr 1fr 100px;
    }
    
    .col-category,
    .col-stock {
        display: none;
    }
    
    .col-actions .item-actions {
        flex-direction: row;
        gap: 5px;
    }
    
    .col-actions .btn-add-to-cart,
    .col-actions .btn-notify-me,
    .col-actions .btn-view-details {
        padding: 6px 8px;
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .wishlist-header-info {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .wishlist-table {
        overflow-x: auto;
    }
    
    .table-header,
    .wishlist-item {
        min-width: 600px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .page-title i {
        font-size: 2rem;
    }
    
    .col-product .product-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .col-product .item-image {
        width: 60px;
        height: 60px;
    }
    
    .col-actions .item-actions {
        flex-direction: column;
    }
    
    .summary-actions {
        gap: 10px;
    }
    
    .btn-add-all-to-cart,
    .btn-clear-wishlist {
        padding: 10px 15px;
        font-size: 13px;
    }
}
