/**
 * Email Verification Code Plugin - Styles
 * Version: 1.3
 * Adaptado para Universo Hobby Uruguay
 */

 :root {
    --evc-bg: #f7f7f7;
    --evc-surface: #fdfdfd;
    --evc-panel: #f3f3f3;
    --evc-panel-strong: #ebebeb;
    --evc-border: #e0e0e0;
    --evc-border-strong: #cfcfcf;
    --evc-text: #3a3a3a;
    --evc-text-muted: #6d6d6d;
    --evc-text-light: #8c8c8c;
    --evc-accent: #c1262c;
    --evc-accent-strong: #d94f4f;
    --evc-dark: #2f2f2f;
    --evc-wizard-accent: #8b8b8b;
    --evc-wizard-accent-light: #bcbcbc;
    --evc-wizard-accent-dark: #6b6b6b;
    /* Colores para estados del wizard */
    --evc-wizard-completed: #2e7d32;
    --evc-wizard-completed-light: #4caf50;
    --evc-wizard-completed-dark: #1b5e20;
    --evc-wizard-current: #c1262c;
    --evc-wizard-current-light: #e53935;
    --evc-wizard-current-dark: #a31f24;
    --evc-wizard-pending: #9e9e9e;
    --evc-wizard-pending-light: #bdbdbd;
}

/* ==============================
   RESET Y BASE
   ============================== */

.evc-wrap * {
    box-sizing: border-box;
}

.evc-wrap {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--evc-text);
    background: var(--evc-bg);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* ==============================
   CONTENEDORES PRINCIPALES
   ============================== */

.evc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 32px 40px;
    background: transparent;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Layout de dos columnas */
.evc-grid {
    display: grid;
    grid-template-columns: minmax(0, 50%) minmax(0, 50%);
    gap: 28px;
    align-items: flex-start;
}

.evc-main { 
    min-width: 0; 
    width: 100%;
}

.evc-aside { 
    min-width: 0; 
    width: 100%;
}

@media (max-width: 1024px) {
    .evc-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .evc-summary-card {
        position: relative;
        top: 0;
    }
}

.evc-card {
    background: var(--evc-surface);
    border: 1px solid var(--evc-border);
    border-radius: 0px !important;
    padding: 20px 24px;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(15, 15, 15, 0.04);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Resumen del pedido (sidebar) */
.evc-summary-card { 
    position: sticky; 
    top: 16px; 
    padding: 0;
    border-radius: 8px;
    border-color: var(--evc-border-strong);
    background: var(--evc-panel);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}
.evc-summary-title { 
    margin: 0; 
    font-size: 13px; 
    letter-spacing: 0.08em; 
    text-transform: uppercase; 
    font-weight: 600; 
    background: #8b8b8b; 
    color: #fff; 
    padding: 12px 18px;
}
.evc-summary-content {
    border: none;
    border-radius: 0;
    background-color: white;
    padding: 16px;
    border-top: 1px solid var(--evc-border);
}

/* Ajustes básicos al mini cart de WooCommerce dentro del card */
.evc-summary-card .widget_shopping_cart_content,
.evc-summary-card .woocommerce-mini-cart {
    margin: 0;
    padding: 0;
}
.evc-summary-card .woocommerce-mini-cart li { list-style: none; }
.evc-summary-card .woocommerce-mini-cart__total,
.evc-summary-card .woocommerce-mini-cart__buttons {
    margin-top: 12px;
}

/* Ocultar botones del mini-cart (Ver carrito / Finalizar compra) dentro del resumen del shortcode */
.evc-summary-card .woocommerce-mini-cart__buttons,
.evc-summary-card .woocommerce-mini-cart__buttons .button,
.evc-summary-card .buttons {
    display: none !important;
}

/* Estilos para el carrito completo dentro del sidebar (similar a [woocommerce_cart]) */
.evc-summary-card .woocommerce {
    margin: 0;
}
.evc-summary-card .shop_table {
    width: 100%;
    border: 1px solid #eee;
    border-radius: 6px;
}
.evc-summary-card .shop_table th,
.evc-summary-card .shop_table td {
    padding: 10px 12px;
}
.evc-summary-card .product-remove a { color: #999; }
.evc-summary-card .product-thumbnail img { max-width: 56px; height: auto; }
.evc-summary-card .cart_totals { margin-top: 12px; }

/* Ocultar acciones/cupón/botones del carrito en el sidebar */
.evc-summary-card .cart .actions,
.evc-summary-card .wc-proceed-to-checkout,
.evc-summary-card .return-to-shop {
    display: none !important;
}

/* Cupón dentro del sidebar (usa el del checkout) */
.evc-summary-card .evc-coupon-wrap {
    margin-top: 12px;
}
.evc-summary-card .checkout_coupon {
    display: block !important; /* aseguramos que no quede colapsado */
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 12px;
}
.evc-summary-card .checkout_coupon .form-row-first,
.evc-summary-card .checkout_coupon .form-row-last {
    width: 100%;
    float: none;
}
.evc-summary-card .checkout_coupon input.input-text {
    width: 100%;
    margin-bottom: 8px;
}
.evc-summary-content.evc-cart-like .elementor-button, .woocommerce-form-coupon-toggle{
    display: none !important;
}
.evc-summary-card .evc-totals-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 6px;
    margin-top: 12px;
    font-weight: 600;
}

.evc-card::before {
    display: none;
}

.evc-card:hover {
    border-color: var(--evc-border-strong);
    box-shadow: 0 16px 36px rgba(0,0,0,0.07);
}

/* ==============================
   TÍTULOS Y TEXTOS
   ============================== */

.evc-title {
    margin: 0 0 8px;
    color: var(--evc-text);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.evc-title::after {
    content: '';
    display: block;
    width: 36px;
    height: 2px;
    background: var(--evc-accent);
    margin-top: 6px;
    border-radius: 1px;
}

#evc-billing-form .evc-title::after,
#evc-shipping-block .evc-title::after,
#evc-payment-block .evc-title::after {
    display: none;
}

.evc-subtitle {
    color: var(--evc-text-light);
    font-size: 13px;
    margin-bottom: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.evc-card > p {
    margin: 4px 0 16px;
    color: var(--evc-text-muted);
    font-size: 13px;
    line-height: 1.5;
}

#evc-billing-form,
#evc-shipping-block,
#evc-payment-block {
    background-color: white ;
    border: 1px solid var(--evc-border);
}

#evc-billing-form > p {
    margin-bottom: 20px;
    color: var(--evc-text-light);
    font-size: 13px;
}

