/**
 * Wishlist Styles
 * Stili specifici per il sistema wishlist
 * 
 * Questo file contiene gli stili per:
 * - Pulsanti aggiungi/rimuovi wishlist
 * - Layout griglia wishlist
 * - Card delle case nella wishlist
 * - Messaggi vuoti e stati
 * - Popup wishlist
 * - Counter header wishlist
 */

#wishlist {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width:767px) {
    #wishlist {
        flex-wrap: wrap;
        padding: 20px;
        grid-template-columns: repeat(1, 1fr);

    }
}

#wishlist .case-content .case-address {
    padding-left: 10px;
}

#wishlist .wishlist-product {
    width: 20%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 1px 1px 14px #00000057
}

@media (max-width:767px) {
    #wishlist .wishlist-product {
        width: 100%
    }
}

@media (min-width:768px) and (max-width:1024px) {
    #wishlist .wishlist-product {
        width: 33%
    }
}

#wishlist .wishlist-product .img_prodotto {
    height: 250px;
    object-fit: cover;
    width: 100%
}

#wishlist .wishlist-product .title_prodotto,
#wishlist .wishlist-product .prezzo_prodotto {
    font-family: "Titillium Web", sans-serif;
    font-size: 18px;
    font-weight: 600
}

#wishlist .wishlist-product .info_prodotto {
    padding: 15px
}

#wishlist .wishlist-product button {
    width: 50%;
    padding: 10px;
    border-radius: 10px;
    color: #15213D;
    border: none;
    height: 38px;
    line-height: 13px;
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
    z-index: 20
}

#wishlist .wishlist-product button a {
    color: #15213D;
    font-weight: 600
}

#wishlist .wishlist-product button:hover {
    background-color: transparent
}

.counter {
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center
}

.counter i {
    color: #fff;
    font-size: 20px
}

.counter .counter_number {
    background: #fba311;
    font-size: 10px;
    width: 17px;
    height: 17px;
    border-radius: 100%;
    text-align: center;
    position: relative;
    top: -7px;
    left: -7px;
    color: #fff;
    font-weight: 500
}

/* ==========================================================================
   Pulsante rimozione wishlist con icona X
   ========================================================================== */

#wishlist .case-image {
    position: relative;
}

#wishlist .wishlist-remove-section {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

#wishlist .wishlist-remove-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: white;
    color: #13223D;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    font-size: 22px;
    font-weight: bold;
    padding: 0;
    transition: all 0.3s ease;
    display: block;
    text-transform: lowercase;
}

#wishlist .wishlist-remove-btn:hover {
    background-color: #0a1525;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

#wishlist .wishlist-remove-btn:active {
    transform: scale(0.95);
}