/* ── Bundle Widget ─────────────────────────────────────────────────────── */
.ibc-bundle-wrap {
    max-width: 860px; margin: 2rem auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.ibc-bundle-title {
    font-size: 1.35rem; font-weight: 800; text-align: center;
    letter-spacing: .01em; margin-bottom: 1.4rem; color: #111;
}

.ibc-bundle-tiers { display: flex; gap: 1.2rem; flex-wrap: wrap; justify-content: center; }

/* ── Tier kart — beyaz, siyah çerçeve ─────────────────────────────────── */
.ibc-bundle-tier {
    flex: 1 1 340px; max-width: 480px;
    background: #fff;
    border: 2px solid #111;
    border-radius: 16px; overflow: hidden;
    display: flex; flex-direction: column;
    box-shadow: 6px 6px 0 #111;
}
.ibc-bundle-tier--featured { border-color: #111; box-shadow: 6px 6px 0 #111; }

/* ── Tier başlık ───────────────────────────────────────────────────────── */
.ibc-tier-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: .85rem 1.1rem .75rem;
    border-bottom: 2px solid #111;
    background: #fff;
}
.ibc-tier-name { font-size: 1rem; font-weight: 800; letter-spacing: .01em; color: #111; }
.ibc-tier-badge {
    background: #111; color: #fff;
    font-size: .68rem; font-weight: 800; letter-spacing: .05em;
    padding: 4px 12px; border-radius: 20px;
    text-transform: uppercase;
}

/* ── Seçimli grup ──────────────────────────────────────────────────────── */
.ibc-sel-group { padding: .85rem 1.1rem .65rem; }

.ibc-sel-group-head {
    display: flex; align-items: center; gap: .7rem; margin-bottom: .65rem;
}
.ibc-sel-thumb {
    width: 40px; height: 40px; object-fit: cover;
    border-radius: 8px; flex-shrink: 0;
    border: 1.5px solid #e5e5e5;
}
.ibc-sel-info { flex: 1; }
.ibc-sel-info strong { display: block; font-size: .88rem; font-weight: 700; color: #111; }
.ibc-sel-info em { font-size: .72rem; color: #888; font-style: normal; }

/* İlerleme hapı */
.ibc-progress-pill {
    font-size: .75rem; font-weight: 800;
    padding: 4px 13px; border-radius: 20px;
    border: 2px solid #ddd; color: #aaa; background: #fff;
    transition: border-color .2s, color .2s, background .2s;
    white-space: nowrap; letter-spacing: .02em;
}
.ibc-progress-pill.ok { border-color: #111; color: #111; background: #f0f0f0; }

/* ── Varyasyon satırları ───────────────────────────────────────────────── */
.ibc-vrows { display: flex; flex-direction: column; gap: 3px; }

.ibc-vrow {
    display: flex; align-items: center; gap: .6rem;
    padding: .45rem .5rem; border-radius: 10px;
    cursor: pointer;
    transition: background .12s;
    border: 1.5px solid transparent;
}
.ibc-vrow:hover { background: #f7f7f7; }
.ibc-vrow.ibc-vrow--active {
    background: #f5f5f5;
    border-color: #111;
}

.ibc-vrow-img {
    width: 34px; height: 34px; object-fit: cover;
    border-radius: 7px; flex-shrink: 0;
    border: 1px solid #eee;
}
.ibc-vrow-name { flex: 1; font-size: .8rem; color: #222; line-height: 1.3; }
.ibc-vrow-price { font-size: .8rem; color: #666; white-space: nowrap; font-weight: 500; }

/* ── Miktar stepper — hap şeklinde ────────────────────────────────────── */
.ibc-qty-ctrl {
    display: flex; align-items: center;
    border: 2px solid #ddd; border-radius: 30px;
    overflow: hidden; margin-left: .4rem;
    background: #fff; transition: border-color .15s;
    flex-shrink: 0;
}
.ibc-vrow.ibc-vrow--active .ibc-qty-ctrl { border-color: #111; }

.ibc-qty-ctrl button {
    width: 30px; height: 30px;
    border: none; background: transparent;
    color: #111; cursor: pointer; font-size: 1.1rem; line-height: 1;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s;
    flex-shrink: 0;
}
.ibc-qty-ctrl button:hover:not(:disabled) { background: #111; color: #fff; }
.ibc-qty-ctrl button:disabled { opacity: .25; cursor: default; }

.ibc-qty-val {
    min-width: 24px; text-align: center;
    font-weight: 800; font-size: .88rem; color: #111;
    padding: 0 2px;
}

/* ── Pakete dahil ──────────────────────────────────────────────────────── */
.ibc-included-bar {
    padding: .6rem 1.1rem;
    background: #f9f9f9;
    border-top: 2px solid #111;
    display: flex; align-items: center; gap: .65rem; flex-wrap: wrap;
}
.ibc-included-label {
    font-size: .67rem; font-weight: 800; letter-spacing: .07em;
    text-transform: uppercase; color: #999;
    white-space: nowrap;
}
.ibc-fixed-chip {
    display: flex; align-items: center; gap: .45rem;
    background: #fff; border: 1.5px solid #ddd;
    border-radius: 8px; padding: .28rem .55rem;
}
.ibc-chip-img { width: 26px; height: 26px; object-fit: cover; border-radius: 5px; flex-shrink: 0; }
.ibc-chip-info { display: flex; flex-direction: column; }
.ibc-chip-name { font-size: .74rem; font-weight: 600; color: #222; }
.ibc-chip-qty  { font-size: .67rem; color: #aaa; }
.ibc-chip-price { font-size: .73rem; color: #666; margin-left: .2rem; }

/* ── Footer ────────────────────────────────────────────────────────────── */
.ibc-tier-foot {
    padding: .85rem 1.1rem 1rem;
    border-top: 2px solid #111;
    margin-top: auto; background: #fff;
}
.ibc-tier-total {
    text-align: center; font-size: .88rem;
    min-height: 1.4em; margin-bottom: .65rem; color: #666;
}
.ibc-tier-total strong { color: #111; font-size: 1rem; font-weight: 800; }

/* Siyah buton */
.ibc-bundle-btn {
    width: 100%; padding: .78rem;
    background: #111; color: #fff; border: 2px solid #111;
    border-radius: 10px; font-size: .9rem; font-weight: 800;
    letter-spacing: .04em; cursor: pointer; text-transform: uppercase;
    transition: background .15s, transform .1s, box-shadow .15s;
    box-shadow: 3px 3px 0 #555;
}
.ibc-bundle-btn:hover:not(:disabled) {
    background: #333; box-shadow: 1px 1px 0 #555; transform: translate(2px, 2px);
}
.ibc-bundle-btn:active { transform: translate(3px, 3px); box-shadow: none; }
.ibc-bundle-btn:disabled {
    background: #ccc; border-color: #ccc; box-shadow: 3px 3px 0 #bbb; cursor: default;
}

/* ── Mesaj ─────────────────────────────────────────────────────────────── */
.ibc-bundle-msg {
    text-align: center; margin-top: .8rem;
    font-size: .88rem; font-weight: 700; min-height: 1.3em;
}
.ibc-msg-ok  { color: #2e7d32; }
.ibc-msg-err { color: #c62828; }

@media (max-width: 600px) {
    .ibc-bundle-tiers { flex-direction: column; }
    .ibc-bundle-tier  { max-width: 100%; box-shadow: 4px 4px 0 #111; }
}