/* ==============================
   FORMULARIOS E INPUTS
   ============================== */

.evc-form-group {
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.evc-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--evc-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 13px;
}

.evc-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--evc-border-strong);
    border-radius: 4px;
    font-size: 13px;
    background: #fff;
    color: var(--evc-text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: none;
}

.evc-input:focus {
    border-color: #b5b5b5;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.04);
    outline: none;
}

.evc-input:hover {
    border-color: #c9c9c9;
}

.evc-input::placeholder {
    color: #999;
}

/* Select con estilos consistentes */
select.evc-input,
.evc-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236d6d6d' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 36px;
    cursor: pointer;
}

select.evc-input:focus,
.evc-select:focus {
    border-color: #b5b5b5;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.04);
    outline: none;
}

select.evc-input option,
.evc-select option {
    padding: 8px 12px;
}

/* Input especial para código de verificación */
.evc-code-input {
    width: 200px;
    text-align: center;
    font-size: 18px;
    letter-spacing: 2px;
    font-weight: 600;
}

/* ==============================
   BOTONES
   ============================== */

.evc-btn, button.button {
    background: #737373 !important;
    color: #ffffff !important;
    border: 1px solid #5c5c5c !important;
    padding: 10px 22px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    min-height: 38px !important;
    text-decoration: none !important;
    position: relative !important;
    overflow: hidden !important;
}

.evc-btn.loading {
    justify-content: center;
    padding-left: 28px;
}

.evc-btn::before,
button.button::before {
    display: none !important;
}

.evc-btn:hover, button.button:hover {
    background: #5c5c5c !important;
    border-color: #4a4a4a !important;
    box-shadow: none !important;
}

.evc-btn:active, button.button:active {
    transform: none !important;
    box-shadow: none !important;
}

.evc-btn:disabled, button.button:disabled {
    background: #cfcfcf !important;
    border-color: #cfcfcf !important;
    cursor: not-allowed !important;
    color: #f3f3f3 !important;
}

/* Contenedor de botones del formulario */
.evc-form-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.evc-btn-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: evc-spin 0.8s linear infinite;
    margin-right: 8px;
    flex-shrink: 0;
}


.evc-btn.loading .evc-btn-spinner {
    display: inline-block;
}

.evc-btn-text {
    white-space: nowrap;
}

@keyframes evc-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Botón secundario */
.evc-btn-secondary, button.button.button-secondary {
    background: #ffffff !important;
    color: var(--evc-text) !important;
    border: 1px solid var(--evc-border-strong) !important;
    box-shadow: none !important;
    padding: 10px 20px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    transition: border-color 0.2s ease, color 0.2s ease !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
}

.evc-btn-secondary:hover {
    border-color: #a3a3a3 !important;
    color: var(--evc-dark) !important;
    background: #f7f7f7 !important;
}

.evc-btn-secondary:active {
    transform: none;
    box-shadow: none;
}

.evc-btn-secondary:disabled{
    background: #f0f0f0 !important;
    color: #a7a7a7 !important;
    cursor: not-allowed;
    border-color: #e1e1e1 !important;
    transform: none;
    box-shadow: none;
}

/* ==============================
   MENSAJES Y NOTIFICACIONES
   ============================== */

.evc-message {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(-10px);
}

#evc-billing-msg,
#evc-shipping-msg {
    display: block;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    color: var(--evc-accent);
    font-weight: 600;
    letter-spacing: 0.02em;
}

#evc-billing-msg.success,
#evc-shipping-msg.success {
    color: #1f7a4d;
}

.evc-message.show {
    opacity: 1;
    transform: translateY(0);
}

.evc-message.success {
    background: #f8fff8;
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

.evc-message.error {
    background: #fff5f5;
    color: #f44336;
    border: 1px solid #f44336;
}

.evc-message.info {
    background: #f0f8ff;
    color: #2196F3;
    border: 1px solid #2196F3;
}

/* ==============================
   LOGIN SOCIAL Y DIVISOR
   ============================== */

.evc-social-login-section {
    margin-bottom: 16px;
    padding-bottom: 16px;
}

.evc-social-login-section > * {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.evc-divider {
    position: relative;
    text-align: center;
    margin: 16px 0;
    color: #999;
}

.evc-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e1e1e1;
}

.evc-divider span {
    position: relative;
    background: #fff;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 500;
}

/* ==============================
   PASOS DEL WIZARD
   ============================== */

.evc-step {
    transition: all 0.5s ease-in-out;
    opacity: 1;
    transform: translateY(0);
}

.evc-step.fade-out {
    opacity: 0;
    transform: translateY(-20px);
}

.evc-step.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* ==============================
   WIZARD DE CHECKOUT
   ============================== */

.evc-wizard {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 16px 20px;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    z-index: 1;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(139,139,139,0.2);
    position: relative;
}

.evc-wizard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--evc-wizard-completed), var(--evc-wizard-current), var(--evc-wizard-pending-light));
    border-radius: 16px 16px 0 0;
}

