/* Explicit foreground/background pairs keep theme overrides readable. */
body.woocommerce-page #main { color: #f5f5f5; }
body.woocommerce-page #main a.kv-share-facebook { background: #1260c7 !important; color: #fff !important; }
body.woocommerce-page #main :is(.summary .product_meta a, .dokan-vendor-info-wrap a, .dokan-vendor-info-wrap h5, .woocommerce-LostPassword a) { color: #ffb3ce !important; }
body.single-product #main :is(.dokan-vendor-info, .dokan-vendor-info-wrap) { background: #171717; color: #f5f5f5; }
body.single-product #main :is(.dokan-vendor-info h5, .dokan-vendor-info a) { color: #ffb3ce !important; }
body.woocommerce-page #main :is(.woocommerce-error, .woocommerce-info, .woocommerce-message) { background: #242424; color: #fff; line-height: 1.6; }
body.woocommerce-page #main :is(.woocommerce-error, .woocommerce-info, .woocommerce-message) a:not(.button) { color: #ffb3ce !important; }
body.woocommerce-page #main :is(input.input-text, textarea, select, .select2-selection) { background: #fff !important; color: #171717 !important; border: 1px solid #777 !important; border-radius: 4px; }
body.woocommerce-page #main :is(input.input-text, textarea)::placeholder { color: #595959 !important; opacity: 1; }
body.woocommerce-page #main :is(.select2-selection__rendered, .select2-results__option) { color: #171717 !important; }
body.woocommerce-page #main .select2-selection__rendered { background: #fff !important; }
.select2-container--open :is(.select2-dropdown,.select2-search__field,.select2-results__option) { background: #fff; color: #171717; }
.select2-container--open .select2-results__option--highlighted[aria-selected] { background: #a81c51 !important; color: #fff !important; }
body.woocommerce-page #main :is(input, select, textarea, button, a, summary):focus-visible { outline: 3px solid #ffb3ce !important; outline-offset: 3px; }
body.woocommerce-page #main :is(input[type="checkbox"], input[type="radio"]) { accent-color: #a81c51; appearance: auto !important; opacity: 1 !important; border: 1px solid #aaa !important; background: #fff !important; }
body.woocommerce-page #main :is(input[type="checkbox"], input[type="radio"]) { position: static !important; display: inline-block !important; vertical-align: middle; width: 20px; height: 20px; margin: 0 8px 4px 0 !important; }
body.woocommerce-page #main .woocommerce-form__label-for-checkbox > span { display: inline !important; padding-left: 0 !important; }
body.woocommerce-page #main .woocommerce-form__label-for-checkbox > span::before,
body.woocommerce-page #main #payment .wc_payment_method > label::before { display: none !important; content: none !important; }
body.woocommerce-page #main #payment .wc_payment_method > label { padding-left: 0 !important; }
body.woocommerce-page #main :is(.checkout-inline-error-message,.required) { color: #ffb3b3 !important; }
body.woocommerce-page #main .checkout-inline-error-message { font-size: 16px; line-height: 1.6; margin-top: 8px; }
body.woocommerce-page #main #shipping_method li { display: flex !important; align-items: flex-start; gap: 8px; text-align: left; padding: 8px 0; }
body.woocommerce-page #main #shipping_method li input { flex: 0 0 20px; margin: 3px 0 0 !important; }
body.woocommerce-page #main #shipping_method li label { display: inline-block !important; padding: 0 !important; margin: 0 !important; text-align: left; line-height: 1.6; }
body.woocommerce-page #main #shipping_method li label::before { display: none !important; content: none !important; }
body.woocommerce-page #main :is(.button, button.button, #place_order) { background: #a81c51 !important; color: #fff !important; white-space: normal !important; line-height: 1.4; height: auto; min-height: 44px; }
body.woocommerce-page #main :is(.button, button.button, #place_order):hover { background: #82163e !important; color: #fff !important; }
body.woocommerce-page #main :is(.cart_totals, #customer_details, .woocommerce-checkout-order-review-wrap) { background: #171717; color: #f5f5f5; border-color: #555; }
body.woocommerce-page #main :is(.cart_totals, #customer_details, .woocommerce-checkout-order-review-wrap) :is(h2,h3,h4,label,th,td,small,.amount,.subscription-details) { color: #f5f5f5; }
body.woocommerce-page #main :is(.cart_totals, #customer_details, .woocommerce-checkout-order-review-wrap) :is(h2,h3,h4,th,td) { text-transform: none; }
body.woocommerce-page #main :is(.cart_totals, #customer_details, .woocommerce-checkout-order-review-wrap) a:not(.button) { color: #ffb3ce !important; text-decoration: underline; }
body.woocommerce-page #main #payment, body.woocommerce-page #main #payment .place-order { background: #171717 !important; color: #f5f5f5 !important; }
body.woocommerce-page #main #payment .payment_box { background: #292929 !important; color: #fff !important; line-height: 1.6; }
body.woocommerce-page #main #payment .payment_box::before { border-bottom-color: #292929 !important; }
body.woocommerce-page #main #payment .wc_payment_method { padding: 14px 0; border-bottom: 1px solid #555; text-align: left; }
body.woocommerce-page #main #payment .wc_payment_method label { color: #fff !important; display: inline; line-height: 1.6; overflow-wrap: anywhere; }
body.woocommerce-page #main #payment .wc_payment_method label img { background: #fff; mix-blend-mode: normal !important; border-radius: 3px; padding: 3px; max-width: 65px; height: 24px; max-height: 24px !important; vertical-align: middle; margin: 3px 4px; float: none; }
body.woocommerce-page #main .wcs-checkout-item-price + .product-total { display: none; }
body.woocommerce-page #main #payment :is(.woocommerce-privacy-policy-text, .woocommerce-terms-and-conditions-wrapper, .form-row) { text-align: left; line-height: 1.65; }
body.woocommerce-page #main .woocommerce-terms-and-conditions { background: #fff; color: #171717; padding: 16px; }
body.woocommerce-page #main .woocommerce-terms-and-conditions :is(p,h1,h2,h3,h4,strong,li) { color: #171717 !important; }
body.woocommerce-page #main .woocommerce-terms-and-conditions a { color: #8b1742 !important; }
body.woocommerce-page #main .subscription-details { white-space: normal !important; }
@media (max-width: 767px) {
    body.woocommerce-page #main > .container { width: auto !important; max-width: none !important; margin-left: 16px !important; margin-right: 16px !important; }
    body.woocommerce-page #main :is(p,label,td,th,dt,dd,.subscription-details,.woocommerce-privacy-policy-text) { font-size: 16px; line-height: 1.6; }
    body.woocommerce-page #main :is(input.input-text,textarea,select,.select2-selection__rendered) { font-size: 16px !important; min-height: 46px; }
    body.woocommerce-page #main :is(input,textarea,select,.select2-container) { max-width: 100%; box-sizing: border-box; }
    body.woocommerce-page #main :is(h1,h2,h3,h4,h5) { overflow-wrap: anywhere; line-height: 1.25; }
    body.woocommerce-page #main :is(.cart_totals,#customer_details,.woocommerce-checkout-order-review-wrap) { padding: 20px 16px !important; width: 100% !important; box-sizing: border-box; }
    body.woocommerce-page #main :is(.woocommerce-checkout,.woocommerce-cart-form,.cart-collaterals) { min-width: 0; }
    body.woocommerce-page #main :is(.form-row-first,.form-row-last) { float: none; width: 100%; }
    body.woocommerce-page #main .woocommerce-cart-form td.product-price { white-space: normal !important; overflow: visible; }
    body.woocommerce-page #main .woocommerce-cart-form .cart_item :is(td.product-price,td.product-quantity) { display: block !important; float: none !important; width: 100% !important; padding: 16px; box-sizing: border-box; }
    body.woocommerce-page #main .woocommerce-cart-form a.remove { color: #fff !important; background: #82163e !important; min-width: 44px; min-height: 44px; }
    body.woocommerce-page #main .woocommerce-cart-form td.product-price :is(span,div) { white-space: normal !important; }
    body.woocommerce-page #main .woocommerce-checkout-review-order-table { table-layout: fixed; width: 100%; }
    body.woocommerce-page #main .woocommerce-checkout-review-order-table td.product-name { padding: 12px 0; text-align: left; }
    body.woocommerce-page #main .woocommerce-checkout-review-order-table td.product-name > img { max-width: 80px !important; width: 80px !important; height: auto; float: none; display: block; margin: 0 0 12px; }
    body.woocommerce-page #main .checkout-review-order-details { width: auto; text-align: left; }
    body.woocommerce-page #main .checkout-review-order-details { display: block; float: none !important; max-width: 100%; }
    body.woocommerce-page #main .product-name dl.variation { display: block; clear: both; float: none !important; text-align: left; margin: 12px 0 0; }
    body.woocommerce-page #main .woocommerce-checkout-review-order-table tfoot :is(tr,th,td) { display: block !important; width: 100% !important; box-sizing: border-box; text-align: left !important; }
    body.woocommerce-page #main .woocommerce-checkout-review-order-table tfoot tr { padding: 12px 0; border-bottom: 1px solid #555; }
    body.woocommerce-page #main .woocommerce-checkout-review-order-table tfoot :is(th,td) { padding: 2px 0; border: 0; white-space: normal !important; }
    body.woocommerce-page #main .woocommerce-checkout-review-order-table :is(.product-total,.first-payment-date) { white-space: normal; }
    body.woocommerce-page #main #payment .payment_methods { padding: 0; margin: 0 0 20px; }
    body.woocommerce-page #main #payment .place-order { padding: 0; }
    body.woocommerce-page #main #payment :is(input[type="checkbox"],input[type="radio"]) { width: 20px; height: 20px; min-width: 20px; vertical-align: middle; margin: 0 8px 5px 0; }
    body.woocommerce-page #main #payment #place_order, body.woocommerce-page #main .wc-proceed-to-checkout .button { width: 100% !important; box-sizing: border-box; padding: 14px 16px; }
    body.woocommerce-page #main .woocommerce-form-coupon-toggle .showcoupon { display: inline; padding: 0; background: transparent !important; text-transform: none; text-decoration: underline; }
    body.woocommerce-page #main .woocommerce-form-coupon-toggle .woocommerce-info { padding: 16px; text-align: left; }
    body.woocommerce-page #main .woocommerce-cart-form .coupon { padding: 16px; }
    body.woocommerce-page #main .first-payment-date small { font-size: 14px; }
}
