
body {
    background-color: #fff;
    color: #222;
    font-family: Arial, sans-serif;
}

.wishlist-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* =========================
    HEADER
========================== */

.wishlist-header {
    margin-bottom: 35px;
}

.wishlist-header h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.wishlist-header p {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* =========================
    TABLA
========================== */

.wishlist-table-wrapper {
    overflow-x: auto;
    border: 1px solid #e5e5e5;
}

.wishlist-table {
    width: 100%;
    min-width: 850px;
    margin-bottom: 0;
    vertical-align: middle;
}

.wishlist-table thead th {
    background-color: #fafafa;
    border-bottom: 1px solid #ddd;
    color: #555;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 17px 15px;
    white-space: nowrap;
}

.wishlist-table tbody td {
    padding: 20px 15px;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

.wishlist-table tbody tr:last-child td {
    border-bottom: none;
}

/* =========================
    PRODUCTO
========================== */

.wishlist-product {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 280px;
}

.wishlist-product img {
    width: 75px;
    height: 90px;
    object-fit: cover;
    background-color: #f5f5f5;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-name {
    color: #222;
    font-weight: 500;
    font-size: 0.9rem;
}

.product-category {
    color: #888;
    font-size: 0.75rem;
}

.product-rating {
    font-size: 0.72rem;
    color: #222;
}

.product-rating span {
    color: #888;
    margin-left: 4px;
}

/* =========================
    PRECIO
========================== */

.product-price {
    white-space: nowrap;
    font-weight: 500;
    color: #222;
}

.old-price {
    color: #999;
    font-size: 0.8rem;
    text-decoration: line-through;
    margin-left: 5px;
}

/* =========================
    DISPONIBILIDAD
========================== */

.availability {
    white-space: nowrap;
    font-size: 0.82rem;
}

.availability i {
    font-size: 0.55rem;
    margin-right: 5px;
}

.available {
    color: #555;
}

.available i {
    color: #555;
}

.unavailable {
    color: #999;
}

.unavailable i {
    color: #999;
}

/* =========================
    BOTÓN CARRITO
========================== */

.add-cart-button {
    border: 1px solid #222;
    background-color: #222;
    color: #fff;
    padding: 10px 18px;
    font-size: 0.8rem;
    white-space: nowrap;
    transition: 0.2s ease;
}

.add-cart-button:hover {
    background-color: #000;
}

.add-cart-button:disabled {
    background-color: #f1f1f1;
    color: #999;
    border-color: #ddd;
    cursor: not-allowed;
}

/* =========================
    ELIMINAR
========================== */

.remove-wishlist {
    width: 35px;
    height: 35px;
    border: none;
    background-color: transparent;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
    margin-left: auto;
}

.remove-wishlist:hover {
    color: #dc3545;
}

/* =========================
    ACCIONES INFERIORES
========================== */

.wishlist-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
}

.continue-shopping {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #222;
    text-decoration: none;
    font-size: 0.85rem;
}

.continue-shopping:hover {
    text-decoration: underline;
}

.wishlist-count {
    color: #777;
    font-size: 0.82rem;
}

/* =========================
    WISHLIST VACÍA
========================== */

.empty-wishlist {
    display: none;
    text-align: center;
    border: 1px solid #e5e5e5;
    padding: 80px 20px;
}

.empty-wishlist i {
    display: block;
    font-size: 3rem;
    color: #aaa;
    margin-bottom: 20px;
}

.empty-wishlist h2 {
    font-size: 1.35rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.empty-wishlist p {
    color: #777;
    font-size: 0.88rem;
    margin-bottom: 25px;
}

.explore-button {
    display: inline-block;
    background-color: #222;
    color: #fff;
    text-decoration: none;
    padding: 12px 25px;
    font-size: 0.85rem;
}

.explore-button:hover {
    /* background-color: #000; */
    background-color: #7A1F3D;
    color: #fff;
}

/* =========================
    RESPONSIVE
========================== */

@media (max-width: 991.98px) {

    .wishlist-container {
        padding: 45px 20px;
    }

}

@media (max-width: 575.98px) {

    .wishlist-container {
        padding: 35px 15px;
    }

    .wishlist-header h1 {
        font-size: 1.7rem;
    }

    .wishlist-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

}