.evc-wizard-step {
    text-align: center;
    flex: 1;
    position: relative;
    min-width: 100px;
    margin: 10px 0;
    transition: all 0.3s ease;
}

.evc-step-circle {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    border-radius: 50%;
    line-height: 40px;
    font-weight: bold;
    font-size: 15px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 8px rgba(0,0,0,0.12);
    border: 2px solid #e0e0e0;
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
    color: #666;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.evc-step-circle::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--evc-wizard-pending-light), var(--evc-wizard-pending));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Estado: Pendiente (vacío/gris) */
.evc-step-circle.pending {
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
    border-color: #e0e0e0;
    color: #999;
    transform: scale(1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

/* Estado: Completado (verde) */
.evc-step-circle.completed {
    background: linear-gradient(135deg, var(--evc-wizard-completed-light), var(--evc-wizard-completed-dark));
    border-color: var(--evc-wizard-completed);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 3px 8px rgba(46, 125, 50, 0.35);
}

.evc-step-circle.completed::before {
    background: linear-gradient(135deg, var(--evc-wizard-completed-light), var(--evc-wizard-completed-dark));
    opacity: 1;
}

/* Estado: Actual (rojo) */
.evc-step-circle.current {
    background: linear-gradient(135deg, var(--evc-wizard-current-light), var(--evc-wizard-current-dark));
    border-color: var(--evc-wizard-current);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(193, 38, 44, 0.4);
    animation: currentPulse 2s ease-in-out infinite;
}

.evc-step-circle.current::before {
    background: linear-gradient(135deg, var(--evc-wizard-current-light), var(--evc-wizard-current-dark));
    opacity: 1;
}

@keyframes currentPulse {
    0%, 100% { 
        box-shadow: 0 4px 12px rgba(193, 38, 44, 0.4);
    }
    50% { 
        box-shadow: 0 4px 20px rgba(193, 38, 44, 0.6);
    }
}

.evc-step-label {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
}

/* Label para paso pendiente */
.evc-step-circle.pending + .evc-step-label {
    color: #999;
    font-weight: 500;
}

/* Label para paso completado (verde) */
.evc-step-circle.completed + .evc-step-label {
    color: var(--evc-wizard-completed);
    font-weight: 600;
}

/* Label para paso actual (rojo) */
.evc-step-circle.current + .evc-step-label {
    color: var(--evc-wizard-current);
    font-weight: 700;
}

/* Pasos clickeables (completados) */
.evc-wizard-step.evc-step-clickable {
    cursor: pointer;
    transition: all 0.3s ease;
}

.evc-wizard-step.evc-step-clickable:hover {
    transform: none;
}

.evc-wizard-step.evc-step-clickable:hover .evc-step-circle {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.45);
}

.evc-wizard-step.evc-step-clickable:hover .evc-step-label {
    color: var(--evc-wizard-completed-dark);
    transform: translateY(-2px);
}

.evc-wizard-line {
    position: absolute;
    top: 20px;
    right: -50%;
    width: 100%;
    height: 3px;
    background: #e0e0e0;
    z-index: 1;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .evc-wizard-line {
        display: none;
    }
}

.evc-wizard-line.completed {
    background: linear-gradient(90deg, var(--evc-wizard-completed-light), var(--evc-wizard-completed-dark));
    box-shadow: 0 1px 3px rgba(46, 125, 50, 0.3);
}

/* ==============================
   CAMPOS RUT
   ============================== */

.evc-rut-fields {
    margin-top: 12px;
    max-height: 200px;
    transition: all 0.5s ease-in-out;
    overflow: hidden;
    padding: 14px;
    background: rgba(255,255,255,0.85);
    border: 1px dashed var(--evc-border-strong);
    border-radius: 6px;
    gap: 10px;
}

.evc-rut-fields.hidden {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    border: none;
    background: transparent;
}

/* ==============================
   FORMULARIOS DE FACTURACIÓN Y ENVÍO
   ============================== */

.evc-form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.evc-form-col {
    flex: 1;
    min-width: 240px;
}

.evc-checkbox-group {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--evc-border);
    background: transparent;
}

#evc-billing-form .evc-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

#evc-billing-form .evc-checkbox-label {
    align-items: flex-start;
    line-height: 1.4;
}

.evc-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid var(--evc-border-strong);
    border-radius: 2px;
    margin-right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}

.evc-checkbox:checked {
    background: var(--evc-accent);
    border-color: var(--evc-accent);
}

.evc-checkbox:checked::after {
    content: '';
    width: 6px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
}

.evc-checkbox[type="radio"] {
    border-radius: 50%;
}

.evc-checkbox[type="radio"]:checked::after {
    width: 8px;
    height: 8px;
    border: none;
    border-radius: 50%;
    background: #fff;
    transform: none;
}

.evc-checkbox:focus-visible {
    outline: 2px solid rgba(192, 38, 44, 0.3);
    outline-offset: 2px;
}

