/* 🎨 OC Packs UI 2 Styles - עיצוב חדש עם כפתורי טעמים */



#oc-packs-2-wrapper {

    width: 100%;

    margin-bottom: 30px;

    background: #F5F5F5;

    border-radius: 15px;

    padding:20px;

}



/* כותרות סקציות */

.packs-2-section-title,

.flavors-2-section-title {

    font-size: 18px;

    font-weight: 600;

    color: #2B2B2B;

    margin-bottom: 16px;

    margin-top: 24px;

}



.packs-2-section-title {

    margin-top: 0;

}



/* כרטיסי מארזים */

.packs-2-options {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 16px;

    margin-bottom: 20px;

}



.pack-2-option {

    border: 2px solid #EBEBEB;

    border-radius: 15px;

    background: #FFFFFF;

    padding: 10px;

    position: relative;

    cursor: pointer;

    transition: all 0.3s ease;

    text-align: center;

    display: flex;

    flex-direction: column;

    align-items: center;

}



.pack-2-option:hover {

    border-color: #285C46;

    box-shadow: 0 4px 12px rgba(40, 92, 70, 0.1);

}



.pack-2-option.active {

    border-color: #FF6C3E;

    box-shadow: 0 0 0 2px rgba(255, 108, 62, 0.2);

    background: #FFF8F6;

}



.pack-2-badge {

    position: absolute;

    top: -10px;

    right: 20px;

    padding: 4px 12px;

    border-radius: 12px;

    font-size: 12px;

    font-weight: 500;

    z-index: 1;

}



.pack-2-badge-best-value {

    background: #FF6C3E;

    color: #FFFFFF;

}



.pack-2-badge-best-seller {

    background: #E7C5DE;

    color: #FF6C3E;

}



.pack-2-image {

    width: 100%;

    max-width: 150px;

    height: 105px!important;

    margin-bottom: 0;

    border-radius: 0;

    object-fit: cover;

}

.pack-2-price-regular{
    text-decoration: line-through;
    margin-right: 3px;
    color: #959595;
}


.pack-2-label {

    font-size: 16px;

    font-weight: 600;

    color: #2B2B2B;

    margin-bottom: 3px;

    order: 2;

}



.pack-2-price-wrapper {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 4px;

    order: 3;

}



.pack-2-price {

    font-size: 16px;

    font-weight: 700;

    color: #285C46;

}



.pack-2-saving {

    font-size: 12px;

    color: #82B139;

    font-weight: 500;
    display: none;

}

.pack-2-image-wrapper{
    position: relative;
}

.pack-2-image-wrapper .pack-2-discount-badge{
position: absolute;
    background: url(../images/sale.png) 0 0 no-repeat;
    width: 38px;
    height: 38px;
    bottom: 13px;
    left: 10px;
    color: #CEE0B3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: rotate(15deg);
    line-height: 10px;
}

.pack-2-image-wrapper .pack-2-discount-badge .pack-2-discount-amount{
    font-size: 12px;
}

.pack-2-image-wrapper .pack-2-discount-badge .pack-2-discount-label{
    font-size: 9px;
}



/* כפתורי טעמים */

.flavors-2-wrapper {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 16px;

}



.flavor-2-button {

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 5px 3px;

    border: 2px solid #EBEBEB;

    border-radius: 50px;

    background: #FFFFFF;

    cursor: pointer;

    transition: all 0.3s ease;

    min-width: 145px;

    position: relative;

}



.flavor-2-button:hover {

    border-color: #285C46;

    box-shadow: 0 2px 8px rgba(40, 92, 70, 0.15);

}



.flavor-2-button.selected {

    border-color: #FF6C3E;

    background: #FFF8F6;

    box-shadow: 0 0 0 2px rgba(255, 108, 62, 0.2);

}



.flavor-2-button.disabled {

    opacity: 0.5;

    cursor: not-allowed;

    pointer-events: none;

}



.flavor-2-image {

    width: 40px;

    height: 40px;

    border-radius: 50%;

    object-fit: cover;

    flex-shrink: 0;

    background: #F5F5F5;

}



.flavor-2-name {

    font-size: 14px;

    font-weight: 500;

    color: #2B2B2B;

    flex: 1;

    text-align: right;

}



.flavor-2-badge {

    position: absolute;

    top: -8px;

    right: 10px;

    padding: 2px 8px;

    border-radius: 10px;

    font-size: 10px;

    font-weight: 500;

    background: #E7C5DE;

    color: #FF6C3E;

    z-index: 1;

}



/* הסתרת dropdown המקורי */

tr.pa_packs-2 {

    display: none !important;

}



body.woocommerce.rtl #content div.product table.variations tr.pa_packs-2 {

    display: none !important;

}



/* כפתור הוספה לסל */

.single_add_to_cart_button.disabled,

.single_add_to_cart_button:disabled {

    opacity: 0.5;

    cursor: not-allowed;

    background-color: #ccc !important;

    color: #666 !important;

}



.single_add_to_cart_button.disabled:hover,

.single_add_to_cart_button:disabled:hover {

    background-color: #ccc !important;

    color: #666 !important;

}



/* Responsive */

@media only screen and (max-width: 768px) {

    .packs-2-options {

        grid-template-columns: 1fr;

    }

    

    .flavors-2-wrapper {

        flex-direction: column;

    }

    

    .flavor-2-button {

        width: 100%;

        justify-content: flex-start;

    }

}


@media only screen and (max-width: 768px) {

    .packs-2-options {
        display: flex;
    }
}

.flavor-2-minus,.flavor-2-plus{
    padding:5px 10px;
}
.woocommerce div.product form.cart .button {
    width:65%!important;
}
@media only screen and (max-width: 1000px) {
    body.rtl.single-product .site-main div.product.type-product .summary {
        margin-top:0px !important;
    }
    }