/* 1. איקונים חברתיים */
.MMSocial img, .sharing-box img {
    width: 25px !important;
    height: 25px !important;
}

/* 2. כפתורי הצטרפות */
.join-telegram-btn { background: #0088cc !important; }
.join-whatsapp-btn { background: #25d366 !important; }
.join-news-btn { background: #ff914d !important; }

.join-telegram-btn,
.join-whatsapp-btn,
.join-news-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 15px !important;
    border-radius: 5px !important;
    color: white !important;
    font-weight: bold !important;
    gap: 8px !important;
}

/* 3. מובייל - מוצר אחד בשורה */
@media (max-width: 600px) {
    .woocommerce ul.products li.product {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
}

/* 4. כפתור רכישה צף */
a#floatingBTN {
    display: block !important;
    position: fixed !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 55px !important;
    background: #0b4871 !important;
    color: white !important;
    z-index: 9999 !important;
    text-align: center !important;
    line-height: 55px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    transition: background 0.2s ease !important;
}

a#floatingBTN:hover {
    background: #0d5a8a !important;
}

/* 5. סידור מותגים ולוגואים */
.brand-square {
    border: 1px solid #e1e1e1 !important;
    border-radius: 10px !important;
    padding: 10px !important;
    background: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 150px !important;
    transition: box-shadow 0.2s ease !important;
}

.brand-square:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.08) !important;
}

.brand-square img {
    max-height: 100px !important;
    width: auto !important;
    min-width: 60% !important;
    object-fit: contain !important;
}

/* 6. כפתורי קופון */
.ctc_button,
.cpro-coupon,
[data-clipboard-text],
button#Copy1,
[id^="Copy"] {
    background-color: #e8f8f0 !important;
    background: #e8f8f0 !important;
    color: #1a5c1a !important;
    border: 2px dashed #52c48a !important;
    padding: 10px 20px !important;
    font-weight: bold !important;
    border-radius: 8px !important;
    cursor: pointer !important;
}

#couponMain,
.couponMain,
.couponDiv,
#couponDiv {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

/* 7. כפתור הוספה לסל */
.single_add_to_cart_button,
.button.add_to_cart_button {
    background: #0b4871 !important;
    color: #ffffff !important;
    width: 100% !important;
    border-radius: 5px !important;
    transition: background 0.2s ease !important;
}

.single_add_to_cart_button:hover,
.button.add_to_cart_button:hover {
    background: #0d5a8a !important;
}

/* 8. הסתרת תגיות בדף מוצר */
.product_meta .tagged_as {
    display: none !important;
}

/* 9. פופאפ קופון */
#coupon-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

#coupon-popup-overlay.active {
    display: flex;
}

#coupon-popup {
    background: #fff;
    border-radius: 14px;
    padding: 32px 28px;
    max-width: 360px;
    width: 90%;
    text-align: center;
    position: relative;
    direction: rtl;
}

#coupon-popup .popup-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

#coupon-popup h2 {
    font-size: 20px;
    font-weight: bold;
    color: #0b4871;
    margin-bottom: 6px;
}

#coupon-popup p {
    font-size: 14px;
    color: #555;
    margin-bottom: 18px;
}

#coupon-popup .coupon-code-box {
    background: #e8f8f0;
    border: 2px dashed #52c48a;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #1a5c1a;
    margin-bottom: 18px;
    cursor: pointer;
    user-select: all;
}

#coupon-popup .btn-copy {
    display: block;
    width: 100%;
    padding: 12px;
    background: #228B22;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 10px;
    transition: background 0.2s;
}

#coupon-popup .btn-copy:hover {
    background: #1a6b1a;
}

#coupon-popup .btn-continue {
    display: block;
    width: 100%;
    padding: 11px;
    background: #0b4871;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}

#coupon-popup .btn-continue:hover {
    background: #0d5a8a;
}

#coupon-popup .btn-close {
    position: absolute;
    top: 12px;
    left: 14px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #999;
    line-height: 1;
}

#coupon-popup .copied-msg {
    display: none;
    color: #228B22;
    font-size: 13px;
    margin-top: 6px;
    font-weight: bold;
}