/**
 * Elementor YITH Wishlist Widget Styles
 */

.eyww-wishlist-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.eyww-wishlist-item {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 20px;
    margin-bottom: 20px;
    position: relative;
}

.eyww-wishlist-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Image */
.eyww-product-image {
    flex: 0 0 120px;
    margin-right: 30px;
}

.eyww-product-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    /* Square images often look premium */
}

/* Details */
.eyww-product-details {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

/* Title & Price Section */
.eyww-product-info {
    flex: 1 1 300px;
    /* Allow it to grow but have a base width */
}

.eyww-product-title {
    margin: 0 0 10px;
    font-family: "Poppins", sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.eyww-product-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.eyww-product-title a:hover {
    color: #9da07b;
}

.eyww-product-price {
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    color: #555;
    font-weight: 500;
}

.eyww-product-price del {
    color: #999;
    margin-right: 5px;
    font-size: 0.9em;
}

.eyww-product-price ins {
    text-decoration: none;
    color: #1a1a1a;
}

/* Actions Section */
.eyww-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Add to Cart Button */
.eyww-add-to-cart .button,
.eyww-add-to-cart .added_to_cart {
    display: inline-block;
    padding: 12px 24px;
    background-color: #1a1a1a;
    color: #fff;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    border: 1px solid #1a1a1a;
    text-decoration: none;
    transition: all 0.3s ease;
    line-height: 1;
    cursor: pointer;
}

.eyww-add-to-cart .button:hover {
    background-color: #9da07b;
    border-color: #9da07b;
    color: #fff;
}

.eyww-add-to-cart .added_to_cart {
    background-color: transparent;
    color: #1a1a1a;
    border: 1px solid #1a1a1a;
    margin-left: 10px;
}

/* Remove Button */
.eyww-remove-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #999;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.eyww-remove-button:hover {
    color: #d9534f;
    /* Red for remove */
}

.eyww-remove-button i {
    margin-right: 5px;
}

/* Share Section */
.eyww-share-section {
    margin-top: 40px;
    border-top: 1px solid #e5e5e5;
    padding-top: 20px;
    text-align: center;
}

.eyww-share-section h4 {
    font-family: "Poppins", sans-serif;
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.eyww-share-link-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.eyww-share-input {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #e5e5e5;
    background-color: #f9f9f9;
    color: #555;
    font-family: "Poppins", sans-serif;
    font-size: 0.9rem;
}

.eyww-copy-btn {
    padding: 10px 20px;
    background-color: #1a1a1a;
    color: #fff;
    border: 1px solid #1a1a1a;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Poppins", sans-serif;
}

.eyww-copy-btn:hover {
    background-color: #9da07b;
    border-color: #9da07b;
}

/* Responsive */
@media (max-width: 768px) {
    .eyww-wishlist-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .eyww-product-image {
        margin-right: 0;
        margin-bottom: 20px;
        width: 100%;
        max-width: 200px;
    }

    .eyww-product-details {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .eyww-actions {
        width: 100%;
        justify-content: space-between;
    }

    .eyww-share-link-container {
        flex-direction: column;
        width: 100%;
    }

    .eyww-share-input {
        width: 100%;
    }

    .eyww-copy-btn {
        width: 100%;
    }
}