/* CSS para el wizard completo del casillero */
.casillero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 20px;
    min-height: 600px;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
    border: 2px solid #e5f3ff;
}

.wizard-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 20px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.wizard-header h2 {
    color: white !important;
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 700;
}

.wizard-header p {
    color: white !important;
    font-size: 18px;
    margin: 0;
    opacity: 0.9;
}

.wizard-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
    padding: 0 20px;
}

.wizard-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.wizard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wizard-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.2);
    transform: translateY(-4px);
}

.wizard-card:hover::before {
    opacity: 1;
}

.wizard-card.selected {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #f0f8ff 0%, #e5f3ff 100%);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.25);
    transform: translateY(-2px);
}

.wizard-card.selected::before {
    opacity: 1;
}

.wizard-icon {
    margin-bottom: 20px;
}

.wizard-icon img {
    width: 64px;
    height: 64px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.wizard-card:hover .wizard-icon img {
    transform: scale(1.1);
}

.wizard-card h3 {
    color: #1e40af;
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
}

.wizard-card p {
    color: #6b7280;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 15px;
}

.wizard-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 25px;
    text-align: left;
}

.wizard-features span {
    color: #059669;
    font-size: 14px;
    font-weight: 500;
    padding-left: 20px;
    position: relative;
}

.wizard-features span::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: bold;
}

.wizard-btn {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.wizard-btn:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.btn-cotizar {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
}

.btn-cotizar:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
}

.btn-prealertar {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
}

.btn-prealertar:hover {
    background: linear-gradient(135deg, #6d28d9 0%, #9333ea 100%);
}

/* ========== HEADER CON TIPS AL LADO (DESKTOP) ========== */
.header-tips-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 25px;
}

/* ========== CAROUSEL DE TIPS ========== */
.tips-carousel-container {
    flex: 1;
    position: relative;
}

.tips-carousel {
    position: relative;
    min-height: 60px;
    overflow: hidden;
    border-radius: 12px;
}

.tip-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.6;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
    border-left: 4px solid;
}

.tip-slide.active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
}

.tip-blue {
    background: #dbeafe;
    color: #1e40af;
    border-left-color: #3b82f6;
}

.tip-green {
    background: #d1fae5;
    color: #065f46;
    border-left-color: #10b981;
}

.tip-purple {
    background: #e9d5ff;
    color: #6b21a8;
    border-left-color: #a855f7;
}

.tip-orange {
    background: #fed7aa;
    color: #9a3412;
    border-left-color: #f97316;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.carousel-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dots .dot.active {
    background: #3b82f6;
    width: 24px;
    border-radius: 4px;
}

.carousel-dots .dot:hover {
    background: #9ca3af;
}

/* ========== BARRA DE ACCIONES (TOOLBAR) ========== */
.actions-toolbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.btn-toggle-all {
    background: #6b7280;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-toggle-all:hover {
    background: #4b5563;
    transform: translateY(-1px);
}

.btn-agregar-item {
    background: #059669;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-agregar-item:hover {
    background: #047857;
    transform: translateY(-1px);
}

/* ========== ESTILOS PARA ACORDEÓN DE ITEMS ========== */
#items-acordeon-container {
    margin-bottom: 20px;
}

.item-acordeon {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.item-acordeon:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
}

.item-acordeon-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e5f3ff 100%);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
    border-bottom: 1px solid #e5e7eb;
    cursor: pointer;
}

.item-acordeon-header:hover {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.btn-toggle-acordeon {
    background: transparent;
    border: 2px solid #3b82f6;
    color: #3b82f6;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-toggle-acordeon:hover {
    background: #3b82f6;
    color: white;
    transform: scale(1.05);
}

.item-image-preview {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    border: 2px solid #e5e7eb;
    flex-shrink: 0;
}

.btn-eliminar-item {
    background: #ef4444;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-eliminar-item:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.item-status-badge {
    background: #f3f4f6;
    color: #6b7280;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.item-status-badge.status-ok {
    background: #d1fae5;
    color: #065f46;
}

.item-status-badge.status-error {
    background: #fee2e2;
    color: #dc2626;
}

.item-status-badge.status-manual {
    background: #fef3c7;
    color: #d97706;
}

.item-acordeon-body {
    padding: 20px;
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 1000px;
    }
}

.form-row-horizontal {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 15px;
    align-items: start;
}

.form-group-inline {
    display: flex;
    flex-direction: column;
}

.form-group-inline label {
    font-weight: 600;
    color: #374151;
    font-size: 13px;
    margin-bottom: 6px;
}

