/* Efecto Deporte - Flujo de compra */
:root {
	--edfc-navy: #142d49;
	--edfc-red: #e63c2f;
	--edfc-text: #182b3e;
	--edfc-muted: #637180;
	--edfc-line: #e6ebef;
	--edfc-soft: #f5f7f9;
	--edfc-ok: #1b704f;
}

/* ---------- Pasos ---------- */
.edfc-steps { margin: 0 0 28px; }
.edfc-steps ol { list-style: none; margin: 0 auto; padding: 0; display: flex; max-width: 640px; counter-reset: none; }
.edfc-steps li { flex: 1; position: relative; text-align: center; font-size: 13px; color: var(--edfc-muted); }
.edfc-steps li::before { content: ""; position: absolute; top: 15px; left: -50%; right: 50%; height: 2px; background: var(--edfc-line); z-index: 0; }
.edfc-steps li:first-child::before { display: none; }
.edfc-steps li.is-done::before, .edfc-steps li.is-current::before { background: var(--edfc-navy); }
.edfc-steps a { color: inherit; text-decoration: none; }
.edfc-step-num { position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; margin: 0 auto 6px; border-radius: 50%; background: #fff; border: 2px solid var(--edfc-line); font-weight: 700; color: var(--edfc-muted); }
.edfc-step-label { display: block; font-weight: 600; }
.edfc-steps .is-done .edfc-step-num { background: var(--edfc-navy); border-color: var(--edfc-navy); color: #fff; }
.edfc-steps .is-current .edfc-step-num { background: var(--edfc-red); border-color: var(--edfc-red); color: #fff; box-shadow: 0 0 0 4px #e63c2f22; }
.edfc-steps .is-current { color: var(--edfc-navy); }

/* ---------- Checkout: estructura ---------- */
.edfc-flow.woocommerce-checkout form.checkout h3 { color: var(--edfc-navy); font-size: 20px; font-weight: 700; margin: 0 0 16px; }
.edfc-flow.woocommerce-checkout #customer_details .col-1,
.edfc-flow.woocommerce-checkout #customer_details .col-2 { width: 100% !important; float: none !important; margin: 0 !important; }
.edfc-flow.woocommerce-checkout #customer_details .col-2 { margin-top: 18px !important; }
.edfc-flow.woocommerce-checkout .form-row label { font-size: 13px; font-weight: 600; color: var(--edfc-text); }
.edfc-flow.woocommerce-checkout .form-row .description { font-size: 12px; color: var(--edfc-muted); margin-top: 4px; }
.edfc-flow.woocommerce-checkout .form-row input.input-text,
.edfc-flow.woocommerce-checkout .form-row select,
.edfc-flow.woocommerce-checkout .form-row textarea,
.edfc-flow.woocommerce-checkout .select2-container .select2-selection--single { border: 1px solid #d3dbe3; border-radius: 6px; min-height: 46px; font-size: 15px; background: #fff; }
.edfc-flow.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered { line-height: 44px; }
.edfc-flow.woocommerce-checkout .form-row input.input-text:focus,
.edfc-flow.woocommerce-checkout .form-row select:focus,
.edfc-flow.woocommerce-checkout .form-row textarea:focus { border-color: var(--edfc-navy); box-shadow: 0 0 0 3px #142d4922; outline: none; }
.edfc-flow.woocommerce-checkout .woocommerce-invalid input.input-text { border-color: var(--edfc-red); }
.edfc-flow.woocommerce-checkout .woocommerce-validated input.input-text { border-color: #9cc9b3; }
.edfc-error { color: #b32920; font-size: 12px; margin: 5px 0 0; }
.edfc-flow #billing_country_field strong { display: block; padding: 11px 14px; background: var(--edfc-soft); border-radius: 6px; font-weight: 600; }

@media (min-width: 992px) {
	.edfc-flow.woocommerce-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 410px; column-gap: 44px; align-items: start; }
	.edfc-flow.woocommerce-checkout form.checkout > * { grid-column: 1; }
	.edfc-flow.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
	.edfc-flow.woocommerce-checkout form.checkout #customer_details { grid-row: 1 / span 12; width: auto !important; float: none !important; margin: 0 !important; }
	.edfc-flow.woocommerce-checkout form.checkout #order_review_heading { grid-column: 2; grid-row: 1; width: auto !important; float: none !important; margin: 0 !important; padding: 22px 22px 0; background: var(--edfc-soft); border-radius: 8px 8px 0 0; }
	.edfc-flow.woocommerce-checkout form.checkout > .edfc-free-ship { grid-column: 2; grid-row: 2; margin: 0; border-radius: 0; padding: 12px 22px 0; background: var(--edfc-soft); border: 0; }
	.edfc-flow.woocommerce-checkout form.checkout #order_review { grid-column: 2; grid-row: 3 / span 10; align-self: start; position: sticky; top: 24px; width: auto !important; float: none !important; margin: 0 !important; border-radius: 0 0 8px 8px !important; }
}

/* ---------- Resumen del pedido ---------- */
.edfc-flow.woocommerce-checkout #order_review { background: var(--edfc-soft); padding: 22px; border-radius: 8px; }
.edfc-flow.woocommerce-checkout #order_review table.shop_table { border: 0; margin-bottom: 18px; background: transparent; }
.edfc-flow.woocommerce-checkout #order_review table.shop_table th,
.edfc-flow.woocommerce-checkout #order_review table.shop_table td { border: 0; border-bottom: 1px solid var(--edfc-line); padding: 12px 0; background: transparent; font-size: 14px; }
.edfc-flow.woocommerce-checkout #order_review table.shop_table td:last-child,
.edfc-flow.woocommerce-checkout #order_review table.shop_table th:last-child { text-align: right; }
.edfc-flow.woocommerce-checkout #order_review .order-total th,
.edfc-flow.woocommerce-checkout #order_review .order-total td { font-size: 18px; color: var(--edfc-navy); border-bottom: 0; }
.edfc-flow .product-name { display: table-cell; }
.edfc-thumb { display: inline-block; vertical-align: middle; width: 48px; height: 48px; margin-right: 10px; background: #fff; border-radius: 6px; overflow: hidden; border: 1px solid var(--edfc-line); }
.edfc-thumb img { width: 100%; height: 100%; object-fit: contain; margin: 0 !important; }
.edfc-item-name { vertical-align: middle; }
.edfc-flow #place_order { width: 100%; min-height: 54px; font-size: 16px !important; font-weight: 700; letter-spacing: .02em; border-radius: 6px !important; background: var(--edfc-red) !important; border: 0 !important; transition: filter .15s; }
.edfc-flow #place_order:hover { filter: brightness(.93); }

/* ---------- Envío (compacto, con logos) ---------- */
.edfc-flow tr.woocommerce-shipping-totals th,
.edfc-flow tr.woocommerce-shipping-totals td { display: block; width: 100% !important; box-sizing: border-box; text-align: left !important; }
.edfc-flow tr.woocommerce-shipping-totals th { border-bottom: 0 !important; padding-bottom: 6px !important; }
.edfc-flow tr.woocommerce-shipping-totals td { padding-top: 0 !important; }
.edfc-flow tr.woocommerce-shipping-totals td::before { display: none !important; }
.edfc-flow .woocommerce-shipping-destination { margin: 6px 0 0; font-size: 12px; color: var(--edfc-muted); text-align: left; }
.edfc-flow .woocommerce-shipping-calculator { text-align: left; font-size: 12px; margin: 2px 0 0; }
.edfc-flow #shipping_method { margin: 0; padding: 0; }
.edfc-flow #shipping_method li { list-style: none; display: flex; align-items: center; gap: 10px; box-sizing: border-box; margin: 0 0 6px; padding: 8px 10px; border: 1px solid var(--edfc-line); border-radius: 6px; background: #fff; line-height: 1.2; text-indent: 0; }
.edfc-flow #shipping_method li:last-child { margin-bottom: 0; }
.edfc-flow #shipping_method li:has(input:checked) { border-color: var(--edfc-navy); box-shadow: 0 0 0 1px var(--edfc-navy); }
.edfc-flow #shipping_method li input { flex: 0 0 auto; margin: 0 !important; }
.edfc-flow #shipping_method li label { display: block !important; flex: 1; min-width: 0; margin: 0 !important; cursor: pointer; }
.edfc-ship-opt { display: flex; align-items: center; gap: 10px; width: 100%; }
.edfc-logo { flex: 0 0 72px; height: 26px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; padding: 5px 7px; border-radius: 4px; }
.edfc-logo img { display: block; max-width: 100%; max-height: 15px; width: auto; height: auto; margin: 0 !important; }
.edfc-logo--starken { background: #009d4e; }
.edfc-logo--chilexpress { background: #ffff00; }
.edfc-logo--text { background: var(--edfc-soft); color: var(--edfc-navy); font-size: 10px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.edfc-logo--text.edfc-logo--starken { background: #009d4e; color: #fff; }
.edfc-logo--text.edfc-logo--chilexpress { background: #ffff00; color: #000; }
.edfc-ship-name { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; color: var(--edfc-navy); }
.edfc-ship-tag { flex: 0 0 auto; font-size: 11px; font-weight: 500; color: var(--edfc-muted); white-space: nowrap; }
.edfc-ship-note td { font-size: 12px !important; line-height: 1.45; color: var(--edfc-muted) !important; background: transparent !important; padding: 0 0 12px !important; text-align: left !important; border-top: 0 !important; }

/* ---------- Pagos ---------- */
.edfc-flow #payment { background: transparent !important; border-radius: 0; }
.edfc-flow #payment ul.payment_methods { border: 0 !important; padding: 0 !important; }
.edfc-flow #payment ul.payment_methods li { list-style: none; border: 1px solid var(--edfc-line); border-radius: 6px; background: #fff; padding: 12px 14px; margin: 0 0 10px; }
.edfc-flow #payment ul.payment_methods li:has(input:checked) { border-color: var(--edfc-navy); box-shadow: 0 0 0 1px var(--edfc-navy); }
.edfc-flow #payment ul.payment_methods li > label { font-weight: 700; color: var(--edfc-navy); display: inline-flex !important; flex-wrap: wrap; align-items: center; gap: 8px; }
.edfc-flow #payment ul.payment_methods li img { max-height: 22px; width: auto; margin: 0 !important; float: none !important; }
.edfc-flow #payment div.payment_box { background: var(--edfc-soft) !important; color: var(--edfc-text); font-size: 13px; border-radius: 6px; margin: 10px 0 0 !important; }
.edfc-flow #payment div.payment_box::before { display: none; }
.edfc-pay-badges { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.edfc-pay-badges span { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; padding: 3px 6px; border-radius: 3px; background: var(--edfc-soft); border: 1px solid var(--edfc-line); color: var(--edfc-muted); }

/* ---------- Confianza ---------- */
.edfc-flow .place-order { display: block !important; }
.edfc-trust { width: 100%; flex: 1 0 100%; box-sizing: border-box; list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.edfc-trust li { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; line-height: 1.45; color: var(--edfc-muted); margin: 0; }
.edfc-trust svg { flex: 0 0 16px; width: 16px; height: 16px; fill: var(--edfc-ok); margin-top: 1px; }

/* ---------- Envío gratis ---------- */
.edfc-free-ship { margin: 0 0 16px; padding: 12px 14px; border: 1px solid var(--edfc-line); border-radius: 6px; background: #fff; }
.edfc-free-ship p { margin: 0 0 8px; font-size: 13px; color: var(--edfc-text); }
.edfc-bar { height: 8px; background: var(--edfc-line); border-radius: 99px; overflow: hidden; }
.edfc-bar span { display: block; height: 100%; background: var(--edfc-red); border-radius: 99px; transition: width .3s; }
.edfc-free-ship.is-done .edfc-bar span { background: var(--edfc-ok); }

/* ---------- Carrito ---------- */
.edfc-js .edfc-flow .woocommerce-cart-form button[name="update_cart"] { display: none !important; }
.edfc-flow.woocommerce-cart table.shop_table.cart { border: 1px solid var(--edfc-line); border-radius: 8px; border-collapse: separate; border-spacing: 0; overflow: hidden; background: #fff; margin: 0; }
.edfc-flow.woocommerce-cart table.cart thead th { background: var(--edfc-soft); border: 0; padding: 12px 16px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--edfc-muted); }
.edfc-flow.woocommerce-cart table.cart td { border: 0; border-top: 1px solid var(--edfc-line); padding: 16px; vertical-align: middle; background: #fff; }
.edfc-flow.woocommerce-cart table.cart td.product-remove { width: 36px; padding-right: 0; }
.edfc-flow.woocommerce-cart table.cart td.product-remove a.remove { color: var(--edfc-muted) !important; opacity: .7; }
.edfc-flow.woocommerce-cart table.cart td.product-remove a.remove:hover { color: var(--edfc-red) !important; background: transparent; opacity: 1; }
.edfc-flow.woocommerce-cart table.cart td.product-thumbnail { width: 88px; }
.edfc-flow.woocommerce-cart table.cart td.product-thumbnail img { width: 72px !important; height: 72px; max-width: none; object-fit: contain; padding: 4px; border: 1px solid var(--edfc-line); border-radius: 6px; background: #fff; box-sizing: border-box; }
.edfc-flow.woocommerce-cart table.cart .product-name a { color: var(--edfc-navy); font-weight: 600; font-size: 14px; text-decoration: none; }
.edfc-flow.woocommerce-cart table.cart .product-name .variation { font-size: 12px; color: var(--edfc-muted); margin-top: 4px; }
.edfc-flow.woocommerce-cart table.cart td.product-price { color: var(--edfc-muted); font-size: 14px; }
.edfc-flow.woocommerce-cart table.cart td.product-subtotal { font-weight: 700; color: var(--edfc-navy); font-size: 15px; text-align: right; }
.edfc-flow.woocommerce-cart table.cart th.product-subtotal { text-align: right; }
.edfc-flow.woocommerce-cart table.cart .quantity input.qty { width: 64px; height: 40px; border: 1px solid #d3dbe3; border-radius: 6px; text-align: center; font-weight: 600; }
.edfc-flow.woocommerce-cart table.cart td.actions { background: var(--edfc-soft); padding: 12px 16px; }
.edfc-flow.woocommerce-cart table.cart td.actions .coupon { display: flex; gap: 8px; float: none; margin: 0; }
.edfc-flow.woocommerce-cart table.cart td.actions .coupon input.input-text { width: 220px; height: 40px; margin: 0; padding: 0 12px; border: 1px solid #d3dbe3; border-radius: 6px; background: #fff; font-size: 13px; }
.edfc-flow.woocommerce-cart table.cart td.actions .coupon .button { height: 40px; margin: 0; padding: 0 16px; border-radius: 6px; font-size: 12px; line-height: 40px; background: var(--edfc-navy); }
.edfc-flow.woocommerce-cart .cart-collaterals { width: auto; float: none; margin: 0; }
.edfc-flow.woocommerce-cart .cart-collaterals .cart_totals { width: 100% !important; float: none !important; margin: 0; padding: 20px; background: #fff !important; border: 1px solid var(--edfc-line); border-radius: 8px; box-shadow: 0 6px 24px #142d490f; box-sizing: border-box; }
.edfc-flow.woocommerce-cart .cart-collaterals .cart_totals h2 { margin: 0 0 8px; padding: 0; font-size: 18px; color: var(--edfc-navy); background: none; border: 0; }
.edfc-flow.woocommerce-cart .cart-collaterals .cart_totals table.shop_table { border: 0; margin: 0 0 16px; background: transparent; border-radius: 0; }
.edfc-flow.woocommerce-cart .cart-collaterals .cart_totals table.shop_table th,
.edfc-flow.woocommerce-cart .cart-collaterals .cart_totals table.shop_table td { border: 0; border-bottom: 1px solid var(--edfc-line); padding: 12px 0; background: transparent; font-size: 14px; }
.edfc-flow.woocommerce-cart .cart-collaterals .cart_totals table.shop_table th { width: auto; font-weight: 600; color: var(--edfc-text); }
.edfc-flow.woocommerce-cart .cart-collaterals .cart_totals table.shop_table td { text-align: right; }
.edfc-flow.woocommerce-cart .cart-collaterals .cart_totals tr.edfc-ship-note td { border-bottom: 1px solid var(--edfc-line); }
.edfc-flow.woocommerce-cart .cart-collaterals .cart_totals .order-total th,
.edfc-flow.woocommerce-cart .cart-collaterals .cart_totals .order-total td { border-bottom: 0; font-size: 18px; color: var(--edfc-navy); padding-top: 16px; }
.edfc-flow.woocommerce-cart .wc-proceed-to-checkout { padding: 0; }
.edfc-flow.woocommerce-cart .wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 52px; margin: 0 0 8px; display: flex !important; align-items: center; justify-content: center; font-size: 15px !important; font-weight: 700; border-radius: 6px !important; }
.edfc-continue { display: block; text-align: center; font-size: 13px; color: var(--edfc-muted) !important; text-decoration: underline; padding: 6px; }
.edfc-flow.woocommerce-cart .woocommerce-cart-form.processing { opacity: .6; }

@media (min-width: 992px) {
	.edfc-flow.woocommerce-cart .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) 370px; column-gap: 32px; align-items: start; }
	.edfc-flow.woocommerce-cart .woocommerce > * { grid-column: 1 / -1; }
	.edfc-flow.woocommerce-cart .woocommerce > form.woocommerce-cart-form { grid-column: 1; grid-row: 3; }
	.edfc-flow.woocommerce-cart .woocommerce > .cart-collaterals { grid-column: 2; grid-row: 3; position: sticky; top: 24px; }
	.edfc-flow.woocommerce-cart .woocommerce > .cart-collaterals .cross-sells { display: none; }
}

@media (max-width: 768px) {
	.edfc-steps .edfc-step-label { font-size: 11px; }
	.edfc-flow.woocommerce-cart .wc-proceed-to-checkout { position: sticky; bottom: 0; z-index: 50; background: #fff; padding: 10px 0 4px; box-shadow: 0 -8px 16px -10px #142d4933; }
	.edfc-flow.woocommerce-checkout #order_review { padding: 16px; }
}

/* ---------- Mini-carrito ---------- */
.edfc-qty { display: inline-flex; align-items: center; border: 1px solid #d3dbe3; border-radius: 6px; overflow: hidden; margin-top: 8px; vertical-align: middle; background: #fff; }
.edfc-qty-btn { width: 30px; height: 30px; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: var(--edfc-soft) !important; color: var(--edfc-navy) !important; font-size: 16px; line-height: 1; cursor: pointer; }
.edfc-qty-btn:hover { background: var(--edfc-line) !important; }
.edfc-qty-btn:disabled { opacity: .35; cursor: not-allowed; }
.edfc-qty-val { min-width: 32px; text-align: center; font-weight: 700; font-size: 13px; color: var(--edfc-navy); }
.edfc-qty.is-busy { opacity: .5; pointer-events: none; }
.edfc-line-total { display: inline-block; margin: 8px 0 0 10px; vertical-align: middle; font-weight: 700; color: var(--edfc-navy); font-size: 13px; }
.woocommerce-mini-cart-item.edfc-busy { opacity: .6; }
.woocommerce-mini-cart__buttons + .edfc-free-ship,
.widget_shopping_cart_content .edfc-free-ship,
.ed-mini-cart .edfc-free-ship { margin: 14px 0; }

/* ---------- Resumen del carrito en filas flexibles ---------- */
.edfc-flow.woocommerce-cart .cart-collaterals .cart_totals table.shop_table,
.edfc-flow.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tbody { display: block; width: 100%; }
.edfc-flow.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--edfc-line); }
.edfc-flow.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr:last-child { border-bottom: 0; }
.edfc-flow.woocommerce-cart .cart-collaterals .cart_totals table.shop_table th,
.edfc-flow.woocommerce-cart .cart-collaterals .cart_totals table.shop_table td { display: block; border: 0 !important; }
.edfc-flow.woocommerce-cart .cart-collaterals .cart_totals table.shop_table td { flex: 1; }
.edfc-flow.woocommerce-cart .cart-collaterals .cart_totals tr.woocommerce-shipping-totals { flex-direction: column; align-items: stretch; gap: 0; }
.edfc-flow.woocommerce-cart .cart-collaterals .cart_totals tr.woocommerce-shipping-totals td { padding-bottom: 12px !important; }
.edfc-flow #shipping_method li label, .edfc-flow #shipping_method li label * { text-indent: 0 !important; }
.edfc-ship-opt { display: grid; grid-template-columns: 68px minmax(0, 1fr); column-gap: 10px; row-gap: 1px; align-items: center; }
.edfc-ship-opt .edfc-logo { grid-row: 1 / span 2; width: 68px; }
.edfc-ship-opt .edfc-ship-name { grid-column: 2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.edfc-ship-opt .edfc-ship-tag { grid-column: 2; font-size: 11px; }
.edfc-logo--text { font-size: 9px; letter-spacing: 0; padding: 4px; white-space: nowrap; overflow: hidden; }
.edfc-flow.woocommerce-cart .cart-collaterals .cart_totals table.shop_table td::before { display: none !important; }
.edfc-flow.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr td { text-align: right !important; }
.edfc-flow.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.woocommerce-shipping-totals td,
.edfc-flow.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.edfc-ship-note td,
.edfc-flow #shipping_method li { text-align: left !important; }
@media (max-width: 768px) {
	.edfc-flow.woocommerce-cart table.shop_table.cart,
	.edfc-flow.woocommerce-cart table.shop_table.cart tbody { display: block; width: 100%; }
	.edfc-flow.woocommerce-cart table.cart thead { display: none; }
	.edfc-flow.woocommerce-cart table.cart tr.cart_item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-areas: "thumb name remove" "thumb qty subtotal"; column-gap: 12px; row-gap: 10px; align-items: center; padding: 14px; border-top: 1px solid var(--edfc-line); }
	.edfc-flow.woocommerce-cart table.cart tr.cart_item:first-child { border-top: 0; }
	.edfc-flow.woocommerce-cart table.cart tr.cart_item td { display: block !important; width: auto !important; padding: 0 !important; border: 0 !important; background: none; text-align: left !important; min-height: 0; }
	.edfc-flow.woocommerce-cart table.cart tr.cart_item td::before { display: none !important; }
	.edfc-flow.woocommerce-cart table.cart td.product-thumbnail { grid-area: thumb; }
	.edfc-flow.woocommerce-cart table.cart td.product-name { grid-area: name; }
	.edfc-flow.woocommerce-cart table.cart td.product-remove { grid-area: remove; justify-self: end; }
	.edfc-flow.woocommerce-cart table.cart td.product-price { display: none !important; }
	.edfc-flow.woocommerce-cart table.cart td.product-quantity { grid-area: qty; }
	.edfc-flow.woocommerce-cart table.cart td.product-subtotal { grid-area: subtotal; text-align: right !important; }
	.edfc-flow.woocommerce-cart table.cart tr:not(.cart_item) { display: block; }
	.edfc-flow.woocommerce-cart table.cart td.actions { display: block; padding: 12px 14px !important; border-top: 1px solid var(--edfc-line) !important; }
	.edfc-flow.woocommerce-cart table.cart td.actions::before { display: none !important; }
	.edfc-flow.woocommerce-cart table.cart td.actions .coupon input.input-text { flex: 1; width: auto; min-width: 0; }
	.edfc-flow.woocommerce-cart .cart-collaterals { margin-top: 20px; }
}

/* ---------- Estilo Efecto Deporte: mismas tipografías, radios y botones que la tienda ---------- */
.edfc-flow .entry-content > .elementor > .e-con:first-child > .e-con-inner { padding-top: 30px; padding-bottom: 30px; }
.edfc-flow .entry-content > .elementor > .e-con:first-child h1 { font-size: 38px; }
.edfc-steps { margin-bottom: 22px; }
.edfc-step-num { font-family: Lato, sans-serif; }
.edfc-steps .is-current .edfc-step-num { box-shadow: none; }
.edfc-step-label { font-family: Lato, sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.edfc-flow.woocommerce-cart table.shop_table.cart,
.edfc-flow.woocommerce-cart .cart-collaterals .cart_totals,
.edfc-flow.woocommerce-checkout #order_review,
.edfc-flow .edfc-free-ship { border-radius: 5px; box-shadow: none; }
.edfc-flow.woocommerce-cart .cart-collaterals .cart_totals h2,
.edfc-flow.woocommerce-checkout form.checkout h3,
.edfc-flow.woocommerce-checkout #order_review_heading { font-family: Arial, Helvetica, sans-serif; font-weight: 700; font-size: 22px; letter-spacing: -.4px; color: var(--edfc-navy); }
.edfc-flow.woocommerce-cart .cart-collaterals .cart_totals h2::before,
.edfc-flow.woocommerce-checkout #order_review_heading::before,
.edfc-flow.woocommerce-checkout .woocommerce-billing-fields > h3::before { display: block; margin-bottom: 4px; font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--edfc-red); }
.edfc-flow.woocommerce-cart .cart-collaterals .cart_totals h2::before,
.edfc-flow.woocommerce-checkout #order_review_heading::before { content: "Tu compra"; }
.edfc-flow.woocommerce-checkout .woocommerce-billing-fields > h3::before { content: "Despacho y contacto"; }
.edfc-flow #place_order,
.edfc-flow.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
.edfc-flow table.cart td.actions .coupon .button,
.edfc-flow .woocommerce-form-coupon .button { font-family: Lato, sans-serif !important; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; border-radius: 4px !important; }
.edfc-flow #place_order,
.edfc-flow.woocommerce-cart .wc-proceed-to-checkout .checkout-button { font-size: 14px !important; min-height: 52px; background: var(--edfc-red) !important; color: #fff !important; }
.edfc-flow.woocommerce-checkout .form-row input.input-text,
.edfc-flow.woocommerce-checkout .form-row select,
.edfc-flow.woocommerce-checkout .form-row textarea,
.edfc-flow.woocommerce-checkout .select2-container .select2-selection--single,
.edfc-flow.woocommerce-cart table.cart .quantity input.qty,
.edfc-flow.woocommerce-cart table.cart td.actions .coupon input.input-text { border: 1px solid #d7dfe6; border-radius: 4px; }
.edfc-flow #shipping_method li,
.edfc-flow #payment ul.payment_methods li,
.edfc-flow #payment div.payment_box { border-radius: 4px; }
.edfc-logo { border-radius: 3px; }
.edfc-continue { font-family: Lato, sans-serif; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; text-decoration: none; }
.edfc-continue:hover { color: var(--edfc-navy) !important; }
@media (min-width: 992px) {
	.edfc-flow.woocommerce-checkout form.checkout #order_review_heading { border-radius: 5px 5px 0 0; }
	.edfc-flow.woocommerce-checkout form.checkout #order_review { border-radius: 0 0 5px 5px !important; }
}
@media (max-width: 768px) {
	.edfc-flow .entry-content > .elementor > .e-con:first-child > .e-con-inner { padding-top: 22px; padding-bottom: 22px; }
	.edfc-flow .entry-content > .elementor > .e-con:first-child h1 { font-size: 28px; }
	.edfc-flow.woocommerce-cart table.cart tr.cart_item td.product-price { display: none !important; }
}

/* ---------- v1.2: banner como el inicio ---------- */
.edfc-flow .entry-content > .elementor > .e-con:first-child { background: #0b1726 url("/wp-content/plugins/efecto-diseno/assets/tenis-de-mesa.webp") center 45% / cover no-repeat !important; }
.edfc-flow .entry-content > .elementor > .e-con:first-child::before { background: linear-gradient(90deg, rgba(11, 23, 38, .96) 0%, rgba(11, 23, 38, .86) 42%, rgba(11, 23, 38, .45) 100%) !important; opacity: 1 !important; }
.edfc-flow .entry-content > .elementor > .e-con:first-child > .e-con-inner { padding-top: 34px; padding-bottom: 34px; }
.edfc-flow .entry-content > .elementor > .e-con:first-child h1 { font-family: Arial, Helvetica, sans-serif !important; font-size: 36px; font-weight: 700; letter-spacing: -1.2px; line-height: 1.1; color: #fff; }
.edfc-flow .entry-content > .elementor > .e-con:first-child h1::before { display: block; margin-bottom: 10px; font-size: 11px; font-weight: 700; letter-spacing: 2px; line-height: 1; text-transform: uppercase; color: #ff887b; }
.edfc-flow.woocommerce-cart .entry-content > .elementor > .e-con:first-child h1::before { content: "Tu selección"; }
.edfc-flow.woocommerce-checkout .entry-content > .elementor > .e-con:first-child h1::before { content: "Compra segura"; }
.edfc-flow .entry-content > .elementor > .e-con:not(:first-child) .elementor-widget-container > h1,
.edfc-flow .entry-content > .elementor > .e-con:not(:first-child) .elementor-widget-container > p:empty { display: none; }
.edfc-flow .entry-content > .elementor > .e-con:not(:first-child) > .e-con-inner { padding-top: 26px; }
.edfc-steps { margin-bottom: 20px; }
.edfc-steps ol { max-width: 520px; }

/* ---------- v1.2: datos y pago compactos ---------- */
.edfc-flow.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info { margin: 0 0 18px; padding: 10px 14px 10px 40px; font-size: 13px; border-radius: 4px; }
.edfc-flow.woocommerce-checkout form.checkout h3 { font-size: 18px; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--edfc-line); }
.edfc-flow.woocommerce-checkout #order_review_heading { font-size: 18px; }
.edfc-flow.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.edfc-flow.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
.edfc-flow.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row,
.edfc-flow.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper > .form-row { width: auto !important; float: none !important; margin: 0 0 12px !important; padding: 0 !important; }
.edfc-flow.woocommerce-checkout #billing_address_2_field,
.edfc-flow.woocommerce-checkout #shipping_address_2_field,
.edfc-flow.woocommerce-checkout #shipping_company_field { grid-column: 1 / -1; }
.edfc-flow.woocommerce-checkout #billing_country_field,
.edfc-flow.woocommerce-checkout #shipping_country_field,
.edfc-flow.woocommerce-checkout #billing_postcode_field,
.edfc-flow.woocommerce-checkout #shipping_postcode_field { display: none !important; }
.edfc-flow.woocommerce-checkout .form-row label { margin-bottom: 4px; font-size: 12px; line-height: 1.3; }
.edfc-flow.woocommerce-checkout .form-row input.input-text,
.edfc-flow.woocommerce-checkout .form-row select,
.edfc-flow.woocommerce-checkout .select2-container .select2-selection--single { min-height: 42px; font-size: 14px; }
.edfc-flow.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered { line-height: 40px; }
.edfc-flow.woocommerce-checkout #billing_email-description { display: none !important; }
.edfc-flow.woocommerce-checkout #customer_details .col-2 { margin-top: 4px !important; }
.edfc-flow.woocommerce-checkout #ship-to-different-address { margin: 0 0 12px; padding: 0; border: 0; font-size: 14px; letter-spacing: 0; }
.edfc-flow.woocommerce-checkout #ship-to-different-address label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; cursor: pointer; }
.edfc-flow.woocommerce-checkout .woocommerce-additional-fields > h3 { display: none; }
.edfc-flow.woocommerce-checkout #order_comments_field textarea { height: 64px; min-height: 64px; }
.edfc-flow.woocommerce-checkout #order_review { padding: 16px 18px; }
.edfc-flow.woocommerce-checkout #order_review table.shop_table th,
.edfc-flow.woocommerce-checkout #order_review table.shop_table td { padding: 10px 0; font-size: 13px; }
.edfc-flow.woocommerce-checkout #order_review thead { display: none; }
.edfc-flow.woocommerce-checkout #order_review td.product-name { line-height: 1.35; }
.edfc-flow.woocommerce-checkout #order_review .edfc-thumb { float: left; width: 44px; height: 44px; margin: 0 10px 0 0; }
.edfc-flow.woocommerce-checkout #order_review .edfc-item-name { display: block; overflow: hidden; font-weight: 600; color: var(--edfc-navy); }
.edfc-flow.woocommerce-checkout #order_review .order-total th,
.edfc-flow.woocommerce-checkout #order_review .order-total td { font-size: 17px; }
.edfc-flow #payment ul.payment_methods li { padding: 10px 12px; margin-bottom: 8px; }
.edfc-flow #payment div.payment_box { padding: 10px 12px; font-size: 12px; line-height: 1.5; }
.edfc-flow #payment .form-row.place-order { margin: 12px 0 0; padding: 0; }
.edfc-flow .woocommerce-terms-and-conditions-wrapper { font-size: 12px; }
.edfc-trust { margin-top: 12px; gap: 6px; }

/* ---------- v1.2: carrito compacto ---------- */
.edfc-flow.woocommerce-cart table.cart td { padding: 12px 16px; }
.edfc-flow.woocommerce-cart table.cart td.product-thumbnail img { width: 64px !important; height: 64px; }
.edfc-flow.woocommerce-cart .cart-collaterals .cart_totals { padding: 16px 18px; }
.edfc-flow.woocommerce-cart .cart-collaterals .cart_totals h2 { font-size: 18px; }
.edfc-flow.woocommerce-cart .cart-collaterals .cart_totals table.shop_table th,
.edfc-flow.woocommerce-cart .cart-collaterals .cart_totals table.shop_table td { padding: 10px 0; font-size: 13px; }
.edfc-flow.woocommerce-cart .cart-collaterals .cart_totals .order-total th,
.edfc-flow.woocommerce-cart .cart-collaterals .cart_totals .order-total td { font-size: 17px; }

@media (max-width: 768px) {
	.edfc-flow .entry-content > .elementor > .e-con:first-child > .e-con-inner { padding-top: 24px; padding-bottom: 24px; }
	.edfc-flow .entry-content > .elementor > .e-con:first-child h1 { font-size: 28px; letter-spacing: -.8px; }
	.edfc-flow .entry-content > .elementor > .e-con:first-child h1::before { font-size: 9px; letter-spacing: 1.3px; margin-bottom: 8px; }
	.edfc-flow .entry-content > .elementor > .e-con:not(:first-child) > .e-con-inner { padding-top: 18px; }
}
@media (max-width: 600px) {
	.edfc-flow.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
	.edfc-flow.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr; }
}
/* ---------- v1.2.1: resumen del checkout en filas flexibles ---------- */
.edfc-flow.woocommerce-checkout #order_review table.shop_table,
.edfc-flow.woocommerce-checkout #order_review table.shop_table tbody,
.edfc-flow.woocommerce-checkout #order_review table.shop_table tfoot { display: block; width: 100%; }
.edfc-flow.woocommerce-checkout #order_review table.shop_table tr { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid var(--edfc-line); }
.edfc-flow.woocommerce-checkout #order_review table.shop_table tr.order-total { border-bottom: 0; }
.edfc-flow.woocommerce-checkout #order_review table.shop_table th,
.edfc-flow.woocommerce-checkout #order_review table.shop_table td { display: block; border: 0 !important; }
.edfc-flow.woocommerce-checkout #order_review tr.woocommerce-shipping-totals { flex-direction: column; align-items: stretch; gap: 0; }
.edfc-flow.woocommerce-checkout #order_review tr.edfc-ship-note td { flex: 1; text-align: left !important; }
.edfc-flow.woocommerce-checkout #order_review td.product-name { display: flex !important; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.edfc-flow.woocommerce-checkout #order_review td.product-name .edfc-thumb { float: none; flex: 0 0 44px; margin: 0; }
.edfc-flow.woocommerce-checkout #order_review td.product-name .edfc-item-name { flex: 1; min-width: 0; }
.edfc-flow.woocommerce-checkout #order_review td.product-name .product-quantity { flex: 0 0 auto; color: var(--edfc-muted); font-weight: 600; }
.edfc-flow.woocommerce-checkout #order_review td.product-total { flex: 0 0 auto; font-weight: 700; color: var(--edfc-navy); }
.edfc-flow.woocommerce-checkout .select2-container .select2-selection--single { height: 42px; }
.edfc-flow.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow { height: 40px; }
.edfc-flow #payment ul.payment_methods li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; align-items: center; }
.edfc-flow #payment ul.payment_methods li > input { margin: 0 !important; }
.edfc-flow #payment ul.payment_methods li > label { margin: 0 !important; }
.edfc-flow #payment ul.payment_methods li > .payment_box { grid-column: 1 / -1; }
.edfc-flow .entry-content > .elementor > .elementor-section:not(:has(.elementor-widget)) { display: none; }
.edfc-flow .entry-content > .elementor > .elementor-section:has(.woocommerce) { padding-top: 26px; }
@media (max-width: 768px) { .edfc-flow .entry-content > .elementor > .elementor-section:has(.woocommerce) { padding-top: 18px; } }

/* v1.2.4: accesibilidad táctil y lectura del checkout */
.edfc-flow #shipping_method li { min-height: 52px; padding: 10px 12px; }
.edfc-flow #shipping_method li label { padding: 3px 0; }
.edfc-ship-opt .edfc-ship-name { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.35; }
.edfc-flow input[type="radio"], .edfc-flow input[type="checkbox"] { accent-color: var(--edfc-navy); width: 18px; height: 18px; flex-shrink: 0; }
.edfc-flow a:focus-visible, .edfc-flow button:focus-visible { outline: 3px solid var(--edfc-navy); outline-offset: 3px; }
.edfc-flow.woocommerce-cart table.cart .quantity input.qty { min-height: 44px; }
.edfc-flow.woocommerce-cart table.cart td.product-remove a.remove { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 44px; }
.edfc-flow .woocommerce-error { border-top-color: var(--edfc-red); color: var(--edfc-text); line-height: 1.5; }
.edfc-flow #place_order:disabled { opacity: .65; cursor: progress; }
@media (max-width: 991px) {
 .edfc-flow.woocommerce-checkout form.checkout #customer_details,
 .edfc-flow.woocommerce-checkout form.checkout #order_review,
 .edfc-flow.woocommerce-checkout form.checkout #order_review_heading { width: 100% !important; float: none !important; box-sizing: border-box; }
 .edfc-flow.woocommerce-checkout #order_review_heading { margin-top: 24px !important; }
}
@media (max-width: 768px) {
 .edfc-flow.woocommerce-checkout .form-row input.input-text,
 .edfc-flow.woocommerce-checkout .form-row select,
 .edfc-flow.woocommerce-checkout .form-row textarea,
 .edfc-flow.woocommerce-checkout .select2-container .select2-selection--single,
 .edfc-flow.woocommerce-cart table.cart .quantity input.qty,
 .edfc-flow.woocommerce-cart table.cart td.actions .coupon input.input-text { font-size: 16px; min-height: 46px; }
 .edfc-flow.woocommerce-checkout .form-row label { font-size: 13px; }
 .edfc-flow.woocommerce-checkout .select2-container .select2-selection--single { height: 46px; }
 .edfc-flow.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered { line-height: 44px; }
 .edfc-flow.woocommerce-cart table.cart tr.cart_item { grid-template-columns: 60px minmax(0,1fr) auto; gap: 10px; padding: 12px; }
 .edfc-flow.woocommerce-cart table.cart td.product-thumbnail img { width: 60px !important; height: 60px; }
 .edfc-flow.woocommerce-cart table.cart td.actions .coupon { flex-wrap: wrap; }
 .edfc-flow.woocommerce-cart table.cart td.actions .coupon .button { min-height: 46px; }
 .edfc-qty-btn { width: 44px; height: 44px; }
 .edfc-flow #order_review td.product-name { flex-wrap: wrap; }
 .edfc-flow #order_review td.product-name .edfc-item-name { flex-basis: calc(100% - 54px); }
}

/* v1.2.5: icono eliminar, logos oficiales y tarjetas de pago */
body.edfc-flow.woocommerce-cart .woocommerce table.cart td.product-remove a.remove {
 position: relative !important; display: inline-flex !important; width: 36px !important; height: 36px !important; min-width: 36px !important; min-height: 36px !important; padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 6px !important; background: #f1f4f7 !important; color: transparent !important; font-size: 0 !important; line-height: 1 !important; opacity: 1; align-items: center; justify-content: center;
}
body.edfc-flow.woocommerce-cart .woocommerce table.cart td.product-remove a.remove::before,
body.edfc-flow.woocommerce-cart .woocommerce table.cart td.product-remove a.remove::after { content: "" !important; display: block; position: absolute; top: 50%; left: 50%; width: 14px; height: 1.5px; background: #637180; transform: translate(-50%,-50%) rotate(45deg); }
body.edfc-flow.woocommerce-cart .woocommerce table.cart td.product-remove a.remove::after { transform: translate(-50%,-50%) rotate(-45deg); }
body.edfc-flow.woocommerce-cart .woocommerce table.cart td.product-remove a.remove:hover { background: #fff0ee !important; }
body.edfc-flow.woocommerce-cart .woocommerce table.cart td.product-remove a.remove:hover::before,
body.edfc-flow.woocommerce-cart .woocommerce table.cart td.product-remove a.remove:hover::after { background: #c73529; }
body.edfc-flow #shipping_method .edfc-logo { width: 82px; height: 32px; padding: 4px; background: #fff; border: 0; }
body.edfc-flow #shipping_method .edfc-logo img { display: block; max-width: 100%; max-height: 24px; width: 100%; height: auto; object-fit: contain; }
body.edfc-flow #shipping_method .edfc-ship-opt { grid-template-columns: 82px minmax(0,1fr); column-gap: 12px; }
body.edfc-flow.woocommerce-checkout #payment ul.payment_methods > li.wc_payment_method { display: grid !important; grid-template-columns: 20px minmax(0,1fr) !important; gap: 0 10px !important; align-items: center !important; padding: 14px !important; margin: 0 0 10px !important; position: relative; border: 1px solid #d7dfe6 !important; background: #fff !important; }
body.edfc-flow.woocommerce-checkout #payment ul.payment_methods > li.wc_payment_method:has(>input:checked) { border-color: #142d49 !important; box-shadow: 0 0 0 1px #142d49; }
body.edfc-flow.woocommerce-checkout #payment ul.payment_methods > li.wc_payment_method > input[type=radio] { grid-column: 1 !important; grid-row: 1 !important; position: static !important; float: none !important; margin: 0 !important; inset: auto !important; transform: none !important; width: 18px !important; height: 18px !important; justify-self: start; align-self: start; margin-top: 4px !important; }
body.edfc-flow.woocommerce-checkout #payment ul.payment_methods > li.wc_payment_method > label { grid-column: 2 !important; grid-row: 1 !important; display: flex !important; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 7px 10px; width: 100% !important; padding: 0 !important; margin: 0 !important; min-height: 28px; line-height: 1.4; text-align: left !important; cursor: pointer; font-size: 14px; }
body.edfc-flow.woocommerce-checkout #payment ul.payment_methods > li.wc_payment_method > label img { max-height: 25px; max-width: 112px; object-fit: contain; margin: 0 !important; float: none !important; }
body.edfc-flow.woocommerce-checkout #payment .edfc-pay-badges { display: flex; flex: 1 0 100%; gap: 5px; margin-top: 2px; }
body.edfc-flow.woocommerce-checkout #payment .edfc-pay-badges span { font-size: 9px; padding: 3px 6px; }
body.edfc-flow.woocommerce-checkout #payment ul.payment_methods > li.wc_payment_method > .payment_box { grid-column: 1 / -1 !important; grid-row: 2 !important; width: 100%; margin: 12px 0 0 !important; padding: 12px !important; border: 0; box-sizing: border-box; }
body.edfc-flow.woocommerce-checkout #payment .payment_box p { margin: 0; font-size: 12px; line-height: 1.6; }
@media(max-width:768px){ body.edfc-flow.woocommerce-cart .woocommerce table.cart td.product-remove a.remove { width: 40px !important; height: 40px !important; } }

body.edfc-flow #shipping_method .edfc-logo--starken { background: #009d4e !important; padding: 7px !important; }
body.edfc-flow #shipping_method .edfc-logo--chilexpress { background: #ffdf00 !important; padding: 5px !important; }
