.favorites-page { background: #fff; }
.favorites-page .container { max-width: 1380px; padding-left: 20px; padding-right: 20px; }
.favorites-page .py-90 { padding-top: 0 !important; padding-left: 0; padding-right: 0; }

/* Wishlist wrap container */
.wishlist-wrap {
    max-width: 100%;
    margin: 0 auto;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e8e8e8;
    overflow: hidden;
}

/* Wishlist title */
.wishlist-page-title {
    padding: 32px 48px 24px;
    margin-bottom: 0;
    border-bottom: 1px solid #f0f0f0;
}
.wishlist-page-title h1 {
    font-size: 20px;
    font-weight: 650;
    color: #141C19;
    margin: 0;
    letter-spacing: -0.02em;
}

/* Wishlist header */
.wishlist-header {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 18px 48px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    border-bottom: 1px solid #f0f0f0;
}
.wishlist-select-all {
    display: flex;
    align-items: center;
    gap: 9px;
}
.wishlist-select-all input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #141C19;
}
.wishlist-select-all label {
    font-size: 12.5px;
    font-weight: 500;
    color: #555;
    margin: 0;
    cursor: pointer;
    user-select: none;
}
.wishlist-delete-selected {
    padding: 6px 14px;
    background: transparent;
    color: #f04343;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s;
    display: none;
    align-items: center;
    gap: 5px;
}
.wishlist-delete-selected.active {
    display: inline-flex;
}
.wishlist-delete-selected:hover {
    background: #fff0f0;
}

/* Wishlist items */
.wishlist-items {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.wishlist-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid #f5f5f5;
    border-radius: 0;
    padding: 20px 48px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: background 0.15s, opacity 0.2s;
}
.wishlist-item:last-child {
    border-bottom: none;
}
.wishlist-item.finished {
    opacity: 0.6;
    background: transparent;
}
.wishlist-item:hover {
    background: #fafafa;
}
.wishlist-item.finished:hover {
    background: transparent;
}
.wishlist-item.selected {
    background: #f8fbf8;
    border-bottom: 1px solid #f5f5f5;
}
.wishlist-item-checkbox {
    flex-shrink: 0;
}
.wishlist-item-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #141C19;
    border: 1.5px solid #ccc;
    border-radius: 4px;
}
.wishlist-item-image {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #ebebeb;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wishlist-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.2s;
}
.wishlist-item.finished .wishlist-item-image img {
    opacity: 0.5;
}
.wishlist-item-image-badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.2s;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.wishlist-item.finished .wishlist-item-image-badge {
    opacity: 1;
}
.wishlist-item-info {
    flex: 1;
    min-width: 0;
}
.wishlist-item-title {
    font-size: 15px;
    font-weight: 600;
    color: #141C19;
    margin: 0 0 4px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wishlist-item-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.wishlist-item-title a:hover {
    color: #00674F;
}
.wishlist-item-desc {
    font-size: 12px;
    color: #999;
    margin: 0;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wishlist-item-price {
    flex-shrink: 0;
    text-align: right;
    margin: 0 20px;
}
.wishlist-item-price-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 3px;
}
.wishlist-item-price-value {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: #141C19;
    letter-spacing: -0.02em;
}
.wishlist-item-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}
.wishlist-item-view {
    display: none;
}
.wishlist-item {
    cursor: pointer;
}
.wishlist-item-delete {
    width: 32px;
    height: 32px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 7px;
    color: #888;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: all 0.15s;
}
.wishlist-item-delete:hover {
    background: #fff0f0;
    border-color: #f0c0c0;
    color: #f04343;
}

/* Mobile wrappers hidden on desktop */
.wishlist-item-top-mobile,
.wishlist-item-bottom-mobile {
    display: contents;
}
.wishlist-item-status-badge {
    display: none;
}