.evc-checkbox-label {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: var(--evc-text);
    font-size: 13px;
    gap: 8px;
    margin-left: 10px;
}

.evc-checkbox-label a {
    color: var(--evc-accent);
    font-weight: 600;
    text-decoration: none;
}

.evc-checkbox-label a:hover {
    text-decoration: underline;
}

/* ==============================
   EFECTOS DE ÉXITO
   ============================== */

.evc-success-effect {
    background: #f8fff8 !important;
    border-color: #4CAF50 !important;
    animation: successPulse 1s ease-in-out;
}

@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* ==============================
   RESPONSIVE DESIGN
   ============================== */

@media (max-width: 1024px) {
    .evc-wizard {
        padding: 20px 16px;
    }
    
    .evc-wizard-step {
        min-width: 90px;
        flex: 0 1 auto;
    }
    
    .evc-step-label {
        font-size: 13px;
    }
    
    .evc-wizard-line {
        right: -40%;
    }
}

@media (max-width: 768px) {
    .evc-container {
        padding: 16px;
    }
    
    .evc-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .evc-card {
        padding: 20px;
        margin-bottom: 16px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .evc-form-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .evc-wizard {
        padding: 16px 12px;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: rgba(139,139,139,0.4) transparent;
    }
    
    .evc-wizard::-webkit-scrollbar {
        height: 4px;
    }
    
    .evc-wizard::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .evc-wizard::-webkit-scrollbar-thumb {
        background: rgba(139,139,139,0.4);
        border-radius: 2px;
    }
    
    .evc-wizard-step {
        min-width: 110px;
        max-width: 110px;
        flex: 0 0 auto;
        margin: 0 8px;
        padding: 0 4px;
    }
    
    .evc-step-circle {
        width: 45px;
        height: 45px;
        line-height: 45px;
        font-size: 16px;
    }
    
    .evc-step-label {
        font-size: 11px;
        margin-top: 8px;
        white-space: normal;
        word-wrap: break-word;
        line-height: 1.3;
        text-align: center;
        padding: 0 2px;
    }
    
    .evc-wizard-line {
        display: none;
    }
    
    .evc-code-input {
        width: 100%;
        max-width: 200px;
    }
    
    .evc-summary-card {
        position: relative;
        top: 0;
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .evc-container {
        padding: 12px;
    }
    
    .evc-title {
        font-size: 20px;
    }
    
    .evc-btn, button.button {
        width: 100%;
        text-align: center;
    }
    
    .evc-wizard {
        padding: 18px 8px;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: rgba(139,139,139,0.4) transparent;
    }
    
    .evc-wizard::-webkit-scrollbar {
        height: 3px;
    }
    
    .evc-wizard::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .evc-wizard::-webkit-scrollbar-thumb {
        background: rgba(139,139,139,0.4);
        border-radius: 2px;
    }
    
    .evc-wizard-step {
        min-width: 100px;
        max-width: 100px;
        flex: 0 0 auto;
        margin: 0 6px;
        padding: 0 2px;
    }
    
    .evc-step-circle {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 14px;
    }
    
    .evc-step-label {
        font-size: 10px;
        margin-top: 6px;
        line-height: 1.3;
        white-space: normal;
        word-wrap: break-word;
        text-align: center;
        padding: 0 2px;
    }
    
    .evc-wizard-line {
        display: none;
    }
    
    .evc-card {
        padding: 16px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .evc-grid {
        gap: 12px;
    }
    
    .evc-form-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .evc-form-buttons > div:first-child {
        order: 2;
    }
    
    .evc-form-buttons > button {
        order: 1;
        width: 100%;
    }
}

/* ==============================
   ANIMACIONES PERSONALIZADAS
   ============================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.evc-animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.evc-animate-fade-in-down {
    animation: fadeInDown 0.6s ease-out;
}

/* ==============================
   ESTADOS DE CARGA
   ============================== */

.evc-loading {
    position: relative;
    pointer-events: none;
}

.evc-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #d32f2f;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==============================
   UTILIDADES
   ============================== */

.evc-text-center { text-align: center; }
.evc-text-left { text-align: left; }
.evc-text-right { text-align: right; }

.evc-mb-0 { margin-bottom: 0; }
.evc-mb-1 { margin-bottom: 8px; }
.evc-mb-2 { margin-bottom: 16px; }
.evc-mb-3 { margin-bottom: 24px; }

.evc-mt-0 { margin-top: 0; }
.evc-mt-1 { margin-top: 8px; }
.evc-mt-2 { margin-top: 16px; }
.evc-mt-3 { margin-top: 24px; }

.evc-hidden { display: none; }
.evc-visible { display: block; }

#evc-save-billing,
#evc-save-shipping,
#evc-go-back {
    display: none !important;
}

/* ==============================
   ESTILOS ESPECÍFICOS PARA UNIVERSO HOBBY
   ============================== */

/* Efecto sutil al pasar por botones */
.evc-btn:not(:disabled):hover {
    animation: none;
}

/* Código de verificación */
.evc-code-input {
    font-family: 'Courier New', monospace;
    background: #f8f8f8;
    border: 1px solid #dcdcdc;
    color: #2f2f2f;
    font-weight: 700;
}

.evc-code-input:focus {
    border-color: #9c9c9c;
    box-shadow: none;
    background: #fff;
}

/* Mensajes */
.evc-message.success {
    background: #f0f6ec;
    color: #3b5d2a;
    border: 1px solid #b3c69a;
    border-left: 4px solid #83a45c;
}

.evc-message.error {
    background: #fdf4f4;
    color: #8c1d1d;
    border: 1px solid #e7b1b1;
    border-left: 4px solid #c45555;
}

.evc-message.info {
    background: #f5f5f5;
    color: #4c4c4c;
    border: 1px solid #d7d7d7;
    border-left: 4px solid #a0a0a0;
}

/* Checkboxes */
.evc-checkbox-group {
    background: #fff;
    border: 1px solid #e2e2e2;
    border-left: 4px solid rgba(192, 38, 44, 0.4);
}

.evc-checkbox-label {
    cursor: pointer;
    transition: color 0.2s ease;
}

.evc-checkbox-label:hover {
    color: #c0262c;
}

.evc-checkbox {
    margin-right: 10px;
}

/* Efectos de carga mejorados */
.evc-loading::after {
    border-top-color: var(--evc-wizard-accent);
}

/* Animación de entrada para las tarjetas */
.evc-card {
    animation: cardSlideIn 0.6s ease-out;
}

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mejoras en el wizard */
.evc-wizard-step {
    animation: stepFadeIn 0.8s ease-out;
}

@keyframes stepFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efecto de pulso para elementos completados (verde) */
.evc-step-circle.completed {
    animation: completedPulseGreen 0.6s ease-out;
}

@keyframes completedPulseGreen {
    0% { 
        transform: scale(1);
        box-shadow: 0 2px 4px rgba(46, 125, 50, 0.2);
    }
    50% { 
        transform: scale(1.15);
        box-shadow: 0 4px 12px rgba(46, 125, 50, 0.5);
    }
    100% { 
        transform: scale(1.05);
        box-shadow: 0 3px 8px rgba(46, 125, 50, 0.35);
    }
}

/* Mejoras en responsive */
@media (max-width: 768px) {
    .evc-title {
        font-size: 24px;
    }
    
    .evc-title::after {
        width: 40px;
        height: 2px;
    }
    
    .evc-btn, button.button {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .evc-btn-secondary {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .evc-card {
        padding: 24px 20px;
    }
}

@media (max-width: 480px) {
    .evc-container {
        padding: 12px;
    }
    
    .evc-card {
        padding: 20px 16px;
        border-radius: 12px;
    }
    
    .evc-title {
        font-size: 22px;
        margin-bottom: 12px;
    }
    
    .evc-btn {
        padding: 14px 16px;
        font-size: 14px;
        letter-spacing: 0.3px;
    }
    
    .evc-btn-secondary {
        padding: 12px 16px;
        font-size: 14px;
    }
}


/* ==============================
   ESTILOS ESPECÍFICOS PARA UNIVERSO HOBBY
   ============================== */
div.product-name a {
    color: black;
    font-weight: 600;
}

div.elementor-menu-cart__product-price{
    color: grey;
    font-weight: 500;
}

button{
    font-size: 14px;
}

.evc-payment-block .col2-set, .evc-payment-block .woocommerce-checkout-review-order-table{
    display: none !important;   
}



div.col2-set#customer_details, h3#order_review_heading, table.shop_table {
    display: none !important;
}

div#payment{
    background: white !important;
}

li.wc_payment_method{
    font-size: 0.9rem !important;
}


@media (max-width: 768px) {
    div#header-checkout .e-con-inner {
        display: flex;
        flex-direction: column;
        align-content: center;
    }
    
    div#header-checkout .e-con-inner .e-flex{
        width: unset;
    }
    
    
    div#header-checkout .e-con-inner .e-flex .elementor-widget-shortcode{
        width: auto;
        padding-top: 1rem;
    }
}

