/* ipotekabank:product.calc — оболочка: вкладки типов продуктов (видны, только если типов больше одного). */
.ipb-pc { margin: 0 0 40px; }
.ipb-pc__panel[hidden] { display: none !important; }
.ipb-pc__tabs {
    display: inline-flex; flex-wrap: wrap; gap: 4px; margin: 0 0 16px; padding: 4px;
    background: #f6f7fa; border-radius: 999px; max-width: 100%;
}
.ipb-pc__tab {
    font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 16px; font-weight: 500; line-height: 24px; color: #50545d;
    background: transparent; border: none; border-radius: 999px; padding: 12px 20px; cursor: pointer; white-space: nowrap;
    transition: background .15s, color .15s;
}
.ipb-pc__tab:hover:not([aria-selected="true"]) { background: #fff; }
.ipb-pc__tab[aria-selected="true"] { background: #151617; color: #fff; }
.ipb-pc__tab:focus-visible { outline: 2px solid #52ae30; outline-offset: 2px; }
@media (max-width: 560px) {
    .ipb-pc__tabs { display: flex; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
    .ipb-pc__tab { flex: none; padding: 8px 14px; font-size: 15px; }
}
