/* Wishlist Icon on Product Image (Loop) */
.csl-wishlist-icon-loop {
    position: absolute;
    z-index: 10;
    cursor: pointer;
    font-size: 20px;
    background: #ffffff;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.csl-wishlist-icon-loop:hover {
    transform: scale(1.1);
}

.csl-wl-pos-top-right {
    top: 10px;
    right: 10px;
}

.csl-wl-pos-top-left {
    top: 10px;
    left: 10px;
}

.csl-wl-pos-bottom-right {
    bottom: 10px;
    right: 10px;
}

.csl-wl-pos-bottom-left {
    bottom: 10px;
    left: 10px;
}

/* Single Product Button */
.csl-wishlist-single-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #333;
    border: 1px solid #ddd;
    padding: 10px 15px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.csl-wishlist-single-btn:hover {
    background: #f9f9f9;
    border-color: #ccc;
}

 .csl-wishlist-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    font-family: 'Outfit', sans-serif;
}

/* Wishlist Table */
.csl-wishlist-table-responsive {
    overflow-x: auto;
}

.csl-wishlist-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px;
    background: transparent;
    margin-bottom: 20px;
    border: none !important;
}

.csl-wishlist-table th {
    background: transparent;
    padding: 10px 20px;
    font-weight: 500;
    color: #64748b;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    border: none !important;
    text-align: left;
}

.csl-wishlist-table td {
    background: transparent;
    padding: 15px 20px;
    border: none !important;
    vertical-align: middle;
    transition: all 0.3s ease;
}

.csl-wishlist-table tbody tr {
    transition: transform 0.2s ease;
}

.csl-wishlist-table tbody tr td:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.csl-wishlist-table tbody tr td:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.csl-wishlist-table tbody tr:hover td {
    background: rgba(0, 0, 0, 0.03);
    transform: translateY(-2px);
}

.csl-wl-td-image {
    width: 80px;
}

.csl-wl-td-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.csl-wishlist-item-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

.csl-wl-td-name a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 14px !important;
    font-weight: 600 !important;
}

.csl-wl-td-name a:hover {
    color: var(--csl-primary, #0056b3);
}

.csl-wl-td-price,
.csl-wl-th-price {
    font-weight: 700;
    color: #1e293b;
    text-align: left !important;
    font-size: 1.1rem;
}

.csl-wl-td-action,
.csl-wl-th-action {
    text-align: left !important;
}

.csl-wl-td-action .button {
    background: var(--csl-primary, #0056b3);
    color: white !important;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.2);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.csl-wl-td-action .button:hover {
    background: #004494;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 86, 179, 0.3);
}

.csl-wl-td-remove {
    text-align: right;
    width: 50px;
}

.csl-wishlist-remove-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff5f5;
    color: #db0000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.csl-wishlist-remove-btn:hover {
    background: #db0000;
    color: white;
}

 @media (max-width: 768px) {
    .csl-wishlist-table, 
    .csl-wishlist-table thead, 
    .csl-wishlist-table tbody, 
    .csl-wishlist-table th, 
    .csl-wishlist-table td, 
    .csl-wishlist-table tr {
        display: block;
    }

    .csl-wishlist-table thead {
        display: none;
    }

    .csl-wishlist-table-responsive {
        overflow: visible;
    }

    .csl-wishlist-table {
        border-spacing: 0;
    }

    .csl-wishlist-table tbody tr {
        background: white;
        margin-bottom: 20px;
        padding: 15px;
        border-radius: 16px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.04);
        position: relative;
    }

    .csl-wishlist-table td {
        padding: 8px 0;
        text-align: center !important;
        background: transparent;
        box-shadow: none !important;
    }

    .csl-wl-td-image {
        width: 100% !important;
    }

    .csl-wl-td-image img {
        width: 120px;
        height: 120px;
        margin: 0 auto 10px;
    }

    .csl-wl-td-name {
        padding-bottom: 15px !important;
    }

    .csl-wishlist-item-title {
        font-size: 1rem;
    }

    .csl-wl-td-price {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .csl-wl-td-action {
        width: 100%;
        margin-top: 10px;
    }

    .csl-wl-td-action .button {
        width: 100%;
        justify-content: center;
    }

    .csl-wl-td-remove {
        position: absolute;
        top: 15px;
        right: 15px;
        width: auto !important;
        padding: 0 !important;
    }

    .csl-wishlist-table tbody tr td:first-child,
    .csl-wishlist-table tbody tr td:last-child {
        border-radius: 0;
    }
}

.csl-wl-out-of-stock {
    display: block;
    width: 100%;
    text-align: center;
    padding: 8px;
    background: #f5f5f5;
    color: #888;
    border-radius: 4px;
    font-weight: 600;
}

/* Toastr like styles for notifications */
.csl-wishlist-notice {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #333;
    color: #fff;
    padding: 12px 20px;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.csl-wishlist-notice.show {
    opacity: 1;
    transform: translateY(0);
}

.csl-wishlist-notice i {
    font-size: 18px;
}