/* ════════════════════════════════════════════════
   Roso — עמוד תשלום רב-שלבי
   צבעי מותג: --rosoco-brand (#001C47) | --rosoco-ink (#444444)
════════════════════════════════════════════════ */
.rosoco-wrap{
    --rosoco-brand:#001C47;
    --rosoco-brand-dark:#001536;
    --rosoco-ink:#444444;
    --rosoco-muted:#8a8a8a;
    --rosoco-soft:#E0E3E8;
    --rosoco-border:#e6e1e1;
    --rosoco-page:#f6f4f4;
    --rosoco-radius:16px;
    direction:rtl;text-align:right;color:var(--rosoco-ink);
    width:100%;max-width:1040px;margin-inline:auto;overflow-x:hidden;
}
.rosoco-wrap *{box-sizing:border-box;}

/* ── Header ── */
.rosoco-head{text-align:center;margin-bottom:16px;}
.rosoco-title{font-size:1.7rem;font-weight:800;color:var(--rosoco-ink);margin:0;letter-spacing:-.01em;}
.rosoco-sub{margin:6px 0 0;color:var(--rosoco-muted);font-size:.95rem;}

/* ── Cards ── */
.rosoco-panel,.rosoco-summary,.rosoco-progress{
    background:#fff;border:1px solid var(--rosoco-border);
    border-radius:var(--rosoco-radius);box-shadow:0 1px 3px rgba(0,0,0,.04);
}

/* ── Progress bar ── */
.rosoco-progress{position:relative;padding:18px 28px 14px;margin-bottom:16px;}
.rosoco-track,.rosoco-fill{position:absolute;top:39px;height:4px;border-radius:99px;}
.rosoco-track{right:16.6%;left:16.6%;background:var(--rosoco-border);}
.rosoco-fill{right:16.6%;width:0;background:var(--rosoco-brand);transition:width .5s ease;}
.rosoco-progress{display:flex;justify-content:space-between;}
.rosoco-step{position:relative;z-index:1;flex:1;display:flex;flex-direction:column;align-items:center;gap:8px;}
.rosoco-step[data-step]{cursor:default;}
.rosoco-step.is-done{cursor:pointer;}
.rosoco-bullet{
    position:relative;width:42px;height:42px;border-radius:50%;
    border:2px solid var(--rosoco-border);background:#fff;color:var(--rosoco-muted);
    display:flex;align-items:center;justify-content:center;transition:all .3s ease;
}
.rosoco-bullet svg{width:19px;height:19px;}
.rosoco-bullet-check{display:none;}
.rosoco-step.is-active .rosoco-bullet{
    border-color:var(--rosoco-brand);color:var(--rosoco-brand);
    transform:scale(1.1);box-shadow:0 8px 18px -8px rgba(198,40,40,.4);
}
.rosoco-step.is-done .rosoco-bullet{
    border-color:var(--rosoco-brand);background:var(--rosoco-brand);color:#fff;
    box-shadow:0 8px 18px -8px rgba(198,40,40,.4);
}
.rosoco-step.is-done .rosoco-bullet-icon{display:none;}
.rosoco-step.is-done .rosoco-bullet-check{display:block;}
.rosoco-step-label{font-size:.88rem;font-weight:600;color:var(--rosoco-muted);text-align:center;transition:color .3s;}
.rosoco-step.is-active .rosoco-step-label,
.rosoco-step.is-done .rosoco-step-label{color:var(--rosoco-brand);}

/* ── Layout ── */
.rosoco-grid{display:grid;grid-template-columns:1fr 350px;gap:18px;align-items:start;}
.rosoco-grid>*{min-width:0;}
.rosoco-panel{padding:22px 24px;min-width:0;display:flex;flex-direction:column;}
.rosoco-summary{padding:18px;min-width:0;overflow:hidden;}

