/* שוברי מתנה – טופס הרכישה ובדיקת יתרה. הצבעים יורשים מהתבנית דרך currentColor/inherit */
.mmgc-fields { --mmgc-accent: #214517; --mmgc-line: #d6d9d3; margin: 0 0 22px; text-align: right; flex: 1 1 100%; width: 100%; max-width: 100%; box-sizing: border-box; }
/* תבניות שבהן form.cart הוא flex בשורה אחת (כמות + כפתור) – השדות בשורה משלהם מעל */
form.cart:has(> .mmgc-fields) { flex-wrap: wrap !important; align-items: center; }
form.cart:has(> .mmgc-fields) > .quantity, form.cart:has(> .mmgc-fields) > .single_add_to_cart_button { align-self: auto; height: auto; }
.mmgc-fields [hidden] { display: none !important; }
.mmgc-group { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.mmgc-label { display: block; font-weight: 600; margin-bottom: 10px; padding: 0; }
.mmgc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mmgc-chip { position: relative; cursor: pointer; margin: 0; }
.mmgc-chip input { position: absolute; opacity: 0; pointer-events: none; }
.mmgc-chip span { display: inline-block; padding: 10px 20px; border: 1px solid var(--mmgc-line); background: #fff; color: inherit; font-weight: 500; line-height: 1.2; transition: border-color .15s, background .15s, color .15s; }
.mmgc-chip:hover span { border-color: var(--mmgc-accent); }
.mmgc-chip input:checked + span { background: var(--mmgc-accent); border-color: var(--mmgc-accent); color: #fff; }
.mmgc-chip input:focus-visible + span { outline: 2px solid var(--mmgc-accent); outline-offset: 2px; }
.mmgc-custom { display: flex; align-items: center; gap: 8px; margin-top: 10px; max-width: 220px; }
.mmgc-custom input { width: 100%; }
.mmgc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.mmgc-field { margin: 0 0 14px; display: flex; flex-direction: column; gap: 6px; }
.mmgc-field label { font-weight: 500; font-size: .95em; }
.mmgc-field input, .mmgc-field textarea { width: 100%; box-sizing: border-box; }
.mmgc-field small { opacity: .7; font-size: .85em; }
.mmgc-field abbr.required { text-decoration: none; border: 0; color: #b32d2e; }
.mmgc-standalone .mmgc-actions { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.mmgc-standalone .mmgc-qty { display: flex; flex-direction: column; gap: 6px; }
.mmgc-standalone .mmgc-qty input { width: 80px; }
.mmgc-balance-row { display: flex; gap: 8px; flex-wrap: wrap; }
.mmgc-balance-row input { flex: 1 1 200px; }
.mmgc-msg { margin: 12px 0 0; padding: 10px 14px; }
.mmgc-ok { background: #eef4ec; }
.mmgc-error { background: #fbeaea; color: #8a1f1f; }
.mmgc-share-note { margin: 0 0 14px; padding: 10px 14px; background: #eef4ec; font-size: .95em; }
.mmgc-order-cards { margin: 28px 0; }
.mmgc-order-card { border: 1px solid #d6d9d3; padding: 16px 18px; margin-bottom: 12px; background: #fff; }
.mmgc-order-card-head { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 1.1em; }
.mmgc-order-card-head code { direction: ltr; letter-spacing: 1px; }
.mmgc-order-card p { margin: 8px 0 12px; }
.mmgc-order-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.mmgc-order-btns .mmgc-wa-btn { background: #25D366 !important; border-color: #25D366 !important; color: #fff !important; }
@media (max-width: 600px) {
	.mmgc-grid { grid-template-columns: minmax(0, 1fr); }
}