/* ==============================
   CONTENEDOR FIJO INFERIOR
   ============================== */

.evc-fixed-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e1e1e1;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 16px 24px;
}

.evc-fixed-bottom-content {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.evc-fixed-bottom-left {
    flex: 0 0 auto;
}

.evc-fixed-bottom-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.evc-fixed-bottom-right {
    flex: 0 0 auto;
}

.evc-fixed-total {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
}

.evc-fixed-total-label {
    color: #666;
}

.evc-fixed-total-price {
    color: #1c1c1c;
    font-size: 20px;
}

/* Agregar padding inferior al contenedor principal para que no tape el contenido */
.evc-container {
    padding-bottom: 100px;
}

@media (max-width: 768px) {
    .evc-fixed-bottom-bar {
        padding: 12px 16px;
    }
    
    .evc-fixed-bottom-content {
        gap: 12px;
    }
    
    .evc-fixed-total {
        font-size: 16px;
        gap: 8px;
    }
    
    .evc-fixed-total-price {
        font-size: 18px;
    }
    
    .evc-fixed-bottom-left,
    .evc-fixed-bottom-right {
        position: absolute;
        bottom: 5%;
        width: 40%;
        margin: 0%;
    }

    .evc-fixed-bottom-left{
        left: 5%;
    }

    .evc-fixed-bottom-right{
        right: 5%;
    }

    .evc-fixed-bottom-center{
        padding-bottom: 3rem !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .evc-fixed-go-back{
        width: 100% !important;
    }
    
    .evc-container {
        padding-bottom: 90px;
    }
}

@media (max-width: 480px) {
    .evc-fixed-bottom-bar {
        padding: 12px;
    }
    
    .evc-fixed-bottom-content {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .evc-fixed-bottom-left {
        order: 1;
        width: 100%;
        margin-bottom: 8px;
    }
    
    .evc-fixed-bottom-center {
        order: 2;
        width: 100%;
        justify-content: space-between;
        margin-bottom: 8px;
    }
    
    .evc-fixed-bottom-right {
        order: 3;
        width: 100%;
    }
    
    .evc-fixed-bottom-right .evc-btn {
        width: 100%;
    }
    
    .evc-fixed-total {
        font-size: 14px;
    }
    
    .evc-fixed-total-price {
        font-size: 16px;
    }
    
    .evc-container {
        padding-bottom: 140px;
    }

    .evc-fixed-bottom-left,
    .evc-fixed-bottom-right {
        position: absolute;
        bottom: 5%;
        width: 40%;
        margin: 0%;
    }

    .evc-fixed-bottom-left{
        left: 5%;
    }

    .evc-fixed-bottom-right{
        right: 5%;
    }

    .evc-fixed-bottom-center{
        padding-bottom: 3rem !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .evc-fixed-go-back{
        width: 100% !important;
    }
}

.elementor-menu-cart__subtotal{
    display: none !important;
}

/* ==============================
   GOOGLE MAPS ADDRESS COMPONENT
   ============================== */

.evc-google-maps-wrapper {
    margin-top: 20px;
    margin-bottom: 20px;
}

.evc-map-container {
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.evc-map {
    width: 100%;
    height: 300px;
    min-height: 300px;
    border: none;
}

.evc-map-hint {
    margin: 0;
    padding: 10px 15px;
    background-color: #f8f9fa;
    color: #6c757d;
    font-size: 13px;
    text-align: center;
    border-top: 1px solid #e9ecef;
}

/* Estilos para el autocompletado de Google Places */
.pac-container {
    background-color: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: inherit;
    margin-top: 5px;
    z-index: 9999 !important;
}

.pac-item {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px;
    transition: background-color 0.2s;
}

.pac-item:hover {
    background-color: #f8f9fa;
}

.pac-item-selected {
    background-color: #e3f2fd;
}

.pac-item-query {
    color: #1f2937;
    font-weight: 500;
}

.pac-matched {
    font-weight: 600;
    color: #2563eb;
}

.pac-icon {
    margin-right: 10px;
}

/* Corregir problemas con el autocompletado que bloquea el campo */
.pac-container {
    position: absolute !important;
    z-index: 9999 !important;
}

/* Ocultar íconos problemáticos dentro del input */
input[id*="address_1"] + .pac-container,
input[id*="address_1"]::before,
input[id*="address_1"]::after {
    pointer-events: none;
}

/* Asegurar que el input sea editable */
.evc-input[id*="address_1"] {
    pointer-events: auto !important;
    position: relative;
    z-index: 1;
}

/* Ocultar elementos de autocompletado que se superponen al input */
.evc-input[id*="address_1"] ~ * {
    pointer-events: none;
}

/* Corregir el contenedor de autocompletado para que no bloquee */
.pac-container:empty {
    display: none !important;
}

/* Responsive para el mapa */
@media (max-width: 768px) {
    .evc-map {
        height: 250px;
        min-height: 250px;
    }
    
    .evc-map-hint {
        font-size: 12px;
        padding: 8px 12px;
    }
}

/* ==============================
   CUSTOM CART SUMMARY COMPONENT
   ============================== */

.evc-cart-summary {
    width: 100%;
}

.evc-cart-empty {
    text-align: center;
    padding: 24px 16px;
    color: var(--evc-text-muted);
}

/* Listado de items */
.evc-cart-items {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 12px;
    background: var(--evc-surface);
    overflow: hidden;
}

.evc-cart-items::after {
    content: '';
    border-bottom: 1px solid var(--evc-border);
}


.evc-cart-item {
    display: grid;
    grid-template-columns: 55px 10rem 50px;
    justify-content: center;
    align-items: center;
    column-gap: 12px;
    row-gap: 4px;
    padding: 12px 16px;
    background: var(--evc-surface);
    position: relative;
}

.evc-cart-item:last-child {
    border-bottom: none;
}

/* Miniatura del producto */
.evc-cart-thumb {
    flex: 0 0 55px;
    width: 55px;
    height: 55px;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--evc-border);
    grid-column: 1;
    align-self: flex-start;
}

.evc-cart-thumb img,
.evc-cart-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.evc-cart-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}

/* Info del producto */
.evc-cart-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    color: var(--evc-text);
    font-size: 13px;
    grid-column: 2;
    align-self: flex-start;
}

.evc-cart-name {
    font-weight: 600;
    color: var(--evc-text);
    font-size: 12px;
    line-height: 1.3;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.evc-cart-name a {
    color: inherit;
    text-decoration: none;
}

.evc-cart-name a:hover {
    color: #c0262c;
}

.evc-cart-sku {
    font-size: 10px;
    color: var(--evc-text-light);
    margin-bottom: 0;
}

.evc-cart-info dl.variation {
    margin: 4px 0 0;
    font-size: 12px;
    color: var(--evc-text-light);
}

.evc-cart-info dl.variation dt,
.evc-cart-info dl.variation dd {
    display: inline;
    margin: 0;
}

.evc-cart-info dl.variation dd p {
    display: inline;
    margin: 0;
}

/* Controles de cantidad */
.evc-qty-controls {
    display: inline-flex;
    align-items: center;
    justify-content: space-evenly;
    border: 1px solid var(--evc-border);
    overflow: hidden;
    margin-top: 0;
    background: #fff;
    grid-column: 3;
    justify-self: center;
    width:60px ;
    height: 20px;
}

.evc-qty-btn {
    width: 36px;
    height: 28px;
    border: none;
    background: transparent;
    color: var(--evc-text);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
    line-height: 1;
}

.evc-qty-btn:hover {
    background: var(--evc-panel);
    color: var(--evc-accent);
}

.evc-qty-input {
    width: 20px !important;
    height: 20px !important;
    border: none !important;
    border-left: 1px solid var(--evc-border) !important;
    border-right: 1px solid var(--evc-border) !important;
    text-align: center;
    font-size: 13px !important;
    font-weight: 600;
    color: var(--evc-text) !important;
    background: transparent;
    -moz-appearance: textfield;
    appearance: textfield;
    padding: 0 !important;
}

.evc-qty-input::-webkit-outer-spin-button,
.evc-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.evc-qty-input:focus {
    outline: none;
}

/* Precios */
.evc-cart-prices {
    flex: 0 0 auto;
    text-align: right;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    grid-column: 4;
    align-self: center;
}

.evc-price-old {
    font-size: 12px;
    color: var(--evc-text-light);
    text-decoration: line-through;
    line-height: 1.2;
}

.evc-price-discount {
    font-size: 12px;
    color: var(--evc-accent-strong);
    font-weight: 500;
    line-height: 1.2;
}

.evc-price-current {
    font-size: 13px;
    font-weight: 700;
    color: var(--evc-text);
    margin-top: 1px;
}

/* Botón eliminar */
.evc-cart-remove {
    position: absolute;
    right: 16px;
    width: 28px;
    height: 28px;
    border: none;
    background: none;
    color: var(--evc-text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: color 0.2s ease;
    padding: 0;
}

.evc-cart-remove:hover {
    color: var(--evc-accent);
}

.evc-cart-remove svg {
    width: 12px;
    height: 12px;
}

/* Totales del carrito */
.evc-cart-totals {
    padding: 14px 16px;
    border-radius: 8px;
    background: white;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
}

.evc-cart-totals::after {
    content: '';
    border-bottom: 1px solid var(--evc-border);
}

.evc-cart-totals .evc-totals-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    font-size: 12px;
    color: var(--evc-text-light);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.evc-cart-totals .evc-totals-row strong {
    color: var(--evc-text);
    font-size: 13px;
}

.evc-cart-totals .evc-totals-total {
    margin-top: 6px;
    padding-top: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--evc-text);
}

.evc-cart-totals .evc-totals-total span,
.evc-cart-totals .evc-totals-total strong {
    color: var(--evc-text);
}

.evc-cart-totals .evc-totals-discount strong {
    color: var(--evc-accent-strong);
}

/* Sección de observaciones */
.evc-order-notes {
    background: white;
    padding: 12px 16px;
    margin-bottom: 12px;
}

.evc-order-notes::before {
    content: '';
    border-bottom: 1px solid var(--evc-border);
}


.evc-notes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 6px;
}

.evc-notes-title {
    font-weight: 600;
    color: var(--evc-text);
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.evc-notes-toggle {
    background: none;
    border: none;
    color: var(--evc-text);
    font-size: 12px;
    cursor: pointer;
    padding: 0;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

.evc-notes-toggle:hover {
    color: var(--evc-accent);
}

.evc-notes-preview {
    font-size: 13px;
    color: var(--evc-text-muted);
    line-height: 1.5;
}

.evc-notes-form {
    margin-top: 8px;
}

.evc-notes-textarea {
    width: 100%;
    min-height: 60px;
    padding: 10px;
    border: 1px solid var(--evc-border);
    border-radius: 4px;
    font-size: 13px;
    resize: vertical;
    margin-bottom: 8px;
    font-family: inherit;
    background: #fff;
}

.evc-notes-textarea:focus {
    outline: none;
    border-color: #b5b5b5;
    box-shadow: none;
}

.evc-notes-save {
    padding: 10px 20px;
    font-size: 14px;
}

/* Sección de cupón */
.evc-coupon-section {
    background: white;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
}

.evc-coupon-section::before {
    content: '';
    border-bottom: 1px solid var(--evc-border);
    margin-bottom: 1rem;
}

.evc-coupon-title {
    font-weight: 600;
    color: var(--evc-text);
    font-size: 12px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.evc-coupon-form {
    display: flex;
    gap: 0;
    border: 1px solid var(--evc-border-strong);
    border-radius: 6px;
    overflow: hidden;
    background: var(--evc-panel);
}

.evc-coupon-input {
    flex: 1;
    padding: 10px 12px;
    border: none;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--evc-text);
    background: transparent;
}

.evc-coupon-input::placeholder {
    color: var(--evc-text-light);
}

.evc-coupon-input:focus {
    outline: none;
}

.evc-coupon-apply {
    flex: 0 0 auto;
    padding: 0 18px;
    font-size: 11px;
    white-space: nowrap;
    background: #9c9c9c;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: none;
}

.evc-coupon-apply:hover {
    background: #7a7a7a;
}

.evc-coupon-message {
    margin-top: 8px;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 4px;
}

.evc-coupon-message:empty {
    display: none;
}

.evc-coupon-message.success {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.evc-coupon-message.error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* Cupones aplicados */
.evc-applied-coupons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.evc-coupon-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: var(--evc-panel);
    border: 1px solid var(--evc-border);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--evc-text);
}

.evc-coupon-remove {
    background: none;
    border: none;
    color: var(--evc-accent);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: color 0.2s ease;
    border-radius: 4px !important;
    box-shadow: border-box !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    width: auto !important;
    color: inherit !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.evc-coupon-remove:hover {
    color: var(--evc-accent-strong) !important;
    box-sizing: border-box !important;
}

.evc-cart-button{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    width: auto !important;
    color: inherit !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.evc-cart-button:hover{
    border: none !important;
    background: transparent !important;
    color: inherit !important;
    transition: none !important;
    transform: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Responsive para cart summary */
@media (max-width: 768px) {
    .evc-cart-item {
        grid-template-columns: 60px 1fr;
        grid-template-rows: auto auto auto;
        column-gap: 12px;
        row-gap: 8px;
        padding: 16px;
    }
    
    .evc-cart-thumb {
        grid-row: 1 / span 3;
        width: 60px;
        height: 60px;
    }
    
    .evc-cart-info {
        grid-column: 2;
        grid-row: 1;
    }
    
    .evc-qty-controls {
        grid-column: 2;
        grid-row: 2;
        justify-self: flex-start;
        margin-top: 0;
    }
    
    .evc-cart-prices {
        grid-column: 2;
        grid-row: 3;
        align-items: flex-start;
        text-align: left;
        margin-left: 0;
    }
    
    .evc-cart-remove {
        top: 12px;
        right: 12px;
        width: 24px;
        height: 24px;
    }
    
    .evc-cart-item {
        padding-right: 48px;
    }
    
    .evc-coupon-form {
        flex-direction: column;
        border-radius: 4px;
    }
    
    .evc-coupon-apply {
        width: 100%;
        padding: 12px 0;
        border-top: 1px solid var(--evc-border);
    }
}

@media (max-width: 480px) {
    .evc-cart-thumb {
        width: 45px;
        height: 45px;
    }
    
    .evc-cart-item {
        grid-template-columns: 45px 1fr;
    }
    
    .evc-cart-name {
        font-size: 12px;
    }
    
    .evc-cart-prices {
        min-width: 0;
        align-items: flex-start;
        margin-left: 0;
        text-align: left;
    }
    
    .evc-price-current {
        font-size: 13px;
    }
    
    .evc-qty-btn {
        width: 30px;
        height: 26px;
        font-size: 14px;
    }
    
    .evc-qty-input {
        width: 34px;
        height: 26px;
        font-size: 12px;
    }
}

.evc-cart-prices span.amount{
    font-size: 11px;
}

/* Payment styles */

label[for='payment_method_plexo'], label[for='payment_method_woo-mercado-pago-basic']{
    display: inline-flex;
    align-items: center;
}

label[for='payment_method_plexo']::after{
    top: 0px !important;
}

.mp-checkout-benefits-list{
    display: none;
}

/* ==============================
   SHIPPING LOADING STATES
   ============================== */

/* Estado deshabilitado para radio buttons de shipping */
.evc-checkbox-label.evc-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.evc-checkbox-label.evc-disabled input {
    cursor: not-allowed;
}

/* Estado deshabilitado para campos del formulario */
.evc-field-disabled,
.evc-input:disabled,
.evc-select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: var(--evc-panel) !important;
}

/* Contenedor del formulario en estado de carga */
.evc-form-loading {
    position: relative;
    pointer-events: none;
}

.evc-form-loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.5);
    z-index: 5;
    border-radius: 4px;
}

/* Mapa deshabilitado */
.evc-map-container.evc-map-disabled {
    position: relative;
    pointer-events: none;
}

.evc-map-container.evc-map-disabled::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.4);
    z-index: 10;
    cursor: not-allowed;
}

/* Contenedor de totales con spinner */
.evc-cart-totals {
    position: relative;
}

.evc-cart-totals.evc-totals-loading {
    pointer-events: none;
}

.evc-cart-totals.evc-totals-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border: 2px solid var(--evc-border-strong);
    border-top-color: var(--evc-accent);
    border-radius: 50%;
    animation: evc-totals-spin 0.8s linear infinite;
    z-index: 10;
}

