/* === CHECKOUT === */
/* =========================================
   TITLES WITH GRADIENT
   ========================================= */
.sc-step-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 50px !important; /* FIXED SPACING */
    margin-bottom: 25px;
    background: linear-gradient(90deg, #7b4397 0%, #dc2430 100%);
    -webkit-background-clip: text;
    color: transparent; 
    display: inline-block; 
}
.sc-step-title:first-child { margin-top: 0 !important; }

/* =========================================
   RADIO BUTTONS (Customer Type)
   ========================================= */
.sc-type-selector label { cursor: pointer; font-size: 14px; color: #333; display: flex; align-items: center; gap: 8px; }

/* =========================================
   INPUT FIELDS (Shadows & No Borders)
   ========================================= */
.sc-field label { font-size: 13px; color: #666; margin-bottom: 6px; font-weight: bold; }
.sc-field input[type="text"], .sc-field input[type="email"], .sc-field input[type="tel"] { 
    width: 100% !important; padding: 15px 20px !important; border-radius: 50px !important; border: none !important; 
    background: #fff !important; box-shadow: 0 5px 20px rgba(0,0,0,0.06) !important; box-sizing: border-box !important; 
    font-size: 14px !important; color: #333 !important; transition: all 0.3s !important; 
}
.sc-field input:focus { box-shadow: 0 5px 20px rgba(123, 67, 151, 0.2) !important; outline: none !important; }

/* =========================================
   ORDER SUMMARY BOX & MULTI-PRODUCT SCROLL
   ========================================= */
.sc-sticky-summary { background: #fff; border-radius: 30px; padding: 35px; box-shadow: 0 15px 40px rgba(0,0,0,0.05); position: sticky; top: 20px; }

/* Scrollbar for Multiple Products */
.sc-order-items-list::-webkit-scrollbar { width: 6px; }
.sc-order-items-list::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 10px; }
.sc-order-items-list::-webkit-scrollbar-thumb { background: #dcdcdc; border-radius: 10px; }
.sc-order-items-list::-webkit-scrollbar-thumb:hover { background: #b565a7; }

.sc-product-img-wrapper { background: #f8f9fc; border-radius: 20px; padding: 20px; text-align: center; margin-bottom: -20px; }
.sc-product-img-wrapper img { max-width: 100%; border-radius: 10px; mix-blend-mode: multiply; }

/* =========================================
   QUANTITY BUTTONS (+ / -)
   ========================================= */
.sc-qty-selector { 
    display: flex !important; align-items: center !important; justify-content: center !important; gap: 15px !important; 
    background: #fff !important; border: 1px solid #eee !important; box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important; 
    border-radius: 50px !important; padding: 5px 15px !important; width: fit-content !important; margin: 0 auto 15px auto !important; 
    position: relative !important; z-index: 2 !important; transition: opacity 0.3s !important; 
}
.sc-qty-btn { background: transparent !important; border: none !important; font-size: 20px !important; color: #333 !important; cursor: pointer !important; padding: 0 5px !important; box-shadow: none !important; margin: 0 !important; }
.sc-qty-selector .qty-val { font-size: 16px !important; font-weight: bold !important; color: #333 !important; border: none !important; padding: 0 !important; background: transparent !important; width: 20px !important; text-align: center !important; }

/* =========================================
   PRODUCT META
   ========================================= */
.sc-product-card h4 { font-size: 18px; margin: 15px 0 5px 0; color: #333; font-weight: bold; }
.sc-mockup-meta { font-size: 13px; color: #666; }
.sc-mockup-meta p { margin: 0 0 10px 0; color: #888; }
.sc-mockup-meta p span { font-weight: normal; }
.sc-mockup-meta p strong { color: #333; }

/* Description Checkmarks */
.sc-product-description ul { list-style: none; padding: 0; margin: 0; }
.sc-product-description ul li { margin-bottom: 5px; position: relative; font-size: 12px; color: #444; }
.sc-main-container[dir="ltr"] .sc-product-description ul li { padding-left: 20px; text-align: left; }
.sc-main-container[dir="rtl"] .sc-product-description ul li { padding-right: 20px; text-align: right; }
.sc-main-container[dir="ltr"] .sc-product-description ul li::before { content: '✔'; position: absolute; left: 0; top: 0; color: #2ecc71; font-weight: bold; font-size: 14px; }
.sc-main-container[dir="rtl"] .sc-product-description ul li::before { content: '✔'; position: absolute; right: 0; top: 0; color: #2ecc71; font-weight: bold; font-size: 14px; }

/* =========================================
   KILL DEFAULT WOOCOMMERCE TABLES
   ========================================= */
.sc-totals table.shop_table { border: none !important; width: 100%; margin: 0; border-collapse: collapse; }
.sc-totals table.shop_table thead, .sc-totals table.shop_table tbody { display: none !important; }
.sc-totals table.shop_table tfoot tr { display: flex; justify-content: space-between; align-items: center; border-bottom: 0px solid #f0f0f0 !important; }
.sc-totals table.shop_table tfoot tr th, .sc-totals table.shop_table tfoot tr td { border: none !important; padding: 12px 0 !important; background: transparent !important; }
.sc-totals table.shop_table tfoot tr th { font-weight: normal; color: #888; font-size:14px; text-align: start; }
.sc-totals table.shop_table tfoot tr td { font-weight: bold; color: #333; font-size:14px; text-align: end; }
.sc-totals table.shop_table tfoot tr.order-total { border-bottom: none !important; border-top: 2px solid #eee !important; margin-top: 10px; padding-top: 5px !important; }
.sc-totals table.shop_table tfoot tr.order-total th, .sc-totals table.shop_table tfoot tr.order-total td { font-size: 1.4rem; color: #000; font-weight: 800; }

/* =========================================
   PAYMENT & BUTTON STYLES
   ========================================= */
.woocommerce-privacy-policy-text, .woocommerce-terms-and-conditions-wrapper { display: none !important; }
#sc-button-wrapper .place-order { width: 100%; padding: 0 !important; margin: 0 !important; background: transparent !important; }
#sc-button-wrapper #place_order { 
    width: 100% !important; border-radius: 50px !important; background: linear-gradient(90deg, #7b4397 0%, #dc2430 100%) !important; 
    color: #fff !important; border: none !important; padding: 18px !important; font-size: 1.2rem !important; cursor: pointer !important; 
    font-weight: bold !important; margin-top: 25px !important; box-shadow: 0 8px 20px rgba(220, 36, 48, 0.25) !important; transition: transform 0.2s !important; text-align: center;
}
#sc-button-wrapper #place_order:hover { transform: scale(1.02) !important; }
.sc-payments ul.payment_methods li label { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.sc-payment-icons { display: flex; align-items: center; }

/* =========================================
   ERROR BOX STYLING
   ========================================= */
.woocommerce-error { background: #fff !important; color: #dc2430 !important; border-radius: 8px !important; box-shadow: 0 5px 20px rgba(0,0,0,0.05) !important; margin-bottom: 25px !important; list-style: none !important; padding: 15px 20px !important; border: 1px solid #f8d7da !important; }
.sc-main-container[dir="ltr"] .woocommerce-error { border-left: 5px solid #dc2430 !important; }
.sc-main-container[dir="rtl"] .woocommerce-error { border-right: 5px solid #dc2430 !important; }


/* =========================================
   RADIO BUTTONS (Customer Type) - RESTORED
   ========================================= */

/* 1. סידור בשורה אחת עם רווח למטה */
.sc-type-selector {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    align-items: center;
    margin-bottom: 30px !important;
}

/* 2. עיצוב הקפסולה (Pill) של הכפתור */
.sc-type-selector label {
    display: inline-flex !important;
    align-items: center;
    width: max-content !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    cursor: pointer;
    padding: 12px 25px;
    border: 2px solid #eee;
    border-radius: 50px;
    background: #fff;
    color: #555;
    font-weight: bold;
    font-size: 14px;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

/* 3. מסגרת גרדיאנט למצב פעיל */
.sc-type-selector label.active-radio { 
    background: linear-gradient(#fcf7fa, #fcf7fa) padding-box, 
                linear-gradient(90deg, #7b4397, #dc2430) border-box !important;
    border-color: transparent !important; 
    color: #7b4397 !important; 
}

/* 4. עיצוב כפתור הרדיו המקורי (הטבעת) בגרדיאנט יציב */
.sc-type-selector label input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    margin: 0 !important; 
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    position: relative;
    flex-shrink: 0;
    
    border: 2px solid transparent !important; 
    background-origin: border-box !important;
    background-clip: content-box, border-box !important;
    background-image: linear-gradient(#fff, #fff), linear-gradient(90deg, #7b4397, #dc2430) !important;
    box-shadow: 0 0 0 1px #eee !important; 
    transition: all 0.2s ease !important;
}

/* 5. הנקודה הפנימית בגרדיאנט בעת בחירה */
.sc-type-selector label input[type="radio"]:checked {
    box-shadow: none !important;
}

.sc-type-selector label input[type="radio"]:checked::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(90deg, #7b4397, #dc2430) !important;
}


/* =========================================
   PREMIUM SHIPPING METHODS (FIXED GRADIENT)
   ========================================= */

/* קונטיינר המשלוחים */
ul#shipping_method { 
    list-style: none !important; 
    padding: 0 !important; 
    margin: 15px 0 !important; 
    text-align: start; 
}

/* עיצוב כרטיס המשלוח (האבא) */
ul#shipping_method li { 
    background: #fdfdfd !important; 
    border: 1px solid #eee !important; 
    border-radius: 10px !important; 
    padding: 15px !important; 
    margin-bottom: 10px !important; 
    display: flex !important; 
    align-items: center !important; 
    transition: all 0.3s ease !important; 
}

ul#shipping_method li:hover { 
    border-color: #b565a7 !important; 
    box-shadow: 0 4px 12px rgba(181,101,167,0.1) !important; 
}

/* כשהכרטיס נבחר - מסגרת גרדיאנט ורקע חלש (כאן בוצע התיקון) */
ul#shipping_method li:has(input[type="radio"]:checked) {
    background: linear-gradient(#fcf7fa, #fcf7fa) padding-box, 
                linear-gradient(90deg, #7b4397, #dc2430) border-box !important;
    border-color: transparent !important;
}

/* -----------------------------------------
   כפתור הרדיו עצמו (הטבעת + הנקודה)
----------------------------------------- */
ul#shipping_method li input[type="radio"] { 
    -webkit-appearance: none;
    appearance: none;
    margin-right: 15px !important; 
    width: 20px !important; 
    height: 20px !important; 
    border-radius: 50% !important;
    cursor: pointer !important;
    flex-shrink: 0;
    position: relative;
    
    /* טבעת הגרדיאנט - שימוש ישיר בצבעים למניעת היעלמות */
    border: 2px solid transparent !important; 
    background-origin: border-box !important;
    background-clip: content-box, border-box !important;
    background-image: linear-gradient(#fdfdfd, #fdfdfd), linear-gradient(90deg, #7b4397, #dc2430) !important;
    box-shadow: 0 0 0 1px #eee !important; 
    transition: all 0.2s ease !important;
}

/* תמיכה ב-RTL (עברית) לכפתור הרדיו */
.sc-main-container[dir="rtl"] ul#shipping_method li input[type="radio"],
.sc-cart-container[dir="rtl"] ul#shipping_method li input[type="radio"] { 
    margin-right: 0 !important; 
    margin-left: 15px !important; 
}

/* הסרת הצללית בעת בחירה */
ul#shipping_method li input[type="radio"]:checked {
    box-shadow: none !important;
}

/* יצירת הנקודה הפנימית בגרדיאנט בעת בחירה */
ul#shipping_method li input[type="radio"]:checked::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    /* הנקודה הפנימית בגרדיאנט */
    background: linear-gradient(90deg, #7b4397, #dc2430) !important;
}

/* טקסט המשלוח */
ul#shipping_method li label { 
    margin: 0 !important; 
    font-weight: bold !important; 
    color: #333 !important; 
    cursor: pointer !important; 
    width: 100% !important; 
    display: flex !important; 
    justify-content: space-between !important; 
}

/* =========================================
   ULTIMATE SHIPPING FIX (CART & CHECKOUT)
   ========================================= */
/* שחרור שורת המשלוח ממגבלות ה-Flex כדי שתוכל להתרחב */
.sc-totals table.shop_table tfoot tr.woocommerce-shipping-totals {
    display: block !important;
    width: 100% !important;
    margin: 20px 0 !important;
    border: none !important;
    padding: 0 !important;
}

/* וידוא הריגה ל"Shipment 1" דרך CSS ליתר ביטחון */
.sc-totals table.shop_table tfoot tr.woocommerce-shipping-totals th {
    display: none !important; 
}

/* פריסת התיבה של המשלוחים על כל הרוחב */
.sc-totals table.shop_table tfoot tr.woocommerce-shipping-totals td {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
}

/* =========================================
   BEAUTIFUL APPLIED COUPON DESIGN
   ========================================= */
/* עיצוב שורת הקופון שכבר הופעל */
.sc-totals table.shop_table tfoot tr.cart-discount {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: #fcf7fa !important; /* רקע סגלגל חלש */
    border: 1px dashed #b565a7 !important; /* מסגרת מקווקות סגולה */
    border-radius: 10px !important;
    padding: 12px 15px !important;
    margin: 15px 0 !important;
}

/* המילה "Coupon: test" */
.sc-totals table.shop_table tfoot tr.cart-discount th {
    color: #333 !important;
    font-weight: bold !important;
    font-size: 14px !important;
    text-transform: capitalize !important;
}

/* סכום ההנחה הירוק */
.sc-totals table.shop_table tfoot tr.cart-discount td {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-size: 15px !important;
    color: #2ecc71 !important; /* ירוק יפה */
    font-weight: 800 !important;
}

/* עיצוב כפתור ה-"Remove" של הקופון */
.sc-totals table.shop_table tfoot tr.cart-discount td a.woocommerce-remove-coupon {
    color: #dc2430 !important;
    font-size: 12px !important;
    text-decoration: none !important;
    background: #fff !important;
    padding: 3px 10px !important;
    border-radius: 50px !important;
    border: 1px solid #f8d7da !important;
    transition: all 0.2s ease !important;
    font-weight: bold !important;
    display: inline-block !important;
}

/* אפקט ריחוף לכפתור המחיקה */
.sc-totals table.shop_table tfoot tr.cart-discount td a.woocommerce-remove-coupon:hover {
    background: #dc2430 !important;
    color: #fff !important;
    border-color: #dc2430 !important;
}

/* === ACCORDION === */
/* =========================================
   ACCORDION STYLES 
   ========================================= */
.layout-accordion .sc-step-section { 
    border: 1px solid #eee; 
    border-radius: 20px; 
    margin-bottom: 20px; 
    background: #fff; 
    transition: all 0.3s ease; 
    overflow: hidden; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.02); 
}
.layout-accordion .sc-step-section.active { 
    box-shadow: 0 10px 30px rgba(0,0,0,0.06); 
    border-color: #b565a7; 
}
.layout-accordion .sc-step-header { 
    display: flex; justify-content: space-between; align-items: center; padding: 20px 25px; cursor: pointer; background: #fdfdfd; 
}
.layout-accordion .sc-step-header .sc-step-title { 
    margin: 0; font-size: 1.3rem; background: linear-gradient(90deg, #7b4397 0%, #dc2430 100%); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; font-weight: 700; 
}
.layout-accordion .sc-step-header::after { 
    content: '▼'; font-size: 14px; color: #b565a7; transition: transform 0.3s; 
}
.layout-accordion .sc-step-section.active .sc-step-header::after { 
    transform: rotate(180deg); 
}
.layout-accordion .sc-step-content { 
    padding: 0 25px 25px 25px; border-top: 1px solid #eee; 
}

/* === MULTISTEP === */
/* =========================================
   MULTI-STEP WIZARD STYLES 
   ========================================= */
.layout-multistep .sc-step-section { 
    background: #fff; border-radius: 30px; padding: 35px; box-shadow: 0 15px 40px rgba(0,0,0,0.05); margin-bottom: 20px; 
}
.layout-multistep .sc-step-title { 
    font-size: 1.3rem; font-weight: 700; margin-top: 0; margin-bottom: 25px; background: linear-gradient(90deg, #7b4397 0%, #dc2430 100%); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; 
}
.sc-step-actions { 
    display: flex; justify-content: space-between; margin-top: 30px; padding-top: 20px; border-top: 1px solid #eee; width: 100%; gap:15px; 
}
.sc-next-btn, .sc-prev-btn { 
    padding: 15px 35px; border-radius: 50px; font-weight: bold; cursor: pointer; transition: all 0.3s; border: none; font-size: 1.1rem; text-align:center; 
}
.sc-next-btn { 
    background: linear-gradient(90deg, #7b4397 0%, #dc2430 100%); color: #fff; box-shadow: 0 8px 20px rgba(220, 36, 48, 0.25); margin-left: auto; 
}
.sc-next-btn:hover { 
    transform: scale(1.02); 
}
.sc-prev-btn { 
    background: #f0f2f5; color: #666; 
}
.sc-prev-btn:hover { 
    background: #e2e4e7; color: #333; 
}
.sc-main-container[dir="rtl"] .sc-next-btn { margin-left: 0; margin-right: auto; }

/* === THANK YOU === */
/* =========================================
   THANK YOU PAGE STYLES
   ========================================= */
.sc-ty-container { max-width: 600px; margin: 50px auto; font-family: 'Assistant', sans-serif; }
.sc-ty-card { background: #fff; border-radius: 20px; padding: 40px; box-shadow: 0 20px 50px rgba(0,0,0,0.08); text-align: center; }

/* Green Checkmark Icon */
.sc-ty-icon { width: 80px; height: 80px; background: #2ecc71; color: #fff; font-size: 40px; line-height: 80px; text-align:center; border-radius: 50%; margin: 0 auto 20px auto; box-shadow: 0 10px 20px rgba(46, 204, 113, 0.3); }

.sc-ty-title { font-size: 24px; color: #333; margin-top: 0; margin-bottom: 10px; text-align:center; }
.sc-ty-subtitle { color: #666; font-size: 16px; margin-bottom: 30px; text-align:center; }

/* Details Box */
.sc-ty-details { background: #f9f9f9; padding: 20px; border-radius: 12px; margin-bottom: 20px; }
.sc-ty-row { display: flex; justify-content: space-between; border-bottom: 1px solid #eee; padding: 10px 0; font-size: 14px; color: #555; }
.sc-ty-row:last-child { border-bottom: none; }
.sc-ty-row strong { color: #222; }

/* RTL Alignment */
.sc-ty-container[dir='rtl'] .sc-ty-details { text-align: right; }
.sc-ty-container[dir='ltr'] .sc-ty-details { text-align: left; }

/* === CART === */
/* =========================================
   CART PAGE STYLES (ULTIMATE SIDE-BY-SIDE)
   ========================================= */

/* 1. Force Side-by-Side Layout on Desktop */
.sc-cart-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important; /* This completely FORBIDS stacking */
    gap: 5% !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    width: 100% !important;
}

/* RTL Flip for Hebrew */
.sc-cart-container[dir="rtl"] {
    flex-direction: row-reverse !important;
}

.sc-cart-container .sc-left-col {
    width: 65% !important;
    flex: 0 0 65% !important;
}

.sc-cart-container .sc-right-col {
    width: 30% !important;
    flex: 0 0 30% !important;
}

/* Mobile Responsiveness (Stacks only on small screens) */
@media (max-width: 800px) {
    .sc-cart-container, .sc-cart-container[dir="rtl"] {
        flex-direction: column !important;
        flex-wrap: wrap !important;
    }
    .sc-cart-container .sc-left-col,
    .sc-cart-container .sc-right-col {
        width: 100% !important;
        flex: 1 1 100% !important;
    }
}

/* 2. Fix Product Row Layout */
.sc-cart-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-bottom: 1px solid #eee !important;
    padding-bottom: 25px !important;
    margin-bottom: 25px !important;
    transition: opacity 0.3s;
}

.sc-cart-info {
    flex: 1 !important;
    padding: 0 20px !important;
}

.sc-cart-img-wrapper {
    width: 100px !important;
    min-width: 100px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    display: block !important;
}

.sc-cart-img-wrapper img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* Remove Item Link */
.sc-remove-item {
    color: #dc2430 !important;
    font-size: 13px !important;
    font-weight: bold !important;
    margin-top: 5px !important;
    display: inline-block !important;
    text-decoration: none !important;
    transition: color 0.3s !important;
}
.sc-remove-item:hover { color: #333 !important; text-decoration: underline !important; }

/* 3. The Coupon Box Perfection */
.sc-coupon-wrapper {
    display: flex !important;
    gap: 15px !important;
    margin-top: 40px !important;
    align-items: stretch !important;
    max-width: 500px !important;
}

.sc-coupon-wrapper input {
    flex: 1 !important;
    border: 2px solid #eee !important;
    border-radius: 50px !important;
    padding: 0 25px !important;
    font-size: 15px !important;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.02) !important;
    background: #fff !important;
    color: #333 !important;
    height: 55px !important; 
    outline: none !important;
    box-sizing: border-box !important;
}

.sc-coupon-wrapper input:focus {
    border-color: #b565a7 !important;
    box-shadow: 0 5px 15px rgba(123, 67, 151, 0.1) !important;
}

.sc-coupon-wrapper button {
    height: 55px !important; 
    margin: 0 !important;
    padding: 0 35px !important;
    border-radius: 50px !important;
    background: linear-gradient(90deg, #7b4397 0%, #dc2430 100%) !important;
    color: #fff !important;
    border: none !important;
    font-size: 15px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    box-shadow: 0 5px 15px rgba(220, 36, 48, 0.2) !important;
    transition: transform 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.sc-coupon-wrapper button:hover {
    transform: scale(1.03) !important;
}

/* Coupon Message */
#sc_coupon_msg {
    font-size: 14px !important;
    font-weight: bold !important;
    margin-top: 10px !important;
    padding-left: 20px !important;
}
.sc-cart-container[dir="rtl"] #sc_coupon_msg {
    padding-left: 0 !important;
    padding-right: 20px !important;
}

/* =========================================
   SHIPPING METHODS (PREMIUM CARDS)
   ========================================= */
ul#shipping_method { 
    list-style: none !important; 
    padding: 0 !important; 
    margin: 15px 0 !important; 
}

ul#shipping_method li { 
    background: #fdfdfd !important; 
    border: 1px solid #eee !important; 
    border-radius: 10px !important; 
    padding: 15px !important; 
    margin-bottom: 10px !important; 
    display: flex !important; 
    align-items: center !important; 
    transition: all 0.3s ease !important; 
}

ul#shipping_method li:hover { 
    border-color: #b565a7 !important; 
    box-shadow: 0 4px 12px rgba(181,101,167,0.1) !important; 
}

ul#shipping_method li input[type="radio"] { 
    margin-right: 15px !important; 
    accent-color: #b565a7 !important; 
    width: 18px !important; 
    height: 18px !important; 
    cursor: pointer !important;
}

.sc-main-container[dir="rtl"] ul#shipping_method li input[type="radio"] { 
    margin-right: 0 !important; 
    margin-left: 15px !important; 
}

ul#shipping_method li label { 
    margin: 0 !important; 
    font-weight: bold !important; 
    color: #333 !important; 
    cursor: pointer !important; 
    width: 100% !important; 
    display: flex !important; 
    justify-content: space-between !important; 
}

/* =========================================
   ULTIMATE SHIPPING FIX (CART & CHECKOUT)
   ========================================= */
/* שחרור שורת המשלוח ממגבלות ה-Flex כדי שתוכל להתרחב */
.sc-totals table.shop_table tfoot tr.woocommerce-shipping-totals {
    display: block !important;
    width: 100% !important;
    margin: 20px 0 !important;
    border: none !important;
    padding: 0 !important;
}

/* וידוא הריגה ל"Shipment 1" דרך CSS ליתר ביטחון */
.sc-totals table.shop_table tfoot tr.woocommerce-shipping-totals th {
    display: none !important; 
}

/* פריסת התיבה של המשלוחים על כל הרוחב */
.sc-totals table.shop_table tfoot tr.woocommerce-shipping-totals td {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
}

/* =========================================
   BEAUTIFUL APPLIED COUPON DESIGN
   ========================================= */
/* עיצוב שורת הקופון שכבר הופעל */
.sc-totals table.shop_table tfoot tr.cart-discount {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: #fcf7fa !important; /* רקע סגלגל חלש */
    border: 1px dashed #b565a7 !important; /* מסגרת מקווקות סגולה */
    border-radius: 10px !important;
    padding: 12px 15px !important;
    margin: 15px 0 !important;
}

/* המילה "Coupon: test" */
.sc-totals table.shop_table tfoot tr.cart-discount th {
    color: #333 !important;
    font-weight: bold !important;
    font-size: 14px !important;
    text-transform: capitalize !important;
}

/* סכום ההנחה הירוק */
.sc-totals table.shop_table tfoot tr.cart-discount td {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-size: 15px !important;
    color: #2ecc71 !important; /* ירוק יפה */
    font-weight: 800 !important;
}

/* עיצוב כפתור ה-"Remove" של הקופון */
.sc-totals table.shop_table tfoot tr.cart-discount td a.woocommerce-remove-coupon {
    color: #dc2430 !important;
    font-size: 12px !important;
    text-decoration: none !important;
    background: #fff !important;
    padding: 3px 10px !important;
    border-radius: 50px !important;
    border: 1px solid #f8d7da !important;
    transition: all 0.2s ease !important;
    font-weight: bold !important;
    display: inline-block !important;
}

/* אפקט ריחוף לכפתור המחיקה */
.sc-totals table.shop_table tfoot tr.cart-discount td a.woocommerce-remove-coupon:hover {
    background: #dc2430 !important;
    color: #fff !important;
    border-color: #dc2430 !important;
}

/* === TOAST === */
/* =========================================
   TOAST NOTIFICATION (ADDED TO CART)
   ========================================= */
#sc-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}
.sc-toast {
    background: #fff;
    color: #333;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 5px solid #2ecc71;
    font-family: inherit;
}
body[dir="rtl"] #sc-toast-container {
    right: auto;
    left: 20px;
}
body[dir="rtl"] .sc-toast {
    transform: translateX(-120%);
    border-left: none;
    border-right: 5px solid #2ecc71;
}
.sc-toast.show {
    transform: translateX(0) !important;
    opacity: 1;
}
.sc-toast-icon {
    background: #eafaf1;
    color: #2ecc71;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    font-size: 12px;
}
.sc-toast-content {
    font-size: 14px;
    line-height: 1.4;
}
.sc-toast-content strong {
    color: #000;
    display: block;
}