.form-group-inline .form-control {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group-inline textarea.form-control {
    resize: vertical;
    min-height: 60px;
}

.btn-detectar-item {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-detectar-item:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    transform: translateY(-1px);
}

.btn-detectar-item:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

.flow-container {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin-top: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    animation: slideInUp 0.4s ease-out;
}

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

.flow-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f3f4f6;
}

.back-btn {
    background: #6b7280;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.back-btn:hover {
    background: #4b5563;
    transform: translateX(-2px);
}

.flow-header h3 {
    color: #1e40af;
    font-size: 28px;
    margin: 0;
    font-weight: 700;
}

.form-container {
    background: #f8fafc;
    border-radius: 12px;
    padding: 25px;
    margin-top: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-control:disabled {
    background: #f3f4f6;
    cursor: not-allowed;
}

.info-box {
    background: #eff6ff;
    color: #1e40af;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    border-left: 4px solid #3b82f6;
    font-size: 15px;
    line-height: 1.6;
}

.table-container {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-top: 20px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.data-table th {
    background: #f8fafc;
    padding: 18px 15px;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
    font-weight: 600;
    text-align: left;
}

.data-table td {
    padding: 18px 15px;
    border-bottom: 1px solid #f3f4f6;
    line-height: 1.5;
}

.data-table tr:hover {
    background: #f8fafc;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-enviado {
    background: #d1fae5;
    color: #065f46;
}

.status-transito {
    background: #fef3c7;
    color: #d97706;
}

.status-entregado {
    background: #dbeafe;
    color: #1e40af;
}

.url-detector-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    border: 2px solid #e5f3ff;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.08);
}

.url-input-wrapper {
    display: flex;
    gap: 15px;
    align-items: stretch;
    margin-top: 15px;
}

#btn-detectar-casillero {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

#btn-detectar-casillero:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    transform: translateY(-1px);
}

.detector-status {
    padding: 12px 16px;
    margin-top: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    border-left: 4px solid;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.detector-status.detectando {
    background-color: #dbeafe;
    color: #1e40af;
    border-left-color: #3b82f6;
}

.detector-status.exito {
    background-color: #d1fae5;
    color: #065f46;
    border-left-color: #10b981;
}

.detector-status.error {
    background-color: #fee2e2;
    color: #dc2626;
    border-left-color: #ef4444;
}

.hidden {
    display: none !important;
}

.cotizador-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 64, 175, 0.8);
    animation: fadeIn 0.3s ease;
    backdrop-filter: blur(5px);
}

.cotizador-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cotizador-modal-content {
    background: white;
    margin: 20px;
    padding: 0;
    border-radius: 15px;
    width: 95%;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(30, 64, 175, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.cotizador-modal-header {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 25px 30px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cotizador-modal-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    font-weight: bold;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.cotizador-modal-body {
    padding: 30px;
}

.productos-imagenes-galeria {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
}

.producto-imagen-item {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e5e7eb;
    transition: all 0.2s ease;
}

.producto-imagen-item:hover {
    transform: scale(1.05);
    border-color: #3b82f6;
}

.producto-imagen-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.producto-imagen-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: rgba(30, 64, 175, 0.9);
    color: white;
    font-size: 9px;
    padding: 2px 5px;
    border-radius: 4px;
    font-weight: bold;
}

.cotizador-resultados-horizontal-plugin { 
    background: white; 
    border-radius: 12px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); 
    margin-top: 20px; 
    overflow: hidden; 
}

.producto-info-header-plugin { 
    background: #f8fafc; 
    padding: 20px 25px; 
    border-bottom: 1px solid #e5e7eb; 
}

.producto-url-imagen-descripcion {
    margin-bottom: 15px;
}

.producto-url-section {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}

.producto-imagen-descripcion {
    display: flex; 
    align-items: center; 
    gap: 20px; 
}

.producto-precio-peso-info {
    margin: 0;
    padding-top: 10px;
    border-top: 1px solid #e5e7eb;
}

.producto-precio-peso-info p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
}

.producto-imagen-small-plugin img { 
    width: 80px; 
    height: 80px; 
    object-fit: cover; 
    border-radius: 8px; 
    border: 1px solid #e5e7eb; 
}

.producto-info-text-plugin h3 { 
    margin: 0 0 8px 0; 
    color: #1e40af; 
    font-size: 18px; 
    font-weight: 600;
    line-height: 1.3; 
}

.producto-info-text-plugin p { 
    margin: 0 0 4px 0; 
    color: #6b7280; 
    font-size: 14px; 
}

.servicios-lista-horizontal-plugin { 
    background: white; 
}

.servicio-item-wrapper-plugin { 
    border-bottom: 1px solid #f3f4f6; 
    transition: background-color 0.2s ease; 
}

.servicio-item-wrapper-plugin:last-child { 
    border-bottom: none; 
}

