
/* Header fijo arriba (anula overflow:auto del CSS de Wolmart que impedia el sticky) */
html:root { overflow: visible !important; scroll-padding-top: 90px; }
html body:not(.mcx-lock) { overflow-x: clip !important; overflow-y: visible !important; }
html body.mcx-lock { overflow: hidden !important; }
#mcx:not(.is-compact) { margin-bottom: 0 !important; }
#mcx.is-compact { margin-bottom: var(--mcx-gap, 0px) !important; }
@media (max-width: 991px) { html:root { scroll-padding-top: 130px; } }
@media (min-width: 783px) { body.admin-bar #mcx { top: 32px !important; } }
.woocommerce-shop .woocommerce-products-header::before, .post-type-archive-product .woocommerce-products-header::before { content: "Paga con Addi, Sistecrédito (MarketCityPay), Nequi, Daviplata o tarjeta en línea con Bold" !important; }
/* Buscador del header: estructura fija (evita que otro estilo estire el botón sobre el campo) */
#mcx .mcx-sform { display: flex !important; align-items: center !important; background: #fff !important; }
#mcx .mcx-sform .mcx-sinput { display: block !important; flex: 1 1 auto !important; min-width: 0 !important; width: auto !important; background: transparent !important; text-align: left !important; }
#mcx .mcx-sform .mcx-sgo { flex: 0 0 auto !important; width: auto !important; max-width: 140px !important; position: static !important; background: #0b5cff !important; color: #fff !important; }
#mcx .mcx-sform { height: 50px !important; padding: 0 !important; border-radius: 12px !important; overflow: hidden !important; box-sizing: border-box !important; }
#mcx .mcx-sform .mcx-sinput { height: 46px !important; line-height: 46px !important; font-size: 16px !important; font-weight: 400 !important; color: #0f172a !important; }
#mcx .mcx-sform .mcx-sgo, #mcx .mcx-sform .mcx-sgo:hover, #mcx .mcx-sform .mcx-sgo:focus, #mcx .mcx-sform .mcx-sgo:active { height: 40px !important; min-height: 0 !important; max-height: 40px !important; line-height: 40px !important; margin: 0 3px 0 0 !important; padding: 0 20px !important; border: 0 !important; border-radius: 9px !important; font-family: Poppins, sans-serif !important; font-size: 14px !important; font-weight: 600 !important; letter-spacing: 0 !important; text-transform: none !important; transform: none !important; box-shadow: none !important; align-self: center !important; }
#mcx .mcx-sform .mcx-sgo:hover { background: #0a4fdc !important; }
#mcx .mcx-sform .mcx-sgo:focus-visible { outline: 2px solid #fff !important; outline-offset: -4px !important; }
#mcx .mcx-sform:focus-within { border-color: #0b5cff !important; box-shadow: 0 0 0 3px rgba(11,92,255,.25) !important; }
@media (max-width: 991px) { #mcx .mcx-sform { height: 46px !important; } #mcx .mcx-sform .mcx-sinput { height: 42px !important; line-height: 42px !important; } #mcx .mcx-sform .mcx-sgo, #mcx .mcx-sform .mcx-sgo:hover, #mcx .mcx-sform .mcx-sgo:focus, #mcx .mcx-sform .mcx-sgo:active { height: 36px !important; max-height: 36px !important; line-height: 36px !important; padding: 0 14px !important; font-size: 13px !important; } }
body.woocommerce-cart a.mcg-fab, body.woocommerce-checkout a.mcg-fab, body.woocommerce-account a.mcg-fab, body.woocommerce-order-received a.mcg-fab { display: none !important; }
@media (min-width: 768px) and (max-width: 991px) { body.single-product a.mcg-fab { bottom: 132px !important; } }
.single-product .woocommerce-product-gallery::before { content: none !important; display: none !important; }
.single-product form.cart .sticky-content-wrapper::before { content: none !important; display: none !important; }
.single-product .single_buy_now_button::after { content: none !important; display: none !important; }
.single-product form.cart::after { content: none !important; display: none !important; }
.single-product .summary.entry-summary::before { content: none !important; display: none !important; }
.single-product .woocommerce-product-details__short-description::before { content: none !important; display: none !important; }
.single-product .woocommerce-product-details__short-description:not(:has(p:not(:empty))) { display: none !important; }
.single-product .summary .price::after { content: "Paga a cuotas con Addi o MarketCityPay, o en línea con Nequi, Daviplata o Bold." !important; font-weight: 600 !important; }
.single-product .mc-product-live-box { display: none !important; }
.single-product .single_add_to_cart_button::before, .single-product .single_buy_now_button::before { font-family: Poppins, sans-serif !important; text-transform: none !important; letter-spacing: 0 !important; }
@media (max-width: 767px) { body.single-product a.sidebar-toggle { top: auto !important; bottom: 150px !important; width: 30px !important; height: 34px !important; opacity: .85; } }

.single-product form.cart::before, .single-product form.cart .sticky-content::before, .single-product form.cart .sticky-content::after, .single-product form.cart .sticky-content-wrapper::after, .single-product .single_add_to_cart_button::after, .single-product .quantity-wrapper::after { content: none !important; display: none !important; }
.woocommerce-shop .product-loop .product-hide-details::before, .post-type-archive-product .product-loop .product-hide-details::before, .tax-product_cat .product-loop .product-hide-details::before { content: none !important; display: none !important; }
@media (max-width: 767px) { body.single-product a.mcg-fab { display: none !important; } }
@media (max-width: 420px) { .mcd-ben { grid-template-columns: 1fr !important; } }

@media (max-width: 767px) {
	.woocommerce-cart table.cart tr.cart_item { display: grid !important; grid-template-columns: 84px 1fr; column-gap: 12px; position: relative; padding: 14px 12px !important; }
	.woocommerce-cart table.cart tr.cart_item td { display: block !important; padding: 2px 0 !important; border: 0 !important; text-align: left !important; }
	.woocommerce-cart table.cart tr.cart_item td.product-thumbnail { position: static !important; grid-column: 1; grid-row: 1 / span 4; width: 84px !important; }
	.woocommerce-cart table.cart tr.cart_item td.product-thumbnail img { width: 84px !important; height: 84px !important; object-fit: contain; border-radius: 10px; }
	.woocommerce-cart table.cart tr.cart_item td:not(.product-thumbnail) { grid-column: 2; }
	.woocommerce-cart table.cart tr.cart_item td.product-name { padding-right: 28px !important; font-weight: 600; }
	.woocommerce-cart table.cart tr.cart_item td.product-thumbnail .remove, .woocommerce-cart table.cart tr.cart_item .product-remove a { position: absolute !important; top: 10px; right: 10px; }
}
.woocommerce-cart table.cart .quantity { display: inline-flex !important; align-items: center; width: 136px !important; height: 44px; position: relative; }
.woocommerce-cart table.cart .quantity .qty { order: 2; flex: 1 1 auto; width: auto !important; min-width: 40px; padding: 0 !important; text-align: center; height: 44px; }
.woocommerce-cart table.cart .quantity .quantity-minus { order: 1; position: static !important; flex: 0 0 40px; height: 44px; }
.woocommerce-cart table.cart .quantity .quantity-plus { order: 3; position: static !important; flex: 0 0 40px; height: 44px; }
.woocommerce-cart table.cart .quantity .quantity-minus, .woocommerce-cart table.cart .quantity .quantity-plus { transform: none !important; top: auto !important; height: 42px !important; border: 0 !important; border-radius: 10px !important; background: #f1f5ff !important; color: #0b5cff !important; display: grid !important; place-items: center; margin: 0 1px !important; }
.woocommerce-cart table.cart .quantity { border-radius: 12px !important; }
.woocommerce-cart table.cart .quantity .qty { font-weight: 700; color: #0f172a !important; }
.woocommerce-checkout form.checkout .form-row label { display: block !important; width: auto !important; }
.woocommerce-checkout form.checkout .form-row .woocommerce-input-wrapper { display: block !important; }
.woocommerce-checkout form.checkout .form-row input.input-text, .woocommerce-checkout form.checkout .form-row select, .woocommerce-checkout form.checkout .form-row textarea { width: 100% !important; display: block !important; min-height: 46px; }
.woocommerce-checkout form.checkout .form-row.woocommerce-invalid input.input-text, .woocommerce-checkout form.checkout .form-row.woocommerce-invalid select { border-color: #dc2626 !important; background: #fff7f7 !important; }
.woocommerce-checkout .mc-field-err { display: block; color: #b91c1c; font-size: 13px; margin-top: 6px; font-weight: 600; }
.woocommerce-checkout form.checkout input:focus-visible, .woocommerce-checkout form.checkout select:focus-visible, .woocommerce-checkout #place_order:focus-visible { outline: 3px solid #0b5cff !important; outline-offset: 2px; }
.woocommerce-checkout #place_order { min-height: 52px; width: 100%; font-weight: 700; }
.woocommerce-checkout #place_order[disabled], .woocommerce-checkout form.checkout.processing #place_order { opacity: .7; cursor: progress; }
.woocommerce-cart .wc-proceed-to-checkout .checkout-button { min-height: 52px; display: flex !important; align-items: center; justify-content: center; }