/* Empty state */
.fav-empty {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 80px 48px;
    text-align: center;
    color: #bbb;
}
.fav-empty h5 {
    font-size: 20px;
    color: #141C19;
    margin-bottom: 12px;
}
.fav-empty p {
    color: #666;
    margin-bottom: 24px;
}
.fav-empty i {
    font-size: 32px;
    color: #bbb;
    margin-bottom: 12px;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .favorites-page .container {
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .favorites-page .py-90 {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .wishlist-wrap {
        border-radius: 0 !important;
        margin: 0 !important;
        border: none !important;
        background: #fff !important;
        overflow: visible !important;
    }
        .favorites-page .site-breadcrumb,
        .favorites-page .breadcrumb-area {
            display: none !important;
        }
    .wishlist-page-title {
        padding: 20px 20px 16px !important;
        border-bottom: 1px solid #e5e7eb !important;
        background: #fff !important;
    }
    .wishlist-page-title h1 {
        font-size: 20px !important;
        font-weight: 700 !important;
        letter-spacing: -0.4px !important;
        margin: 0 0 12px !important;
        color: #111827 !important;
    }
    .wishlist-header {
        padding: 12px 20px !important;
        background: #fff !important;
        border-bottom: 1px solid #e5e7eb !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        margin-bottom: 0 !important;
        border-radius: 0 !important;
    }
    .wishlist-select-all {
        display: flex !important;
        align-items: center;
        gap: 10px !important;
    }
    .wishlist-select-all input[type="checkbox"] {
        width: 18px !important;
        height: 18px !important;
        border: 1.5px solid #d1d5db;
        border-radius: 5px;
        cursor: pointer;
        accent-color: #1a6b3c;
    }
    .wishlist-select-all label {
        font-size: 13px !important;
        font-weight: 500 !important;
        color: #6b7280 !important;
        margin: 0;
    }
    .wishlist-delete-selected {
        padding: 6px 12px !important;
        background: transparent !important;
        border: 1px solid #e5e7eb !important;
        border-radius: 7px !important;
        font-size: 11.5px !important;
        font-weight: 600 !important;
        color: #6b7280 !important;
        display: none;
        align-items: center;
        gap: 5px !important;
    }
    .wishlist-delete-selected.active {
        display: inline-flex !important;
    }
    .wishlist-delete-selected i {
        font-size: 12px;
    }

    /* Items list */
    .wishlist-items {
        padding: 12px 14px !important;
        display: flex;
        flex-direction: column;
        gap: 10px !important;
        background: #fff !important;
    }

    /* Redesign mobile card */
    .wishlist-item {
        background: #fff !important;
        border: 1px solid #e5e7eb !important;
        border-radius: 13px !important;
        overflow: hidden;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        transition: box-shadow 0.15s;
        align-items: stretch !important;
    }
    .wishlist-item:hover {
        background: #fff !important;
    }
    .wishlist-item.selected {
        background: #fff !important;
        box-shadow: 0 0 0 2px #1a6b3c !important;
    }
    .wishlist-item.finished {
        opacity: 1 !important;
        background: #fff !important;
    }

    /* Card top section */
    .wishlist-item-top-mobile {
        display: flex !important;
        align-items: stretch;
        padding: 14px;
        gap: 12px;
        border-bottom: 1px solid #f3f4f6;
    }

    /* Checkbox */
    .wishlist-item-checkbox {
        display: flex !important;
        align-items: flex-start;
        padding-top: 2px;
        flex-shrink: 0;
    }
    .wishlist-item-checkbox input[type="checkbox"] {
        width: 18px !important;
        height: 18px !important;
        border: 1.5px solid #d1d5db;
        border-radius: 5px;
    }

    /* Image */
    .wishlist-item-image {
        width: 68px !important;
        height: 68px !important;
        border-radius: 9px !important;
        border: 1px solid #e5e7eb !important;
        overflow: hidden;
        flex-shrink: 0;
        position: relative;
        background: #ffffff !important;
    }
    .wishlist-item-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
    }
    .wishlist-item-image-badge {
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.45);
        display: flex !important;
        align-items: center;
        justify-content: center;
        border-radius: 9px;
        opacity: 1 !important;
        font-size: 8px !important;
        font-weight: 800 !important;
        color: white !important;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        text-align: center;
        line-height: 1.3;
        padding: 0 4px;
    }
    .wishlist-item:not(.finished) .wishlist-item-image-badge {
        display: none !important;
    }
    .wishlist-item.finished .wishlist-item-image img {
        opacity: 1 !important;
    }

    /* Info section */
    .wishlist-item-info {
        flex: 1 !important;
        min-width: 0;
        display: flex !important;
        flex-direction: column;
    }
    .wishlist-item-status-badge {
        display: none !important;
    }
    .wishlist-item-status-badge.badge-finalizada {
        background: #f3f4f6 !important;
        color: #6b7280 !important;
    }
    .wishlist-item-status-badge.badge-live {
        background: #e8f5ee !important;
        color: #1a6b3c !important;
    }
    .wishlist-item-status-badge .live-dot {
        width: 5px;
        height: 5px;
        background: #1a6b3c;
        border-radius: 50%;
        animation: pulse 1.5s infinite;
    }
    @keyframes pulse {
        0%, 100% { opacity: 1; }
        50% { opacity: 0.3; }
    }
    .wishlist-item-title {
        font-size: 13.5px !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
        margin: 0 0 4px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        white-space: normal !important;
        text-overflow: ellipsis;
        color: #111827 !important;
    }
    .wishlist-item-title a {
        color: #111827 !important;
    }
    .wishlist-item-desc {
        font-size: 11.5px !important;
        color: #6b7280 !important;
        line-height: 1.4 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        white-space: normal !important;
        text-overflow: ellipsis;
        margin: 0 !important;
    }

    /* Card bottom — price + actions */
    .wishlist-item-bottom-mobile {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 11px 14px;
    }
    .wishlist-item-price {
        margin: 0 !important;
        text-align: left !important;
        flex-shrink: 0;
    }
    .wishlist-item-price-label {
        font-size: 9px !important;
        font-weight: 700 !important;
        color: #6b7280 !important;
        text-transform: uppercase;
        letter-spacing: 0.6px;
        margin-bottom: 2px;
        display: block !important;
    }
    .wishlist-item-price-value {
        font-size: 17px !important;
        font-weight: 500 !important;
        color: #111827 !important;
        letter-spacing: -0.5px;
        display: block !important;
    }
    .wishlist-item.finished .wishlist-item-price-value {
        color: #6b7280 !important;
    }

    /* Actions */
    .wishlist-item-actions {
        display: flex !important;
        align-items: center;
        gap: 6px;
        margin-left: 0 !important;
        flex-shrink: 0;
    }
    .wishlist-item-view {
        display: inline-flex !important;
        align-items: center;
        gap: 5px;
        padding: 7px 14px !important;
        background: #1a6b3c !important;
        color: white !important;
        border: none !important;
        border-radius: 8px !important;
        font-size: 12px !important;
        font-weight: 700;
        letter-spacing: 0.2px;
        text-decoration: none;
        width: auto !important;
        height: auto !important;
    }
    .wishlist-item-view i {
        font-size: 12px;
    }
    .wishlist-item.finished .wishlist-item-view {
        background: #e5e7eb !important;
        color: #6b7280 !important;
        cursor: default;
        pointer-events: none;
        display: inline-flex !important;
    }
    .wishlist-item.finished .wishlist-item-view i {
        color: #6b7280 !important;
    }
    .wishlist-item-delete {
        width: 32px !important;
        height: 32px !important;
        border: 1.5px solid #e5e7eb !important;
        border-radius: 8px !important;
        background: #fff !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        color: #6b7280 !important;
        font-size: 13px !important;
    }
    .wishlist-item-delete:hover {
        border-color: #fca5a5 !important;
        background: #fff !important;
    }
    .wishlist-item-delete:hover i {
        color: #dc2626 !important;
    }

    /* Empty state mobile */
    .fav-empty {
        padding: 48px 32px !important;
        background: #fff !important;
        border: none !important;
    }
    .fav-empty h5 {
        font-size: 15px !important;
        font-weight: 700 !important;
        color: #111827 !important;
    }
    .fav-empty p {
        font-size: 12.5px !important;
        color: #6b7280 !important;
    }
    .fav-empty i {
        font-size: 22px !important;
        color: #6b7280 !important;
    }
}