.servicio-item-wrapper-plugin.active-details, 
.servicio-item-wrapper-plugin:hover { 
    background-color: #f8fafc; 
}

.servicio-horizontal-plugin { 
    display: flex; 
    align-items: center; 
    padding: 20px 25px; 
}

.ruta-column-plugin { 
    flex: 0 0 30%; 
    padding-right: 20px; 
}

.ruta-flags-plugin { 
    font-size: 13px; 
    color: #6b7280; 
    line-height: 1.4; 
    display: flex; 
    align-items: center; 
    flex-wrap: wrap; 
}

.flag-small-plugin { 
    width: 20px; 
    height: auto; 
    margin: 0 4px; 
    vertical-align: middle; 
}

.airplane-plugin { 
    color: #9ca3af; 
    margin: 0 4px; 
    font-size: 14px; 
}

.servicio-column-plugin { 
    flex: 0 0 20%; 
    padding-right: 20px; 
}

.servicio-logo-name-plugin { 
    text-align: center; 
}

.logo-container-plugin { 
    margin-bottom: 8px; 
}

.servicio-logo-small-plugin { 
    max-width: 90px; 
    max-height: 35px; 
    object-fit: contain; 
}

.servicio-name-text-plugin { 
    font-size: 15px; 
    font-weight: 600; 
    color: #1e40af; 
    margin-bottom: 4px; 
}

.servicio-subtitulo-plugin,
.servicio-logo-name-plugin .servicio-subtitulo-plugin {
    font-size: 11px !important;
    color: #4b5563 !important;
    font-style: italic !important;
    font-weight: normal !important;
    line-height: 1.3 !important;
    margin-top: 3px !important;
    margin-bottom: 5px !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    max-width: 200px !important;
    display: block !important;
    text-align: center !important;
    word-wrap: break-word !important;
}

.badge-economico-small-plugin { 
    background: #fef3c7; 
    border: 1px solid #f59e0b; 
    color: #d97706; 
    font-size: 10px; 
    padding: 3px 8px; 
    border-radius: 12px; 
    font-weight: bold; 
    display: inline-block; 
}

.info-column-plugin { 
    flex: 0 0 25%; 
    padding-right: 20px; 
}

.info-grid-horizontal-plugin { 
    display: flex; 
    flex-direction: column; 
    gap: 4px; 
}

.info-item-plugin { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.info-label-small-plugin { 
    font-size: 11px; 
    color: #9ca3af; 
    font-weight: 500;
}

.info-value-small-plugin { 
    font-size: 13px; 
    font-weight: 600; 
    color: #374151; 
}

.precio-actions-column-plugin { 
    flex: 0 0 25%; 
    text-align: right; 
}

.precio-grande-plugin { 
    font-size: 20px; 
    font-weight: bold; 
    color: #1e40af; 
    margin-bottom: 4px; 
    line-height: 1.2; 
}

.precio-detalles-small-plugin { 
    font-size: 10px; 
    color: #6b7280; 
    line-height: 1.2; 
    margin-bottom: 12px; 
}

.actions-horizontal-plugin { 
    display: flex; 
    gap: 12px; 
    justify-content: flex-end; 
    align-items: center; 
}

.ver-detalles-link-plugin { 
    font-size: 12px; 
    color: #1e40af; 
    text-decoration: none; 
    white-space: nowrap; 
    cursor: pointer; 
    font-weight: 500;
}

.ver-detalles-link-plugin:hover { 
    text-decoration: underline; 
    color: #1d4ed8;
}

.seleccionar-btn-plugin {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white !important;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.seleccionar-btn-plugin:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.detalles-expandibles-h-plugin { 
    display: none; 
    background: #f8fafc; 
    border-top: 1px solid #e5e7eb; 
    animation: slideDownHPlugin 0.3s ease-out; 
}

@keyframes slideDownHPlugin { 
    from { 
        opacity: 0; 
        max-height: 0; 
        overflow: hidden; 
    } 
    to { 
        opacity: 1; 
        max-height: 500px; 
    } 
}

.detalles-full-width-plugin { 
    padding: 25px; 
}

.detalles-full-width-plugin h4 { 
    color: #1e40af; 
    margin: 0 0 20px 0; 
    font-size: 18px; 
    border-bottom: 2px solid #3b82f6; 
    padding-bottom: 8px; 
    font-weight: 600;
}

.detalles-grid-h-plugin { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 25px; 
    margin-bottom: 20px; 
}

.detalles-col-usd-plugin, .detalles-col-cop-plugin { 
    background: white; 
    border-radius: 8px; 
    padding: 20px; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); 
    border: 1px solid #e5e7eb;
}

.detalles-col-usd-plugin h5, .detalles-col-cop-plugin h5 { 
    margin: 0 0 15px 0; 
    color: #374151; 
    font-size: 16px; 
    font-weight: 600;
    text-align: center; 
    padding: 12px; 
    background: #f8fafc; 
    border-radius: 6px; 
}

.detalles-table-h-plugin { 
    width: 100%; 
    border-collapse: collapse; 
    font-size: 14px; 
}

.detalles-table-h-plugin td { 
    padding: 8px 10px; 
    border-bottom: 1px solid #f3f4f6; 
}

.detalles-table-h-plugin td:first-child { 
    color: #6b7280; 
    font-weight: 500; 
}

.detalles-table-h-plugin td:last-child { 
    text-align: right; 
    font-weight: bold; 
    color: #1e40af; 
}

.detalles-table-h-plugin .total-row-h-plugin td { 
    background-color: #eff6ff; 
    border-top: 2px solid #3b82f6; 
    font-size: 15px; 
    padding: 12px 10px; 
    font-weight: bold;
}

.detalles-info-plugin { 
    background: white; 
    border-radius: 8px; 
    padding: 20px; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); 
    margin-top: 20px; 
    border: 1px solid #e5e7eb;
}

