/* PEVECO Checkout Cards 1.4 - single clean compact layout */
.woocommerce ul#shipping_method{margin:12px 0!important;padding:0!important;list-style:none!important}
.woocommerce ul#shipping_method>li.peveco-ship-header{list-style:none!important;margin:0 0 10px!important;padding:0!important}
.peveco-ship-toggle{width:100%;border:1px solid #d9e2ec!important;border-radius:12px!important;background:#fff!important;color:#19243a!important;display:flex!important;align-items:center;gap:10px;text-align:left!important;padding:12px!important;cursor:pointer;box-shadow:none!important}
.peveco-header-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#edf4ff;color:#2563eb;flex:none;font-size:18px}
.peveco-header-text{flex:1;display:flex;flex-direction:column;gap:2px;line-height:1.3}
.peveco-header-text strong{font-size:14px;font-weight:700}
.peveco-header-text small{font-size:12px;color:#64748b}
.peveco-chevron{font-size:22px;color:#64748b}
.woocommerce ul#shipping_method>li.peveco-ship-option{display:flex!important;position:relative;align-items:center;gap:9px;min-height:62px;margin:0 0 9px!important;padding:11px 12px!important;border:1px solid #e1e6ee!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important;line-height:1.3!important;cursor:pointer}
.woocommerce ul#shipping_method>li.peveco-ship-option.peveco-hidden{display:none!important}
.woocommerce ul#shipping_method>li.peveco-ship-option.peveco-active{border:2px solid #2563eb!important;padding:10px 11px!important;background:#fff!important}
.woocommerce ul#shipping_method>li.peveco-ship-option>input[type=radio]{appearance:auto!important;-webkit-appearance:radio!important;position:static!important;display:block!important;opacity:1!important;visibility:visible!important;float:none!important;flex:0 0 19px!important;width:19px!important;height:19px!important;margin:0!important;accent-color:#2563eb!important}
.woocommerce ul#shipping_method>li.peveco-ship-option>label{flex:1;min-width:0;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:3px!important;padding:0!important;margin:0!important;font-size:13px!important;line-height:1.35!important;color:#46546b!important;font-weight:400!important;cursor:pointer;overflow-wrap:anywhere}
.woocommerce ul#shipping_method>li.peveco-courier>label{padding-left:62px!important;min-height:39px;justify-content:center}
.peveco-brand{position:absolute;left:40px;top:50%;transform:translateY(-50%);width:54px;min-height:35px;max-height:40px;display:flex;align-items:center;justify-content:center;text-align:center;padding:4px 3px;border-radius:7px;background:#f1f5f9;color:#24364a;font-size:10px!important;font-weight:800!important;line-height:1.05!important;letter-spacing:-.25px;overflow:hidden}
.peveco-brand[data-brand=dhl]{background:#ffed9b;color:#bc171d}
.peveco-brand[data-brand=fedex]{background:#f0eaff;color:#512a91}
.peveco-brand[data-brand=ups]{background:#f2e6d6;color:#583d24}
.peveco-brand[data-brand=estafeta]{background:#fff0f0;color:#bd1b2c}
.peveco-brand[data-brand=paquetexpress]{background:#eaf1ff;color:#164a9b;font-size:8px!important}
.peveco-brand[data-brand=sendex]{background:#f9e8ed;color:#8c2846;font-size:8px!important}
.peveco-brand[data-brand=99minutos]{background:#fcecf5;color:#ab2166;font-size:8px!important}
.peveco-method-name{font-weight:750!important;color:#19243a!important;font-size:14px!important}
.peveco-method-detail{font-size:12px!important;color:#66758c!important}
.peveco-method-free{font-size:11px!important;color:#18814a!important;font-weight:700!important}
.woocommerce ul#shipping_method>li.peveco-pickup,
.woocommerce ul#shipping_method>li.peveco-free{padding-left:12px!important}
.woocommerce ul#shipping_method>li.peveco-pickup>label,
.woocommerce ul#shipping_method>li.peveco-free>label{padding-left:43px!important;position:relative;min-height:42px;justify-content:center}
.woocommerce ul#shipping_method>li.peveco-pickup>label:before,
.woocommerce ul#shipping_method>li.peveco-free>label:before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:34px;height:34px;background:#eff4fb;border-radius:9px;background-repeat:no-repeat;background-position:center;background-size:21px}
.woocommerce ul#shipping_method>li.peveco-pickup>label:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233d648c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l2-5h14l2 5v2a2 2 0 0 1-4 0 2 2 0 0 1-4 0 2 2 0 0 1-4 0 2 2 0 0 1-4 0 2 2 0 0 1-2-2zM5 13v7h14v-7M9 20v-5h6v5'/%3E%3C/svg%3E")}
.woocommerce ul#shipping_method>li.peveco-free>label:before{background-color:#e8f8ef;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23188a55' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h18v12H3zM12 8v12M3 12h18M12 8C7 8 6 5 8 4c2-2 4 1 4 4zm0 0c5 0 6-3 4-4-2-2-4 1-4 4z'/%3E%3C/svg%3E")}
.woocommerce ul#shipping_method>li.peveco-ship-option .woocommerce-Price-amount{font-weight:750!important;color:#18253c!important;font-size:13px!important}
.woocommerce-checkout #payment{margin-top:22px!important;padding-top:16px!important;border-top:1px solid #e1e6ee!important;background:transparent!important}
.woocommerce-checkout #payment ul.payment_methods{padding:0!important;margin:0!important;border:0!important}
.woocommerce-checkout #payment li.wc_payment_method.peveco-pay-option{position:relative;background:#fff!important;border:1px solid #e1e6ee!important;border-radius:12px!important;margin:0 0 10px!important;padding:0!important;overflow:hidden}
.woocommerce-checkout #payment li.wc_payment_method.peveco-pay-option.peveco-active{border:2px solid #2563eb!important}
.woocommerce-checkout #payment li.wc_payment_method.peveco-pay-option>input[type=radio]{position:absolute!important;left:13px!important;top:18px!important;width:19px!important;height:19px!important;opacity:1!important;appearance:auto!important;-webkit-appearance:radio!important;accent-color:#2563eb!important}
.woocommerce-checkout #payment li.wc_payment_method.peveco-pay-option>label{display:flex!important;align-items:center!important;min-height:56px!important;padding:12px 12px 12px 42px!important;margin:0!important;font-size:14px!important;font-weight:700!important;line-height:1.3!important}
.woocommerce-checkout #payment li.wc_payment_method.peveco-pay-option .payment_box{background:transparent!important;margin:0!important;padding:5px 14px 14px!important}
.woocommerce-checkout #payment li.wc_payment_method.peveco-pay-option .payment_box:before{display:none!important}
.woocommerce-checkout #payment .place-order{border-top:1px solid #e1e6ee!important;padding-top:16px!important;margin-top:16px!important}
.woocommerce-checkout input#terms[type=checkbox],
.woocommerce-checkout #ship-to-different-address input[type=checkbox]{appearance:auto!important;-webkit-appearance:checkbox!important;opacity:1!important;visibility:visible!important;display:inline-block!important;position:static!important;width:21px!important;height:21px!important;margin-right:9px!important;accent-color:#2563eb!important;vertical-align:middle!important}
@media(max-width:480px){
.woocommerce ul#shipping_method>li.peveco-ship-option{padding:9px 10px!important;min-height:58px;gap:8px}
.woocommerce ul#shipping_method>li.peveco-ship-option.peveco-active{padding:8px 9px!important}
.woocommerce ul#shipping_method>li.peveco-courier>label{padding-left:59px!important}
.peveco-brand{left:37px;width:51px}
.woocommerce ul#shipping_method>li.peveco-ship-option>label{font-size:12px!important}
}

/* v1.5: emoji original y eliminación de adornos del tema alrededor del encabezado */
.peveco-header-icon{background:#edf4ff!important;font-size:21px!important;line-height:1!important}
.woocommerce ul#shipping_method>li.peveco-ship-header::before,
.woocommerce ul#shipping_method>li.peveco-ship-header::after,
.woocommerce ul#shipping_method>li.peveco-ship-header>.peveco-ship-toggle::before,
.woocommerce ul#shipping_method>li.peveco-ship-header>.peveco-ship-toggle::after,
.woocommerce ul#shipping_method>li.peveco-ship-header .peveco-header-icon::before,
.woocommerce ul#shipping_method>li.peveco-ship-header .peveco-header-icon::after{
 content:none!important;display:none!important;
}
.woocommerce ul#shipping_method>li.peveco-ship-header{background:transparent!important;box-shadow:none!important}
.woocommerce ul#shipping_method>li.peveco-ship-header>.peveco-ship-toggle{background-image:none!important}

/* v1.6 - Aviso compacto únicamente para Pick Up + pago en efectivo (COD) */
.woocommerce ul#shipping_method>li.peveco-pickup-notice{
 display:block!important;list-style:none!important;position:relative!important;
 margin:2px 0 12px!important;padding:14px!important;
 background:#f8fafc!important;border:1px solid #dbe4f0!important;
 border-radius:12px!important;color:#334155!important;line-height:1.5!important;
 font-size:12px!important;box-shadow:none!important
}
.peveco-pickup-notice-title{font-size:14px;font-weight:750;color:#19243a;margin-bottom:8px}
.woocommerce ul#shipping_method>li.peveco-pickup-notice p{margin:0 0 9px!important;font-size:12px!important;line-height:1.5!important}
.woocommerce ul#shipping_method>li.peveco-pickup-notice p:last-child{margin-bottom:0!important}
.peveco-pickup-notice a{color:#175cd3!important;text-decoration:underline!important}
.peveco-pickup-policy{border-top:1px solid #e2e8f0;padding-top:9px}
.woocommerce ul#shipping_method>li.peveco-pickup-notice::before,
.woocommerce ul#shipping_method>li.peveco-pickup-notice::after{display:none!important;content:none!important}
/* v1.7: formulario de envío y CFDI */
.peveco-contact-intro{margin:0 0 18px;padding:13px 15px;border:1px solid #dce6f2;border-radius:12px;background:#f8fbff;display:flex;flex-direction:column;gap:4px}
.peveco-contact-intro strong{font-size:15px;color:#1b2d47}.peveco-contact-intro small{color:#66758b;font-size:12px}
.peveco-invoice-section{clear:both;margin:24px 0;padding:18px;border:1px solid #dce6f2;border-radius:13px;background:#fff}
.peveco-invoice-section h3{font-size:18px!important;margin:0 0 15px!important}
#peveco-invoice-details[hidden]{display:none!important}
#peveco-invoice-details{padding:12px;background:#f8fafc;border-radius:10px;margin-top:10px}
#peveco-invoice-details .form-row{float:none!important;width:100%!important}
#peveco-invoice-details .peveco-upload input{display:block;max-width:100%;font-size:12px;margin:8px 0}
#peveco-invoice-details .peveco-upload small{display:block;font-size:11px;color:#64748b}
.peveco-is-pickup #billing_address_1_field,.peveco-is-pickup #billing_address_2_field,.peveco-is-pickup #billing_city_field,.peveco-is-pickup #billing_state_field,.peveco-is-pickup #billing_postcode_field,.peveco-is-pickup #billing_country_field,.peveco-is-pickup #billing_peveco_reference_field{display:none!important}

/* v1.8: una sola dirección de entrega; elimina el formulario duplicado de WooCommerce */
.woocommerce-checkout #ship-to-different-address,
.woocommerce-checkout .woocommerce-shipping-fields #ship-to-different-address,
.woocommerce-checkout .woocommerce-shipping-fields .shipping_address{display:none!important}
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row{margin-bottom:12px!important}
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper input.input-text,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper select{min-height:42px!important}
.peveco-is-pickup #billing_peveco_interior_field{display:none!important}

/* Postal PEVECO v1.9 */
#peveco-postal-status{display:block;font-size:12px;color:#64748b;margin-top:5px}
#peveco-postal-colonia{height:45px;padding:8px 12px;border:1px solid #d8e1ed;border-radius:7px;background:white;color:#27334b}
