button.cw-wishlist-btn {
    z-index: 9;
    position: absolute;
    width: 26px;
    bottom: 17%;
    cursor: pointer;
}

.cw-wishlist-wrapper button.cw-wishlist-btn {
    position: relative;
    width: 40px;
}

.cw-wishlist-wrapper,.cw-share-wrapper {
    position: absolute;
    left: 0;
    top: 0px;
}
.cw-share-wrapper {
    left: 40px;
}
.summary.entry-summary {
    position: relative;
}
button.cw-wishlist-btn.add-to-wishlist {
    background-color: transparent;
}

a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart.added:after {
    content: unset !important;
}






#cw-share-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.cw-share-modal-content {
    background: #fff;
    padding: 25px 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 350px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 25px rgba(0,0,0,0.25);
    animation: fadeInScale .3s ease;
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

#cw-share-close {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 22px;
    color: #333;
    font-weight: bold;
}

.cw-share-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.cw-share-links a,
.cw-share-links button {
    text-decoration: none;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    color: #fff;
    font-weight: 600;
    transition: 0.2s;
    cursor: pointer;
}

.cw-share-links a:nth-child(1) { background: #25D366; } /* واتساپ */
.cw-share-links a:nth-child(2) { background: #0088cc; } /* تلگرام */
.cw-share-links a:nth-child(3) { background: #3b5998; } /* فیسبوک */
.cw-share-links a:nth-child(4) { background: #1da1f2; } /* توییتر */
.cw-share-links button { background: #666; } /* کپی لینک */

.cw-share-links a:hover,
.cw-share-links button:hover {
    opacity: 0.9;
}
