/* CSS */
.wishlist-page {
    min-height: 100vh;
    background-color: #f9f9f9;
    padding: 2rem 0;
}

.header-section {
    background: url('../images/Wishlist-bg.jpg') center/cover;
    padding: 7rem 2rem 4rem;
    text-align: center;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
}
@media (max-width:991px){
    .header-section{
        padding: 97px 30px 30px;
    }
}
.header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.02) 25%, transparent 25%),
                linear-gradient(-45deg, rgba(0,0,0,0.02) 25%, transparent 25%);
    background-size: 60px 60px;
}

.page-title {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    position: relative;
}

.page-subtitle {
    color: #666;
    font-size: 1.2rem;
}
@media (max-width:767px){
    .page-subtitle{
        font-size: 15px;
    }
}
.wishlist-controls {
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.wishlist-search {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.wishlist-search input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 1px solid #eee;
    border-radius: 30px;
    background: #fff;
    transition: all 0.3s ease;
}

.wishlist-search i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.wishlist-search input:focus {
    border-color: #2c3e50;
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
    outline: none;
}

.wishlist-filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    background: #fff;
    border-radius: 20px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.filter-btn:hover, .filter-btn.active {
    background: #7A5C43;
    color: #fff;
}


.wishlist-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
}

@media(max-width: 767.5px){
    .wishlist{
        margin-bottom: 30px;
    }
    .wishlist:last-child{
        margin-bottom: 30px;
    }
}

.wishlist-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.item-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

.item-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wishlist-item:hover .item-image img {
    transform: scale(1.05);
}

.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 62, 80, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.wishlist-item:hover .item-overlay {
    opacity: 1;
}

.item-overlay button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.3s ease;
}

.item-overlay button:hover {
    background: #2c3e50;
    color: #fff;
    transform: scale(1.1);
}

.item-content {
    padding: 1.5rem;
}

.item-content h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.item-category {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.item-price {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.current-price {
    font-size: 1.3rem;
    color: #7A5C43;
    font-weight: bold;
}

.original-price {
    color: #999;
    text-decoration: line-through;
}

.item-actions {
    display: flex;
    gap: 1rem;
}

.item-actions button {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    background: #fff;
    color: #2c3e50;
    border: 1px solid #2c3e50;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remove-btn {
    background: #fff;
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

.remove-btn:hover {
    background: #e74c3c;
    color: #fff;
}

.move-btn {
    background: #fff;
    color: #2c3e50;
    border: 1px solid #2c3e50;
}

.move-btn:hover {
    background: #7A5C43;
    color: #fff;
}

.stock-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.in-stock {
    background: rgba(46, 204, 113, 0.1);
    color: #27ae60;
}

.low-stock {
    background: rgba(241, 196, 15, 0.1);
    color: #f39c12;
}

.out-stock {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.wishlist-empty {
    text-align: center;
    padding: 4rem 2rem;
}

.wishlist-empty i {
    font-size: 4rem;
    color: #999;
    margin-bottom: 1rem;
}

.wishlist-empty h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.wishlist-empty p {
    color: #666;
    margin-bottom: 2rem;
}

.browse-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: #2c3e50;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.browse-btn:hover {
    background: #34495e;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .wishlist-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .wishlist-search {
        max-width: none;
    }

    .page-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .item-actions {
        flex-direction: column;
    }
}
@media (max-width:543px){
    .page-title{
        font-size: 35px;
    }
}