/* Quote controls only. Layout, typography and colors are supplied by Gioia. */
.dnc-button { cursor: pointer; text-align: center; }
/* Product-list actions are readable detail links rather than icon-only carts. */
body a.button.dnc-product-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto !important;
    height: auto !important;
    min-height: 40px;
    padding: 10px 14px !important;
    box-sizing: border-box;
    font-size: 14px !important;
    font-weight: 500;
    line-height: 1.3 !important;
    color: #1c2754 !important;
    background-color: #eaf4fa !important;
}
.dnc-button:focus-visible, .dnc-quote-form :focus-visible, .dnc-product-inquiry :focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.dnc-product-inquiry { margin: 24px 0; padding: 24px; background: #fafafa; }
.dnc-product-inquiry label, .dnc-quote-form label { display: block; margin: 0 0 8px; font-weight: 600; color: inherit; }
.dnc-product-inquiry select { width: 100%; margin-bottom: 16px; padding: 12px; }
.dnc-quote-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; padding: 64px 0; }
.dnc-quote-layout h1 { font-size: clamp(28px, 3.5vw, 46px); line-height: 1.25; text-transform: none; margin: 16px 0 24px; }
.dnc-eyebrow { letter-spacing: .15em; font-size: 12px; color: currentColor; }
.dnc-quote-form { background: #fafafa; padding: 32px; }
.dnc-quote-form input, .dnc-quote-form select, .dnc-quote-form textarea { box-sizing: border-box; width: 100%; border: 1px solid #ddd; background: white; padding: 12px; min-height: 46px; margin: 0 0 20px; font: inherit; color: inherit; }
.dnc-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dnc-help { font-size: 13px; line-height: 1.6; margin-top: 0; }
.dnc-honeypot { position: absolute; left: -10000px; }
.dnc-success { padding: 64px 24px; text-align: center; }
.dnc-success h1 { font-size: clamp(28px, 3vw, 42px); line-height: 1.3; text-transform: none; }
.dnc-catalog-only .eltdf-shopping-cart-holder { display: none !important; }
.dnc-order-options { width: 100%; margin: 20px 0; }
.dnc-order-options label { display: block; margin: 12px 0 6px; font-weight: 500; }
.dnc-order-options select, .dnc-order-options input { width: 100%; box-sizing: border-box; padding: 10px 12px; min-height: 44px; }
.dnc-order-options .dnc-order-piece { font-size: 16px; line-height: 1.6; }
.dnc-pending-fee { display: block; font-size: 15px; font-weight: 400; line-height: 1.5; margin-top: 8px; }
body.dnc-orders-enabled .single_add_to_cart_button { font-family: Dosis, sans-serif; font-size: 16px !important; }
body.dnc-orders-enabled .button,
body.dnc-orders-enabled #place_order {
    background-color: #eaf4fa !important;
    color: #1c2754 !important;
    border: 1px solid #1c2754;
}
body.dnc-orders-enabled .button:focus-visible { outline: 2px solid #1c2754; outline-offset: 3px; }
.dnc-orders-enabled .woocommerce-checkout-payment .payment_box { font-family: Dosis, sans-serif; }
/* Let native checkout validation messages grow instead of overlapping fields. */
body.dnc-orders-enabled .woocommerce-error,
body.dnc-orders-enabled .woocommerce-error li {
    height: auto !important;
    float: none !important;
    text-align: left;
}
body.dnc-orders-enabled .woocommerce-error li {
    display: block;
    line-height: 1.6;
    margin: 4px 0;
}
body.dnc-orders-enabled .woocommerce-error li a {
    float: none !important;
    display: inline;
    margin: 0;
}
/* Match the order controls and mini-cart to the existing navy / pale-blue palette. */
body.dnc-orders-enabled .eltdf-shopping-cart-dropdown .eltdf-cart-bottom .eltdf-btn-holder .eltdf-checkout {
    background: #eaf4fa !important;
    color: #1c2754 !important;
    border: 1px solid #1c2754;
}
body.dnc-orders-enabled .eltdf-shopping-cart-dropdown :is(.eltdf-quantity, .eltdf-total, .eltdf-total-amount) {
    color: #1c2754;
    font-family: Dosis, sans-serif;
}
body.dnc-orders-enabled :is(.eltdf-shopping-cart-dropdown .eltdf-checkout, .single_add_to_cart_button):hover {
    background: #dcecf5 !important;
    border-color: #1c2754;
}
body.dnc-orders-enabled .summary form.cart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin: 24px 0 32px;
}
body.dnc-orders-enabled .summary .dnc-order-options { flex: 0 0 100%; margin: 0; }
body.dnc-orders-enabled .summary .dnc-order-piece { margin: 0 0 20px; }
body.dnc-orders-enabled .summary .dnc-order-options label { margin: 16px 0 8px; }
body.dnc-orders-enabled .summary .dnc-help { margin: 8px 0 4px; }
body.dnc-orders-enabled .summary .dnc-order-options select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%231c2754' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px 8px;
}
body.dnc-orders-enabled :is(.summary form.cart, .woocommerce-cart-form) .eltdf-quantity-buttons {
    display: inline-flex;
    flex: 0 0 132px;
    margin: 0;
}
body.dnc-orders-enabled :is(.summary form.cart, .woocommerce-cart-form) .eltdf-quantity-buttons :is(.eltdf-quantity-minus, .eltdf-quantity-plus, .eltdf-quantity-input) {
    width: 44px;
    height: 48px;
    top: 0;
    border: 1px solid #b8c1ce;
    border-radius: 0;
    color: #1c2754;
    font-family: Dosis, sans-serif;
}
body.dnc-orders-enabled :is(.summary form.cart, .woocommerce-cart-form) .eltdf-quantity-input { border-left: 0; border-right: 0; }
body.dnc-orders-enabled :is(.summary form.cart, .woocommerce-cart-form) :is(.eltdf-quantity-minus, .eltdf-quantity-plus):hover { background: #eaf4fa; }
body.dnc-orders-enabled :is(.summary form.cart, .woocommerce-cart-form) :is(.eltdf-quantity-minus, .eltdf-quantity-plus)::before { top: 22px; left: 14px; right: 14px; }
body.dnc-orders-enabled :is(.summary form.cart, .woocommerce-cart-form) .eltdf-quantity-plus::after { top: 15px; bottom: 15px; left: 20px; }
body.dnc-orders-enabled .summary form.cart .single_add_to_cart_button {
    flex: 1 1 220px;
    min-height: 48px;
    margin: 0;
    padding: 12px 20px;
    line-height: 22px;
}
body.dnc-orders-enabled .summary :is(select, input):focus-visible,
body.dnc-orders-enabled .eltdf-shopping-cart-dropdown a:focus-visible { outline: 2px solid #1c2754; outline-offset: 3px; }
@media (max-width: 680px) {
    body.dnc-orders-enabled .woocommerce-cart-form table.shop_table,
    body.dnc-orders-enabled .woocommerce-cart-form table.shop_table tbody { display: block; width: 100%; }
    body.dnc-orders-enabled .woocommerce-cart-form table.shop_table thead { display: none; }
    body.dnc-orders-enabled .woocommerce-cart-form tr.cart_item {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
        position: relative;
        padding: 20px 0;
        border-bottom: 1px solid #dce1df;
    }
    body.dnc-orders-enabled .woocommerce-cart-form tr.cart_item td {
        display: block;
        min-width: 0;
        width: auto !important;
        padding: 0 !important;
        border: 0;
        text-align: left;
    }
    body.dnc-orders-enabled .woocommerce-cart-form tr.cart_item .product-thumbnail { display: none; }
    body.dnc-orders-enabled .woocommerce-cart-form tr.cart_item .product-remove { position: absolute; top: 20px; right: 0; z-index: 2; }
    body.dnc-orders-enabled .woocommerce-cart-form tr.cart_item a.remove { display: flex; align-items: center; justify-content: center; min-width: 32px; height: 32px !important; line-height: 1 !important; }
    body.dnc-orders-enabled .woocommerce-cart-form tr.cart_item .product-name { grid-column: 1 / -1; padding-right: 24px !important; }
    body.dnc-orders-enabled .woocommerce-cart-form tr.cart_item .product-subtotal { grid-column: 1 / -1; }
    body.dnc-orders-enabled .woocommerce-cart-form tr.cart_item :is(.product-price, .product-quantity, .product-subtotal)::before {
        content: attr(data-title) ": ";
        display: block;
        margin-bottom: 6px;
        font-size: 15px;
    }
    body.dnc-orders-enabled .woocommerce-cart-form tr.cart_item .variation p { margin: 0; }
    body.dnc-orders-enabled .woocommerce-cart-form tr.cart_item dl.variation { display: grid; grid-template-columns: max-content 1fr; gap: 4px 8px; }
    body.dnc-orders-enabled .woocommerce-cart-form tr.cart_item dl.variation :is(dt, dd) { float: none; margin: 0; }
    body.dnc-orders-enabled .woocommerce-cart-form .actions { display: block; width: 100%; box-sizing: border-box; }
    body.dnc-orders-enabled .woocommerce-cart-form .actions .coupon { display: flex; flex-wrap: wrap; gap: 8px; }
}
.woocommerce .onsale, .eltdf-woo-product-mark.eltdf-woo-onsale { display: none !important; }
@media (max-width: 768px) { .dnc-quote-layout { grid-template-columns: 1fr; gap: 24px; padding: 32px 0; } .dnc-quote-form { padding: 20px; } .dnc-form-row { grid-template-columns: 1fr; gap: 0; } }