@keyframes evc-totals-spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Transición suave para los rows de totales */
.evc-totals-row {
    transition: opacity 0.2s ease;
}

/* ==============================
   GLOBAL LOADING STATE
   ============================== */

/* Spinner de loading para totales */
.evc-totals-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    margin-bottom: 8px;
}

.evc-totals-loading span {
    font-size: 13px;
    color: var(--evc-text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.evc-totals-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--evc-border-strong);
    border-top-color: var(--evc-accent);
    border-radius: 50%;
    animation: evc-spin 0.8s linear infinite;
}

/* Estado de loading para el formulario principal */
.evc-main.evc-loading {
    position: relative;
    opacity: 0.6;
    pointer-events: none;
}

.evc-main.evc-loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.4);
    z-index: 100;
    border-radius: 8px;
}

/* Estado deshabilitado para botones */
.evc-btn-disabled,
.evc-btn.evc-btn-disabled,
.evc-btn-secondary.evc-btn-disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

/* Estado de loading para la barra fija inferior */
.evc-fixed-bottom-bar.evc-loading {
    pointer-events: none;
}

.evc-fixed-bottom-bar.evc-loading .evc-btn,
.evc-fixed-bottom-bar.evc-loading .evc-btn-secondary {
    opacity: 0.5;
    cursor: not-allowed;
}

.evc-fixed-bottom-bar.evc-loading .evc-fixed-total-price {
    opacity: 0.5;
}

.evc-mt-2 .woocommerce-notices-wrapper{
    display: none !important;
}