/* Jihad_Balance — checkout/cart balance row. Own classes: Hyvä's Tailwind build does not scan this module. */
.kb-balance__row{display:flex;align-items:center;gap:12px;padding:12px 0;margin-bottom:16px;border-top:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb}
.kb-balance__switch{position:relative;display:inline-flex;flex-shrink:0;width:56px;height:32px;border-radius:9999px;border:0;padding:0;background:#9ca3af;cursor:pointer;transition:background-color .15s}
.kb-balance__switch.is-on{background:#15803d}
.kb-balance__knob{position:absolute;top:4px;inset-inline-start:4px;width:24px;height:24px;border-radius:9999px;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.25);transition:inset-inline-start .15s}
.kb-balance__switch.is-on .kb-balance__knob{inset-inline-start:28px}
.kb-balance__switch[disabled]{opacity:.6}
/* My Account > Krabet Balance */
.kb-acc{display:flex;flex-direction:column;gap:12px}
.kb-acc__card{background:#1a1a1a;color:#fff;border-radius:18px;padding:20px;display:flex;flex-direction:column;gap:10px}
.kb-acc__big{font-size:36px;font-weight:800;line-height:1.1}
.kb-acc__split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.kb-acc__chip{background:#2b2b2b;border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:2px}
.kb-acc__muted-inv{color:#d6d6d6;font-size:13px}
.kb-acc__gold{color:#FECA68;font-size:13px}
.kb-acc__box{background:#fff;border:1px solid #e6e6e6;border-radius:16px;padding:14px 16px;display:flex;flex-direction:column;gap:8px}
.kb-acc__label{font-weight:700;font-size:15px;margin:0}
.kb-acc__row{display:flex;gap:8px}
.kb-acc__input{flex:1;min-width:0}
.kb-acc__line{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid #f0f0f0;min-height:44px;gap:12px}
.kb-acc__muted{color:#555;font-size:12px}
.kb-acc__plus{color:#157a3c;font-weight:700}
.kb-acc__minus{color:#1a1a1a;font-weight:700}
.kb-acc__pending{color:#8a5a00;font-weight:700}
/* Gift page */
.kb-gift{max-width:440px;margin:0 auto;display:flex;flex-direction:column;gap:16px;padding:8px 0 24px}
.kb-gift__head{text-align:center;display:flex;flex-direction:column;gap:4px}
.kb-gift__head h1{margin:0;font-size:24px;font-weight:800}
.kb-gift__card{height:200px;border-radius:18px;position:relative;overflow:hidden;padding:20px;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between}
.kb-gift__ring{position:absolute;width:180px;height:180px;border-radius:50%;inset-inline-start:-50px;bottom:-70px;border-width:22px;border-style:solid}
.kb-gift__top{display:flex;justify-content:space-between;position:relative;font-weight:700}
.kb-gift__brand{font-size:24px;font-weight:800}
.kb-gift__amount{position:relative;font-size:40px;font-weight:800;line-height:1.1}
.kb-gift__msg{margin:0;background:#f6f6f6;border-radius:12px;padding:12px 14px;line-height:1.6;white-space:pre-line}
.kb-gift__qr{display:flex;gap:12px;align-items:center;border:1px solid #e6e6e6;border-radius:14px;padding:12px}
.kb-gift__qr svg{width:96px;height:96px;flex-shrink:0}
.kb-gift__btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:52px;border-radius:14px;font-size:17px;font-weight:700;text-decoration:none;border:0;cursor:pointer}
.kb-gift__btn--primary{background:#C2185B;color:#fff}
.kb-gift__btn--outline{background:#fff;color:#1a1a1a;border:2px solid #1a1a1a}
.kb-gift__note{text-align:center;font-size:12px;color:#555}
.kb-gift__thanks{display:flex;gap:8px}
.kb-gift__thanks input{flex:1;min-width:0}
/* PDP gift card form */
.kb-gcf{display:flex;flex-direction:column;gap:14px;margin-bottom:12px}
.kb-gcf__preview{height:180px;border-radius:18px;padding:18px;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;background:#1a1a1a;color:#fff}
.kb-gcf:has(input[value="eid"]:checked) .kb-gcf__preview{background:#0A6E99}
.kb-gcf:has(input[value="ramadan"]:checked) .kb-gcf__preview{background:#1E2A5A;color:#FECA68}
.kb-gcf:has(input[value="birthday"]:checked) .kb-gcf__preview{background:#C2185B}
.kb-gcf:has(input[value="thanks"]:checked) .kb-gcf__preview{background:#FECA68;color:#3a2600}
.kb-gcf__brand{font-size:24px;font-weight:800}
.kb-gcf__ptitle{font-size:20px;font-weight:700}
.kb-gcf__set{border:0;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.kb-gcf__box{background:#fff;border:1px solid #e6e6e6;border-radius:16px;padding:14px}
.kb-gcf__legend{font-weight:700;font-size:16px;margin-bottom:6px}
.kb-gcf__grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.kb-gcf__chip{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:44px;border:2px solid #e0e0e0;border-radius:12px;background:#fff;font-weight:700;cursor:pointer;padding:6px 4px;text-align:center}
.kb-gcf__chip input{position:absolute;opacity:0;pointer-events:none}
.kb-gcf__chip:has(input:checked){border-color:#C2185B;background:#fde7ef;color:#8e1043}
.kb-gcf__chip:has(input:focus-visible){outline:2px solid #0A6E99;outline-offset:2px}
.kb-gcf__swatch{width:40px;height:26px;border-radius:6px;background:#1a1a1a}
.kb-gcf__design--eid .kb-gcf__swatch{background:#0A6E99}
.kb-gcf__design--ramadan .kb-gcf__swatch{background:#1E2A5A}
.kb-gcf__design--birthday .kb-gcf__swatch{background:#C2185B}
.kb-gcf__design--thanks .kb-gcf__swatch{background:#FECA68}
.kb-gcf__other{flex-direction:row;font-weight:500}
.kb-gcf__field{display:flex;flex-direction:column;gap:4px;font-size:13px;color:#555}
.kb-gcf__check{display:flex;align-items:center;gap:8px;min-height:44px;font-size:14px}
.kb-gcf__hint{font-size:13px;color:#555;margin:0}
.kb-earn{display:inline-flex;align-items:center;gap:6px;margin:4px 0 12px;padding:6px 10px;border-radius:10px;background:#e8f5ee;color:#0f5c2e;font-size:14px;font-weight:700}
/* Gift card PDP: the chosen amount is the price; hide the placeholder price, qty stepper and stars */
body:has(.kb-gcf) .price-box.price-final_price,
body:has(.kb-gcf) .rating-summary,
body:has(.kb-gcf) div:has(> button + input[name="qty"]),
body:has(.kb-gcf) div:has(> input[name="qty"]){display:none!important}
.kbal-total{color:#15803d;font-weight:600}