.detalles-info-plugin p { 
    margin: 0 0 12px 0; 
    color: #1e40af; 
    font-weight: bold; 
    font-size: 15px;
}

.detalles-info-plugin ul { 
    margin: 0; 
    padding-left: 20px; 
    color: #6b7280; 
}

.detalles-info-plugin li { 
    margin-bottom: 6px; 
    line-height: 1.5; 
    font-size: 13px; 
}

@media (max-width: 768px) {
    .casillero-container {
        padding: 0;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
        border: none;
    }

    .wizard-options {
        grid-template-columns: 1fr 1fr;
        padding: 0 5px;
        gap: 10px;
    }

    .wizard-card {
        padding: 20px 15px;
        min-height: 200px;
        max-height: 200px;
    }

    .wizard-icon img {
        width: 40px;
        height: 40px;
    }

    .wizard-card h3 {
        font-size: 16px;
    }

    .wizard-card p {
        font-size: 12px;
        -webkit-line-clamp: 2;
    }

    .wizard-features {
        display: none;
    }

    .wizard-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .wizard-header h2 {
        font-size: 26px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .form-row-horizontal {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .url-input-wrapper {
        flex-direction: column;
        gap: 15px;
    }

    .flow-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .detalles-grid-h-plugin {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .servicio-horizontal-plugin {
        flex-direction: column;
        align-items: stretch;
        padding: 15px;
        gap: 10px;
    }
    
    .ruta-column-plugin, .servicio-column-plugin, .info-column-plugin, .precio-actions-column-plugin {
        flex: none;
        padding-right: 0;
        text-align: center;
    }
    
    .actions-horizontal-plugin {
        justify-content: center;
    }
    
    .producto-info-header-plugin {
        flex-direction: column;
        text-align: center;
        padding: 15px 20px;
    }
    
    .producto-url-imagen-descripcion {
        margin-bottom: 10px;
    }
    
    .producto-imagen-descripcion {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .producto-imagen-small-plugin img {
        width: 60px;
        height: 60px;
    }
    
    .producto-precio-peso-info {
        border-top: none;
        padding-top: 5px;
    }

    .item-acordeon-header {
        padding: 12px 15px;
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(59, 130, 246, 0.1);
    }
    
    .item-acordeon-header h4 {
        font-size: 15px;
    }
    
    .item-acordeon-body {
        padding: 10px 5px;
    }

    .productos-imagenes-galeria {
        justify-content: center;
    }

    .producto-imagen-item {
        width: 60px;
        height: 60px;
    }
    
    .flow-container {
        padding: 10px 5px;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
    }
    
    .flow-header {
        padding: 10px 5px;
    }
    
    .form-container {
        padding: 15px 5px;
        border-radius: 8px;
    }
    
    .item-acordeon {
        border-radius: 8px;
        margin-bottom: 10px;
    }
    
    .url-detector-section {
        padding: 10px 5px;
        margin-bottom: 15px;
    }
    
    /* MOBILE: Tips debajo del título */
    .header-tips-wrapper {
        flex-direction: column;
        gap: 15px;
    }
    
    .tips-carousel-container {
        margin-bottom: 15px;
    }
    
    .tip-slide {
        font-size: 13px;
        padding: 12px 15px;
    }
    
    /* MOBILE: Botones en toolbar */
    .actions-toolbar {
        justify-content: flex-end;
    }
    
    .btn-agregar-item {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .btn-icon {
        width: 20px;
        height: 20px;
    }
}