#tm-calc-widget {
    margin: 0 0 1.5rem;
    font-family: inherit;
}

#tm-calc-widget + #price_calculator tr:first-child {
    display: none;
}

#tm-calc-widget + #price_calculator td:first-child {
    padding-left: 0;
}

#tm-calc-widget + #price_calculator {
    margin-bottom: 0;
}

#tm-covers-summary {
    font-size: 12px;
    color: #1a1a1a;
    margin: 4px 0 0;
    line-height: 1.6;
    text-align: right;
    margin-bottom: 10px;
}

.product-type-simple .price {
    color: #1a1a1a;
}

.product-type-variable .price {
    color: #999;
}

.woocommerce-variation-price > .price {
    color: #1a1a1a;
}

#price_calculator .price-table-row.calculated-price {
    font-size: 1.125rem;
}

#price_calculator .price-table-row.calculated-price .amount {
    color: #1a1a1a;
    font-weight: 700;
}

#tm-calc-widget .tm-input-group {
    display: flex;
    border: 1.5px solid #d0d0d0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
    transition: border-color 0.15s, box-shadow 0.15s;
}

#tm-calc-widget .tm-input-group:focus-within {
    border-color: #b8243a;
    box-shadow: 0 0 0 3px rgba(184, 36, 58, 0.10);
}

#tm-calc-widget .tm-field {
    flex: 1;
    display: flex;
    align-items: center;
    background: #fff;
    min-width: 0;
}

#tm-calc-widget .tm-field input {
    flex: 1;
    min-width: 0;
    height: 46px;
    padding: 0 8px 0 12px;
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
    background: transparent;
    border: none;
    outline: none;
    -moz-appearance: textfield;
    appearance: textfield;
}

#tm-calc-widget .tm-field input::-webkit-inner-spin-button,
#tm-calc-widget .tm-field input::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

#tm-calc-widget .tm-field-unit {
    padding: 0 10px 0 2px;
    font-size: 12px;
    color: #aaa;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 46px;
}

#tm-calc-widget .tm-sep {
    width: 1px;
    background: #d0d0d0;
    align-self: stretch;
    flex-shrink: 0;
}

#tm-calc-widget .tm-meta {
    font-size: 18px;
    color: var(--wd-entities-title-color);
    margin: 0 0 4px;
    text-align: left;
    line-height: 1.6;
    font-weight: 600;
}

#tm-calc-widget .tm-meta + .price {
    font-size: 18px;
}

#tm-calc-widget .tm-waste-label {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: 13px;
    color: #555;
    margin: 8px 0 0;
    cursor: pointer;
    line-height: 1.4;
}

#tm-calc-widget .tm-waste-label input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #b8243a;
    width: 14px;
    height: 14px;
    cursor: pointer;
}

.tilemode-calc-wrapper {
    display: none;
}