/* ── Panes ── */
.rosoco-pane{display:none;}
.rosoco-pane.is-active{display:block;animation:rosocoIn .3s ease;}
@keyframes rosocoIn{from{opacity:0;transform:translateY(6px);}to{opacity:1;transform:none;}}
.rosoco-pane-title{font-size:1.1rem;font-weight:700;color:var(--rosoco-ink);margin:0 0 16px;}

/* ── Fields ── */
.rosoco-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px;}
.rosoco-field-full{grid-column:1 / -1;}
.rosoco-fld-city{grid-column:1 / -1;}
/* פרטים אישיים: שם מלא (מלא) → ח.פ/ת.ז (מלא, מתחת לשם) → עסק (מלא) → טלפון (חצי) → אימייל (מלא) */
.rosoco-fld-name{grid-column:span 1; order:0;}
.rosoco-fld-idnum{grid-column:span 1; order:1;}
.rosoco-fld-company{grid-column:1 / -1; order:2;}
.rosoco-fld-phone{order:3;}
.rosoco-fld-email{order:4;}
/* כתובת: רחוב + מספר בית באותה שורה, קומה + דירה באותה שורה, עיר + מיקוד באותה שורה */
.rosoco-fields-addr{grid-template-columns:1fr 1fr;}
.rosoco-fields-addr .rosoco-fld-street{grid-column:span 1; order:0;}
.rosoco-fields-addr .rosoco-fld-house{grid-column:span 1; order:1;}
.rosoco-fields-addr .rosoco-fld-floor{grid-column:span 1; order:2;}
.rosoco-fields-addr .rosoco-fld-apartment{grid-column:span 1; order:3;}
.rosoco-fields-addr .rosoco-fld-city{grid-column:span 1; order:4;}
.rosoco-fields-addr .rosoco-fld-postcode{grid-column:span 1; order:5;}
.rosoco-field{display:flex;flex-direction:column;gap:6px;}
.rosoco-field>span{font-size:.88rem;font-weight:600;color:var(--rosoco-ink);}
.rosoco-field input,.rosoco-fullname,.rosoco-fld-notes textarea{
    width:100%;border:1px solid var(--rosoco-border);border-radius:12px;
    padding:11px 14px;font-size:15px;color:var(--rosoco-ink);background:#fff;
    transition:border-color .2s,box-shadow .2s;outline:none;
}
.rosoco-fld-notes textarea{font-family:inherit;resize:vertical;min-height:70px;}
.rosoco-fld-notes{margin-top:18px;}
.rosoco-field input::placeholder,.rosoco-fullname::placeholder,.rosoco-fld-notes textarea::placeholder{color:#bbb;}
.rosoco-field input:focus,.rosoco-fullname:focus,.rosoco-fld-notes textarea:focus{border-color:var(--rosoco-brand);box-shadow:0 0 0 4px var(--rosoco-soft);}
.rosoco-field.has-error input,.rosoco-field.has-error .rosoco-fullname{border-color:var(--rosoco-brand);}
.rosoco-err{font-size:.76rem;color:var(--rosoco-brand);min-height:0;font-style:normal;}
.rosoco-field.has-error .rosoco-err{min-height:1em;margin-top:2px;}

/* ── Navigation ──
   הערה: התמה מגדירה ב-reset כפתורים בצבע ורוד (#c36). הכללים כאן
   ממוקדים (.rosoco-wrap …) ועם !important כדי לעקוף זאת לחלוטין. */
.rosoco-wrap .rosoco-nav{display:flex;align-items:center;gap:12px;margin-top:30px;padding-top:22px;border-top:1px solid var(--rosoco-border);}
.rosoco-wrap .rosoco-back{
    border:1px solid var(--rosoco-border)!important;background:#fff!important;color:var(--rosoco-ink)!important;
    border-radius:12px!important;padding:13px 24px!important;font-weight:600!important;font-size:.95rem!important;
    line-height:1!important;cursor:pointer;box-shadow:none!important;transition:background .2s,border-color .2s;
}
.rosoco-wrap .rosoco-back:hover{background:var(--rosoco-page)!important;border-color:#d8d2d2!important;}
.rosoco-wrap .rosoco-next{
    margin-inline-start:auto;display:inline-flex;align-items:center;gap:8px;
    background:var(--rosoco-brand)!important;color:#fff!important;border:1px solid var(--rosoco-brand)!important;
    border-radius:12px!important;padding:14px 30px!important;font-weight:700!important;font-size:.97rem!important;
    line-height:1!important;cursor:pointer;
    box-shadow:0 8px 18px -8px rgba(198,40,40,.45)!important;transition:background .2s,transform .1s;
}
.rosoco-wrap .rosoco-next:hover{background:var(--rosoco-brand-dark)!important;border-color:var(--rosoco-brand-dark)!important;}
.rosoco-wrap .rosoco-next:active{transform:scale(.98);}
.rosoco-wrap .rosoco-next svg{width:18px;height:18px;stroke:#fff;}

/* ── Summary ── */
.rosoco-summary-head{display:flex;align-items:center;gap:8px;margin-bottom:12px;}
.rosoco-summary-head svg{width:18px;height:18px;color:var(--rosoco-brand);}
.rosoco-summary-head h2{font-size:1rem;font-weight:700;margin:0;color:var(--rosoco-ink);}
.rosoco-count{margin-inline-start:auto;background:var(--rosoco-soft);color:var(--rosoco-brand);
    font-size:.75rem;font-weight:700;padding:3px 10px;border-radius:99px;}
.rosoco-items{display:flex;flex-direction:column;gap:10px;min-width:0;}
.rosoco-items-empty{color:var(--rosoco-muted);font-size:.9rem;text-align:center;padding:10px 0;}
.rosoco-item{display:flex;align-items:center;gap:12px;min-width:0;transition:opacity .15s ease;}
.rosoco-item.is-busy{opacity:.55;pointer-events:none;}
.rosoco-thumb{position:relative;width:54px;height:54px;flex-shrink:0;border-radius:12px;overflow:hidden;border:1px solid var(--rosoco-border);background:var(--rosoco-page);}
.rosoco-thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.rosoco-item-info{flex:1;min-width:0;}
.rosoco-item-name{margin:0;font-size:.88rem;font-weight:600;color:var(--rosoco-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.rosoco-item-meta{margin:2px 0 0;font-size:.75rem;color:var(--rosoco-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.rosoco-item-right{display:flex;flex-direction:column;align-items:flex-end;gap:6px;flex-shrink:0;}
.rosoco-item-price{font-size:.88rem;font-weight:700;color:var(--rosoco-ink);white-space:nowrap;}

/* בקרת כמות (+/-)
   הערה: ל-!important כאן כי לעיתים ה-Theme/Elementor מגדירים input[type=text]{width:100%}
   שדוחפים את תיבת הכמות להיות רחבה מדי — הכללים כאן ממוקדים ועוקפים זאת. */
.rosoco-wrap .rosoco-qty-stepper{
    display:inline-flex!important;align-items:center;gap:0;margin-top:6px;
    border:1px solid var(--rosoco-border);border-radius:8px;overflow:hidden;
    width:auto!important;max-width:82px;flex:0 0 auto;
}
.rosoco-wrap .rosoco-qty-stepper button{
    background:var(--rosoco-page)!important;border:none!important;color:var(--rosoco-ink)!important;
    width:24px!important;min-width:24px!important;height:24px!important;flex:0 0 24px!important;
    font-size:14px;font-weight:700;line-height:1;cursor:pointer;padding:0!important;
    display:flex;align-items:center;justify-content:center;box-shadow:none!important;
}
.rosoco-wrap .rosoco-qty-stepper button:hover{background:var(--rosoco-soft)!important;}
.rosoco-wrap .rosoco-qty-stepper button:disabled{opacity:.4;cursor:not-allowed;}
.rosoco-wrap .rosoco-qty-input{
    width:32px!important;min-width:32px!important;max-width:32px!important;flex:0 0 32px!important;
    height:24px!important;border:none!important;border-inline:1px solid var(--rosoco-border)!important;
    border-radius:0!important;text-align:center!important;font-size:.8rem!important;font-weight:700;
    color:var(--rosoco-ink);background:#fff!important;-moz-appearance:textfield;padding:0!important;box-shadow:none!important;
}
.rosoco-wrap .rosoco-qty-input:focus{outline:none;background:var(--rosoco-page)!important;}

/* כפתור הסרת פריט */
.rosoco-wrap .rosoco-item-remove{
    background:none!important;border:none!important;color:var(--rosoco-muted)!important;
    padding:2px!important;cursor:pointer;box-shadow:none!important;display:flex;align-items:center;justify-content:center;
}
.rosoco-wrap .rosoco-item-remove:hover{color:var(--rosoco-brand)!important;}
.rosoco-item-remove svg{width:15px;height:15px;}

/* ── Coupon (collapsible) ── */
.rosoco-coupon{margin-top:14px;border-top:1px dashed var(--rosoco-border);padding-top:10px;}
.rosoco-wrap .rosoco-coupon-toggle{
    width:100%;display:flex;align-items:center;justify-content:space-between;
    background:none!important;border:none!important;border-radius:0!important;box-shadow:none!important;
    padding:4px 0!important;cursor:pointer;color:var(--rosoco-ink)!important;font-weight:700!important;font-size:.88rem!important;
}
.rosoco-coupon-label{display:flex;align-items:center;gap:6px;font-weight:700;color:var(--rosoco-ink);}
.rosoco-coupon-label svg{width:15px;height:15px;color:var(--rosoco-brand);}
.rosoco-coupon-chevron{width:16px;height:16px;color:var(--rosoco-muted);transition:transform .25s ease;}
.rosoco-coupon.is-open .rosoco-coupon-chevron{transform:rotate(180deg);}
.rosoco-coupon-panel{margin-top:10px;}
.rosoco-coupon-row{display:flex;gap:8px;max-width:100%;}
.rosoco-coupon-input{flex:1;min-width:0;border:1px solid var(--rosoco-border);border-radius:12px;padding:11px 14px;font-size:14px;color:var(--rosoco-ink);outline:none;text-transform:uppercase;}
.rosoco-coupon-input:focus{border-color:var(--rosoco-brand);box-shadow:0 0 0 4px var(--rosoco-soft);}
.rosoco-wrap .rosoco-coupon-apply{flex-shrink:0;background:var(--rosoco-ink)!important;color:#fff!important;border:1px solid var(--rosoco-ink)!important;border-radius:12px!important;padding:0 20px!important;font-weight:600!important;font-size:.9rem!important;cursor:pointer;box-shadow:none!important;transition:opacity .2s;}
.rosoco-wrap .rosoco-coupon-apply:hover{opacity:.85;}
.rosoco-coupon-msg{display:block;margin-top:8px;font-size:.78rem;font-style:normal;min-height:1em;}
.rosoco-wrap .rosoco-coupon-msg.is-error{color:var(--rosoco-brand)!important;}
.rosoco-wrap .rosoco-coupon-msg.is-ok{color:#1a8a4a!important;}

/* ── Shipping methods — accordion (בונה מסביב לרשימת ה-shipping המקורית של WooCommerce) ── */
.rosoco-wrap .rosoco-ship{border:1px solid var(--rosoco-border);border-radius:12px;margin:10px 0 14px;overflow:hidden;background:#fff;}
.rosoco-wrap .rosoco-ship-toggle{
    width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;
    background:#fff!important;border:none!important;border-radius:0!important;
    padding:13px 14px!important;cursor:pointer;color:var(--rosoco-ink)!important;box-shadow:none!important;text-align:right;
}
.rosoco-wrap .rosoco-ship-toggle:hover{background:var(--rosoco-page)!important;}
.rosoco-ship-toggle-label{display:flex;align-items:center;gap:8px;font-weight:700!important;font-size:.92rem!important;min-width:0;}
.rosoco-ship-toggle-label svg{width:17px;height:17px;color:var(--rosoco-brand);flex-shrink:0;}
.rosoco-ship-selected{font-weight:600;color:var(--rosoco-muted);font-size:.82rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.rosoco-ship-chevron{width:17px;height:17px;color:var(--rosoco-muted);transition:transform .25s ease;flex-shrink:0;}
.rosoco-ship.is-open .rosoco-ship-chevron{transform:rotate(180deg);}
.rosoco-ship-body{padding:0 14px 14px;border-top:1px solid var(--rosoco-border);padding-top:10px;}
.rosoco-wrap .rosoco-ship-body ul#shipping_method,
.rosoco-wrap .rosoco-ship-body ul.woocommerce-shipping-methods{list-style:none!important;margin:0!important;padding:0!important;}
.rosoco-wrap .rosoco-ship-body ul#shipping_method li,
.rosoco-wrap .rosoco-ship-body ul.woocommerce-shipping-methods li{list-style:none!important;padding:8px 0!important;margin:0!important;font-size:.9rem;}
.rosoco-wrap .rosoco-ship-body ul#shipping_method li:before{display:none!important;}
.rosoco-wrap .rosoco-ship-body input[type=radio]{accent-color:var(--rosoco-brand);margin-inline-end:6px;}

/* ── WooCommerce review override ── */
.rosoco-review{margin-top:14px;border-top:1px solid var(--rosoco-border);padding-top:12px;}
.rosoco-wrap .rosoco-review table{width:100%;max-width:100%;table-layout:fixed;font-size:.92rem;border-collapse:collapse;border:none;margin:0;}
.rosoco-wrap .rosoco-review table tr{border:none;}
.rosoco-wrap .rosoco-review table th,
.rosoco-wrap .rosoco-review table td{padding:6px 0!important;border:none!important;background:none!important;text-align:right;color:var(--rosoco-muted);font-weight:500;}
.rosoco-wrap .rosoco-review table td{text-align:left;color:var(--rosoco-ink);}
.rosoco-wrap .rosoco-review .order-total th,
.rosoco-wrap .rosoco-review .order-total td{font-weight:800;color:var(--rosoco-ink);font-size:1.05rem;border-top:1px solid var(--rosoco-border)!important;padding-top:14px!important;margin-top:4px;}
.rosoco-wrap .rosoco-review .order-total .amount{color:var(--rosoco-brand);font-size:1.4rem;}
/* hide the duplicate product table Woo prints (we render our own item list) */
.rosoco-review .woocommerce-checkout-review-order-table thead,
.rosoco-review .woocommerce-checkout-review-order-table .cart_item{display:none;}

/* נטרול צבע ורוד מהודעות WooCommerce בתוך הווידג'ט */
.rosoco-wrap .woocommerce-error,
.rosoco-wrap .woocommerce-message,
.rosoco-wrap .woocommerce-info{border-top-color:var(--rosoco-brand)!important;}
.rosoco-wrap .woocommerce-error li,
.rosoco-wrap .woocommerce-info li{color:var(--rosoco-ink)!important;}

/* ── Payment (native Woo) — נקי, קצר, ללא ורוד/אפור ──
   חשוב: WooCommerce מגדיר רקע אפור על #payment (ID, ספציפיות גבוהה),
   לכן הכללים כאן ממוקדים על #payment עצמו כדי לעקוף זאת. */
.rosoco-wrap #payment.rosoco-payment{margin-top:6px;background:transparent!important;border:none!important;border-radius:0!important;padding:0!important;}
.rosoco-wrap #payment .woocommerce-checkout-payment{background:transparent!important;}
.rosoco-wrap #payment ul.payment_methods{
    list-style:none!important;margin:0 0 12px!important;padding:0!important;
    border:1px solid var(--rosoco-border)!important;border-radius:12px!important;overflow:hidden;background:#fff!important;
}
.rosoco-wrap #payment ul.payment_methods li{padding:12px 14px!important;border-bottom:1px solid var(--rosoco-border)!important;background:#fff!important;margin:0!important;list-style:none!important;}
.rosoco-wrap #payment ul.payment_methods li:last-child{border-bottom:none!important;}
.rosoco-wrap #payment ul.payment_methods li:before{display:none!important;}
.rosoco-wrap #payment ul.payment_methods label{font-weight:600!important;color:var(--rosoco-ink)!important;display:inline!important;}
.rosoco-wrap #payment input[type=radio]{accent-color:var(--rosoco-brand);margin-inline-end:6px;}
/* תיבת התיאור — בלי האפור והמשולש */
.rosoco-wrap #payment div.payment_box{
    background:var(--rosoco-soft)!important;border:none!important;border-radius:10px!important;
    margin:8px 0 0!important;padding:10px 12px!important;font-size:.83rem!important;color:var(--rosoco-ink)!important;box-shadow:none!important;
}
.rosoco-wrap #payment div.payment_box:before{display:none!important;border:none!important;}
.rosoco-wrap #payment div.payment_box p{margin:0!important;padding:0!important;}
/* טקסט הפרטיות הארוך — מוסתר לקיצור הבלוק */
.rosoco-wrap #payment .woocommerce-privacy-policy-text{display:none!important;}
/* ביטול הוורוד מהקישורים */
.rosoco-wrap #payment a{color:var(--rosoco-brand)!important;text-decoration:underline;}
/* כפתור "בצע הזמנה"/"שליחת הזמנה" המקורי מוסתר — הרכישה דרך הסרגל */
.rosoco-wrap #payment #place_order,
.rosoco-wrap #payment .place-order .button[name="woocommerce_checkout_place_order"]{
    position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;
    overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important;opacity:0!important;
}
.rosoco-wrap #payment .place-order{padding:0!important;border:none!important;}

/* ── Secure / notices ── */
.rosoco-secure{margin-top:12px;display:flex;align-items:center;justify-content:center;gap:6px;
    background:var(--rosoco-page);border-radius:12px;padding:9px;font-size:.78rem;font-weight:600;color:var(--rosoco-muted);}
.rosoco-secure svg{width:14px;height:14px;color:var(--rosoco-brand);}
.rosoco-notice{padding:22px;text-align:center;color:#444;background:#fff;border:1px solid #e6e1e1;border-radius:14px;}
.rosoco-notice a{color:#001C47;font-weight:700;text-decoration:none;}
.rosoco-editor-note{color:#888;}

/* ── Action bar — inline on desktop, floating on mobile ── */
.rosoco-bar{margin-top:20px;}
.rosoco-bar-inner{display:flex;align-items:stretch;gap:12px;}
.rosoco-wrap .rosoco-bar-back{
    flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:7px;
    background:#fff!important;color:var(--rosoco-brand)!important;border:2px solid var(--rosoco-brand)!important;
    border-radius:12px!important;padding:12px 24px!important;font-weight:700!important;font-size:.95rem!important;
    line-height:1!important;cursor:pointer;box-shadow:none!important;transition:background .2s;
}
.rosoco-wrap .rosoco-bar-back:hover{background:var(--rosoco-soft)!important;}
.rosoco-wrap .rosoco-bar-back svg{width:18px;height:18px;stroke:var(--rosoco-brand);}
.rosoco-wrap .rosoco-bar-back[hidden]{display:none!important;}
.rosoco-wrap .rosoco-bar-next{
    flex:1;display:inline-flex;align-items:center;justify-content:center;gap:9px;
    background:var(--rosoco-brand)!important;color:#fff!important;border:2px solid var(--rosoco-brand)!important;
    border-radius:12px!important;padding:13px 24px!important;font-weight:800!important;font-size:1.02rem!important;
    line-height:1!important;cursor:pointer;box-shadow:0 8px 18px -8px rgba(198,40,40,.5)!important;transition:background .2s,transform .1s;
}
.rosoco-wrap .rosoco-bar-next:hover{background:var(--rosoco-brand-dark)!important;border-color:var(--rosoco-brand-dark)!important;}
.rosoco-wrap .rosoco-bar-next:active{transform:scale(.99);}
.rosoco-wrap .rosoco-bar-next svg{width:18px;height:18px;stroke:#fff;}

/* בטלפון — סרגל צף בתחתית המסך */
@media (max-width:900px){
    .rosoco-bar{position:fixed;left:0;right:0;bottom:0;z-index:2147483000;margin:0;background:#fff;
        border-top:1px solid var(--rosoco-border);box-shadow:0 -6px 22px -12px rgba(0,0,0,.22);
        padding:10px 14px;padding-bottom:calc(10px + env(safe-area-inset-bottom));}
    .rosoco-bar-inner{max-width:1040px;margin:0 auto;}
    .rosoco-wrap{padding-bottom:84px;}
}
@media (max-width:520px){
    .rosoco-wrap .rosoco-bar-back{padding:13px 18px!important;font-size:.92rem!important;}
    .rosoco-wrap .rosoco-bar-next{padding:14px 18px!important;font-size:1rem!important;}
}

/* ── Step 3: "הפרטים שלי" accordion ── */
.rosoco-recap{border:1px solid var(--rosoco-border);border-radius:12px;margin-bottom:20px;overflow:hidden;background:#fff;}
.rosoco-wrap .rosoco-recap-toggle{
    width:100%;display:flex;align-items:center;justify-content:space-between;
    background:#fff!important;border:none!important;border-radius:0!important;
    padding:15px 16px!important;cursor:pointer;font-weight:700!important;color:var(--rosoco-ink)!important;
    font-size:.98rem!important;box-shadow:none!important;
}
.rosoco-wrap .rosoco-recap-toggle:hover{background:var(--rosoco-page)!important;}
.rosoco-recap-title{display:flex;align-items:center;gap:8px;}
.rosoco-recap-title svg{width:18px;height:18px;color:var(--rosoco-brand);}
.rosoco-recap-chevron{width:18px;height:18px;color:var(--rosoco-muted);transition:transform .25s ease;}
.rosoco-recap.is-open .rosoco-recap-chevron{transform:rotate(180deg);}
.rosoco-recap-body{padding:2px 16px 16px;border-top:1px solid var(--rosoco-border);}
.rosoco-recap-group{padding-top:14px;}
.rosoco-recap-group-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;}
.rosoco-recap-group-head>span{font-size:.8rem;font-weight:700;color:var(--rosoco-muted);}
.rosoco-wrap .rosoco-recap-edit{
    background:none!important;border:none!important;color:var(--rosoco-brand)!important;
    font-weight:700!important;font-size:.82rem!important;cursor:pointer;padding:0!important;box-shadow:none!important;
}
.rosoco-wrap .rosoco-recap-edit:hover{text-decoration:underline;}
.rosoco-recap-row{display:flex;align-items:baseline;justify-content:space-between;gap:14px;padding:5px 0;font-size:.92rem;}
.rosoco-recap-row>span{color:var(--rosoco-muted);flex-shrink:0;}
.rosoco-recap-row>b{color:var(--rosoco-ink);font-weight:600;text-align:left;overflow-wrap:anywhere;}

/* ── Responsive ── */
@media (max-width:900px){
    .rosoco-grid{grid-template-columns:1fr;}
    .rosoco-panel{order:0;}
    .rosoco-summary{order:1;margin-top:18px;}
    .rosoco-panel{padding:24px;}
}
@media (max-width:520px){
    .rosoco-title{font-size:1.55rem;}
    .rosoco-progress{padding:18px 12px 14px;}
    .rosoco-step-label{font-size:.74rem;}
    .rosoco-panel{padding:18px;}
    /* פרטים אישיים: שם מלא/עסק מלא, ח.פ/ת.ז מלא מתחתיו, טלפון+אימייל באותה שורה */
    .rosoco-fields-personal{grid-template-columns:1fr 1fr;gap:12px;}
    .rosoco-fld-name{grid-column:auto; order:0;}
    .rosoco-fld-idnum{grid-column:auto; order:1;}
    .rosoco-fld-company{grid-column:1 / -1; order:2;}
    .rosoco-fld-phone{grid-column:auto; order:3;}
    .rosoco-fld-email{grid-column:auto; order:4;}
    /* כתובת: רחוב + מספר בית באותה שורה, קומה + דירה באותה שורה, עיר + מיקוד באותה שורה */
    .rosoco-fields-addr{grid-template-columns:1fr 1fr;gap:8px;}
    .rosoco-fields-addr .rosoco-field>span{font-size:.8rem;}
    .rosoco-fields-addr input{padding:10px 10px;font-size:14px;}
}

/* honor reduced motion */
@media (prefers-reduced-motion:reduce){
    .rosoco-fill,.rosoco-bullet,.rosoco-pane.is-active{transition:none;animation:none;}
}

/* ════════════════════════════════════════════════
   Roso — מוצרים משלימים למשלוח חינם (עגלה)
════════════════════════════════════════════════ */
.rosoup{
    --b:#001C47;--bd:#001536;--ink:#444;--muted:#8a8a8a;--soft:#E0E3E8;--bdr:#e6e1e1;
    direction:rtl;text-align:right;border:1px solid var(--bdr);border-radius:16px;
    background:#fff;padding:18px;margin:20px 0;box-shadow:0 1px 3px rgba(0,0,0,.04);
}
.rosoup *{box-sizing:border-box;}
.rosoup-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:14px;}
.rosoup-title{display:flex;align-items:center;gap:8px;font-weight:800;color:var(--ink);font-size:1.02rem;}
.rosoup-title svg{width:20px;height:20px;color:var(--b);}
.rosoup-remaining{font-size:.86rem;color:var(--muted);font-weight:600;}
.rosoup-remaining b{color:var(--b);}
.rosoup-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;}
.rosoup-card{display:flex;flex-direction:column;border:1px solid var(--bdr);border-radius:12px;padding:10px;background:#fff;transition:border-color .2s,box-shadow .2s;position:relative;}
.rosoup-card:hover{border-color:#d8cccc;box-shadow:0 4px 14px -8px rgba(0,0,0,.2);}
.rosoup-thumb{display:block;border-radius:8px;overflow:hidden;background:#f6f4f4;aspect-ratio:1/1;position:relative;}
.rosoup-sale-badge{position:absolute;top:6px;right:6px;z-index:2;background:var(--b,#c0392b);color:#fff;font-size:.68rem;font-weight:800;
    padding:3px 8px;border-radius:20px;box-shadow:0 2px 6px rgba(0,0,0,.18);letter-spacing:.2px;}
.rosoup-thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.rosoup-info{flex:1;min-width:0;padding:8px 2px;}
.rosoup-name{display:block;font-size:.85rem;font-weight:600;color:var(--ink)!important;text-decoration:none;line-height:1.3;
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.rosoup-name:hover{color:var(--b)!important;}
.rosoup-price{display:block;margin-top:4px;font-size:.9rem;font-weight:700;color:var(--ink);}
.rosoup-price del{color:var(--muted);font-weight:400;font-size:.8rem;}
.rosoup-price ins{text-decoration:none;color:var(--b);}
.rosoup .rosoup-add{
    display:inline-flex;align-items:center;justify-content:center;gap:6px;width:100%;
    background:var(--b)!important;color:#fff!important;border:1px solid var(--b)!important;
    border-radius:10px!important;padding:9px 10px!important;font-weight:700!important;font-size:.86rem!important;
    line-height:1!important;cursor:pointer;text-decoration:none!important;box-shadow:none!important;transition:background .2s;
}
.rosoup .rosoup-add:hover{background:var(--bd)!important;border-color:var(--bd)!important;color:#fff!important;}
.rosoup .rosoup-add svg{width:15px;height:15px;stroke:#fff;}
.rosoup .rosoup-add.is-loading{opacity:.6;pointer-events:none;}
@media (max-width:520px){
    .rosoup-grid{grid-template-columns:repeat(auto-fill,minmax(128px,1fr));gap:10px;}
    .rosoup{padding:14px;}
}
