.stgo-browser-warning {
    background: #8b1d1d;
    color: #fff;
    font-weight: 700;
    padding: 14px 20px;
    text-align: center;
}

.stgo-character-counter {
    color: #5f6762;
    display: block;
    font-size: 12px;
    margin-top: 5px;
    text-align: right;
}

.stgo-checkout-challenge {
    background: #fff8e6;
    border: 1px solid #d89000;
    border-left-width: 4px;
    border-radius: 6px;
    color: #171c19;
    margin: 0 auto 24px;
    max-width: 1100px;
    padding: 18px 20px;
}

.stgo-checkout-challenge[hidden] {
    display: none;
}

.stgo-checkout-challenge.is-blocked {
    background: #fff1f1;
    border-color: #a82020;
}

.stgo-checkout-challenge h2,
.stgo-checkout-challenge p {
    margin: 0 0 10px;
}

.stgo-checkout-challenge__controls {
    align-items: center;
    display: flex;
    gap: 10px;
}

.stgo-checkout-challenge__answer {
    border: 1px solid #68736c;
    border-radius: 4px;
    box-sizing: border-box;
    max-width: 180px;
    min-height: 44px;
    padding: 8px 10px;
}

.stgo-checkout-challenge__verify {
    background: #0b0f0d;
    border: 0;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    min-height: 44px;
    padding: 8px 18px;
}

.stgo-checkout-challenge__verify:disabled {
    cursor: wait;
    opacity: .65;
}

.stgo-checkout-challenge__feedback {
    color: #a82020;
    font-weight: 700;
    margin-top: 10px;
}

@media (max-width: 600px) {
    .stgo-checkout-challenge__controls {
        align-items: stretch;
        flex-direction: column;
    }

    .stgo-checkout-challenge__answer {
        max-width: none;
        width: 100%;
    }
}

.woocommerce,
.woocommerce table,
.woocommerce td,
.woocommerce th,
.woocommerce address,
.woocommerce p,
.woocommerce a,
.wc-block-components-address-card,
.wc-block-components-order-summary-item,
.wc-block-components-product-name,
.stgo-order-addresses,
.stgo-order-addresses dd,
.stgo-order-addresses dt,
.order_data_column,
.order_data_column p,
#woocommerce-order-items td,
#woocommerce-order-items a {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Keep compact cart-total labels readable while long customer/order values
   retain the defensive wrapping rules above. */
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table th {
    min-width: 7.5rem;
    overflow-wrap: normal;
    white-space: nowrap;
    word-break: normal;
}

.woocommerce-cart .cart-collaterals .cart_totals table.shop_table td {
    overflow-wrap: anywhere;
    word-break: normal;
}

@media (max-width: 480px) {
    .woocommerce-cart .cart-collaterals .cart_totals table.shop_table th {
        min-width: 6.5rem;
        white-space: normal;
    }
}

.wc-block-checkout,
.wc-block-components-sidebar-layout,
.wc-block-components-main,
.wc-block-components-sidebar {
    max-width: 100%;
    min-width: 0;
}
