.calc-ingot {
    position: relative;
}

.calc-ingot-weight {
    box-sizing: border-box;
    padding: 30px;
    border-radius: 4px;
    border: 1px solid #e6e6e6;
}

.calc-ingot-weight .ciw-title {
    font-size: 200%;
    font-weight: 500;
    line-height: 1.2;
}

.calc-ingot-weight .ciw-descr {
    padding-bottom: 16px;
    color: #808080;
}

.calc-ingot-weight .ciw-select {

}

.calc-ingot-weight .ciw-item {
    display: flex;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    min-width: 46px;
    aspect-ratio: 2/3;
    font-size: 0.9em;
    font-weight: 500;
    color: #b48846;
    text-shadow: 0 1px 0 #fff;
    border: 1px solid #f7cc97;
    border-radius: 4px;
    outline: 1px solid #bfa404;
    background: linear-gradient(30deg, #eeca78, #fef3b3);
    cursor: pointer;
}

.calc-ingot-weight .ciw-item.active,
.calc-ingot-weight .ciw-item:hover {
    font-weight: 600;
    color: #725220;
    text-shadow: 0 1px 0 #ffdd7f;
    background: linear-gradient(30deg, #9c5c1f 5%, #be8538 20%, #eeca78 60%, #fef3b3);
}

.calc-ingot-body {
    display: none!important;
    box-sizing: border-box;
    padding: 30px;
    border-radius: 4px;
    border: 1px solid #e6e6e6;
}

.calc-ingot-body.active {
    display: block!important;
}

.calc-ingot-body .cib-title {
    font-size: 180%;
    font-weight: 500;
    line-height: 1.2;
    padding-bottom: 16px;
}

.calc-ingot-body .cib-image {
    border-radius: 4px;
    max-width: 100px;
}

.calc-ingot-body .field-title {
    font-weight: 500;
    font-size: 130%;
    padding-bottom: 16px;
}

.calc-ingot-body .field-descr {
    color: #808080;
}

.calc-ingot-body .field-cost {
    box-sizing: border-box;
    font-weight: 500;
    font-size: 180%;
    white-space: nowrap;
}

.calc-ingot-body .field-action {
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    margin-top: 10px;
    padding: 8px 16px;
    font-size: 90%;
    border-radius: 4px;
    background: #f5f5f5;
    white-space: nowrap;
    text-align: right;
    color: #000;
    text-decoration: none;
}

.cib-sum,
.ci-block-buttons {
    display: none;
}

.cib-sum.show,
.ci-block-buttons.show {
    display: block;
}

.calc-ingot-body .field-content p:last-child {
    margin-bottom: 0;
}

.calc-ingot-form {
    display: none;
    box-sizing: border-box;
    padding: 30px;
    border-radius: 4px;
    background: #ffd200;
}

.calc-ingot-form.show {
    display: block;
}

.calc-ingot-empty {
    display: none!important;
    position: relative;
    box-sizing: border-box;
    padding: 30px;
    border-radius: 4px;
    background: #F4F4F4 no-repeat center url(bg-empty.webp);
}

.calc-ingot-empty.active {
    display: block!important;
}

.ci-tooltip {
    display: block;
    position: absolute;
    left: 30px;
    padding: 16px;
    width: 100%;
    max-width: 200px;
    border-radius: 4px;
    background: #fff;
}

.ci-tooltip-weight {
    top: 160px;
}

.ci-tooltip .title {
    font-size: 110%;
    font-weight: 500;
}

.ci-tooltip::before {
    display: block;
    content: '';
    position: absolute;
    top: 30px;
    left: -10px;
    width: 20px;
    height: 20px;
    background: #fff;
    transform: rotate(-45deg);
}

@media (max-width: 959px) {
    .calc-ingot-empty.active {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .calc-ingot-weight .ciw-title {
        font-size: 160%;
    }

    .calc-ingot-body .cib-title {
        font-size: 140%;
    }

    .calc-ingot-body .field-title {
        font-size: 120%;
    }

    .calc-ingot-body .field-cost {
        font-size: 170%;
    }
}

@media (max-width: 559px) {
    .calc-ingot-weight,
    .calc-ingot-body,
    .calc-ingot-form {
        padding: 16px;
    }

    .calc-ingot-body .field-descr {
        font-size: 90%;
    }
}