.ipk-product-turning[hidden],
[data-ipk-standard-calculator][hidden],
.ipk-product-turning [hidden] {
    display: none !important;
}

.ipk-product-turning {
    border-top: 1px solid #d7e2f3;
    background: #f8fbff;
}

.ipk-product-turning__columns {
    display: grid;
    grid-template-columns: minmax(280px, .95fr) minmax(300px, 1fr) minmax(320px, 1.08fr);
}

.ipk-product-turning__column {
    min-width: 0;
    padding: 26px 24px 30px;
    border-right: 1px solid #d7e2f3;
}

.ipk-product-turning__column:last-child {
    border-right: 0;
}

.ipk-product-turning__column--result {
    background: #fff;
}

.ipk-product-turning__column h3 {
    display: inline-block;
    margin: 0 0 20px 9px;
    color: #07194b;
    font-size: 21px;
    vertical-align: middle;
}

.ipk-product-turning__step {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #0866ff;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    vertical-align: middle;
}

.ipk-product-turning__field {
    display: inline-flex;
    width: calc(50% - 6px);
    min-width: 0;
    flex-direction: column;
    gap: 6px;
    margin: 0 8px 15px 0;
    color: #344866;
    font-size: 13px;
    font-weight: 700;
    vertical-align: top;
}

.ipk-product-turning__field:nth-of-type(2n) {
    margin-right: 0;
}

.ipk-product-turning__field--wide {
    width: 100%;
    margin-right: 0;
}

.ipk-product-turning__field small {
    color: #70819a;
    font-size: 11px;
    font-weight: 500;
}

.ipk-product-turning__field input,
.ipk-product-turning__field select {
    width: 100%;
    min-height: 45px;
    border: 1px solid #bdcde3;
    border-radius: 7px;
    padding: 0 11px;
    background: #fff;
    color: #07194b;
    font: inherit;
    font-weight: 500;
}

.ipk-product-turning__field input:focus,
.ipk-product-turning__field select:focus {
    border-color: #0866ff;
    outline: 3px solid rgba(8, 102, 255, .11);
}

.ipk-product-turning__field input:disabled {
    background: #edf3fb;
    color: #415675;
}

.ipk-product-turning__picker {
    position: relative;
}

.ipk-product-turning__picker-label {
    display: block;
}

.ipk-product-turning__picker-toggle {
    display: grid;
    width: 100%;
    min-height: 45px;
    grid-template-columns: minmax(0, 1fr) 20px;
    gap: 10px;
    align-items: center;
    border: 1px solid #bdcde3;
    border-radius: 7px;
    padding: 0 11px;
    background: #fff;
    color: #07194b;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    text-align: left;
}

.ipk-product-turning__picker-toggle > span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ipk-product-turning__picker-toggle svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .16s ease;
}

.ipk-product-turning__picker-toggle[aria-expanded="true"] {
    border-color: #0866ff;
    outline: 3px solid rgba(8, 102, 255, .11);
}

.ipk-product-turning__picker-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.ipk-product-turning__picker-menu {
    position: absolute;
    z-index: 40;
    top: 73px;
    right: 0;
    left: 0;
    overflow: hidden;
    border: 1px solid #9fb9df;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(7, 25, 75, .18);
}

.ipk-product-turning__picker-search {
    padding: 10px;
    border-bottom: 1px solid #e3ebf7;
    background: #f5f9ff;
}

.ipk-product-turning__picker-search input {
    min-height: 42px;
    padding-right: 34px;
}

.ipk-product-turning__picker-options {
    max-height: 300px;
    overflow-y: auto;
    padding: 5px;
    overscroll-behavior: contain;
}

.ipk-product-turning__picker-option {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    align-items: center;
    border: 0;
    border-radius: 6px;
    padding: 9px 10px;
    background: transparent;
    color: #07194b;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.ipk-product-turning__picker-option:hover,
.ipk-product-turning__picker-option:focus-visible {
    outline: 0;
    background: #edf5ff;
}

.ipk-product-turning__picker-option[aria-selected="true"] {
    background: #e1eeff;
    color: #075fdd;
}

.ipk-product-turning__picker-option strong {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 13px;
    line-height: 1.35;
}

.ipk-product-turning__picker-option small {
    color: #60728f;
    font-size: 11px;
    font-weight: 600;
}

.ipk-product-turning__picker-empty {
    padding: 18px 12px;
    color: #60728f;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
}

.ipk-product-turning__picker-option--single {
    grid-template-columns: minmax(0, 1fr);
    min-height: 42px;
    font-weight: 600;
}

.ipk-product-turning__check {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: -3px 0 16px;
    color: #415675;
    font-size: 12px;
    line-height: 1.4;
}

.ipk-product-turning__check input {
    margin-top: 2px;
}

.ipk-product-turning__product-link {
    display: block;
    margin-top: 2px;
    color: #0866ff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
}

.ipk-product-turning__calculate {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 8px;
    background: #0866ff;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
}

.ipk-product-turning__error {
    min-height: 18px;
    margin-top: 10px;
    color: #aa1e1e;
    font-size: 13px;
    font-weight: 700;
}

.ipk-product-turning__error:empty {
    display: none;
}

.ipk-product-turning__results {
    margin: 0;
}

.ipk-product-turning__results > div {
    display: grid;
    grid-template-columns: minmax(125px, 1fr) minmax(90px, auto);
    gap: 12px;
    align-items: baseline;
    border-bottom: 1px solid #e3eaf4;
    padding: 8px 0;
}

.ipk-product-turning__results dt {
    color: #60728f;
    font-size: 13px;
}

.ipk-product-turning__results dd {
    margin: 0;
    color: #07194b;
    font-size: 14px;
    font-weight: 800;
    text-align: right;
}

.ipk-product-turning__range,
.ipk-product-turning__warnings {
    margin-top: 15px;
    border-radius: 8px;
    padding: 12px 13px;
    font-size: 12px;
    line-height: 1.5;
}

.ipk-product-turning__range {
    background: #eaf3ff;
    color: #274465;
}

.ipk-product-turning__warnings:empty {
    display: none;
}

.ipk-product-turning__warnings {
    border-left: 3px solid #f1a400;
    background: #fff9e9;
    color: #674c00;
}

.ipk-product-turning__warnings p {
    margin: 0 0 6px;
}

.ipk-product-turning__warnings p:last-child {
    margin-bottom: 0;
}

.ipk-product-turning__source,
.ipk-product-turning__formula {
    margin: 13px 0 0;
    color: #60728f;
    font-size: 11px;
    line-height: 1.45;
}

@media (max-width: 1120px) {
    .ipk-product-turning__columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ipk-product-turning__column--result {
        grid-column: 1 / -1;
        border-top: 1px solid #d7e2f3;
    }

    .ipk-product-turning__results {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 28px;
    }
}

@media (max-width: 720px) {
    .ipk-product-turning__columns {
        grid-template-columns: 1fr;
    }

    .ipk-product-turning__column,
    .ipk-product-turning__column--result {
        grid-column: auto;
        border-right: 0;
        border-bottom: 1px solid #d7e2f3;
        padding: 22px 19px 26px;
    }

    .ipk-product-turning__column:last-child {
        border-bottom: 0;
    }

    .ipk-product-turning__field {
        width: 100%;
        margin-right: 0;
    }

    .ipk-product-turning__results {
        display: block;
    }
}
