div#pc_ranges_table table.table tbody tr td {
    text-align: center !important;
}
div#pc_ranges_table table.table thead tr th {
    text-align: center !important;
}
span.pc-from-torange{
	display: inline;
    padding: .2em .6em .3em;
    font-size: 75%;
    font-weight: bold;
    line-height: 1;
    color: #5f4e4e;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
}
table#pc_product_type_table tbody tr td {
    border: none;
}
input.form-control,select.form-control{
    /* width: auto !important; */
    margin: 0 auto;
    text-align: center;
}

td.price_calculation, td.price_calculation input {
    text-align: center;
}
table#variable_product_table tbody tr td {
    width: 50%;
    border:none;
}
#RangeError{

    border: 1px solid red;
    padding: 10px;
    background-color: red;
    border: 1;
    color: white;
    border-radius: 4px;
}
.minus{
    width: 15% !important;
}
.plus{
    width: 15% !important;

}
.incremental_length{
    width: 100% !important;
}

.min_max_error_message{
    color: red;
    display: none;
}
.min_max_error_message_length{
    display: none;
    color: red;
}
.min_max_error_message_width{
    display: none;
    color: red;
}
.min_max_error_message_height{
    display: none;
    color: red;
}
.price_fractional_div{
    display: flex;
}

/* block ckeckout validation message */

/* ================================================================
   Custom Option Out-of-Stock Error Message (Blocks & Classic Checkout)
   ================================================================ */

.pc-custom-stock-error {
    display: block;
    width: 100%;
    margin: 16px 0 8px;
    padding: 14px 18px;
    background: #faf0f0;
    border-left: 4px solid #d63638;
    border-radius: 6px;
    color: #5e1f1f;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 500;
    text-align: left;
    box-shadow: 0 2px 6px rgba(214, 54, 56, 0.08);
    animation: pcStockErrorFadeIn 0.4s ease-out;
}

.pc-custom-stock-error strong {
    color: #b32d2e;
    font-weight: 600;
}

/* Optional icon (using dashicons – already loaded on checkout) */
.pc-custom-stock-error::before {
    content: "\f534";
    font-family: dashicons;
    margin-right: 10px;
    vertical-align: middle;
    font-size: 20px;
    line-height: 1;
    color: #d63638;
}

/* Dark mode support (if your site ever uses it) */
@media (prefers-color-scheme: dark) {
    .pc-custom-stock-error {
        background: #3b1e1e;
        color: #f5c6c6;
        border-left-color: #e24040;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
    .pc-custom-stock-error strong {
        color: #ff6b6b;
    }
    .pc-custom-stock-error::before {
        color: #ff6b6b;
    }
}

/* Fade-in animation */
@keyframes pcStockErrorFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}