  .device-card {
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        margin-bottom: 20px;
        overflow: hidden;
        transition: all 0.3s ease;
        height: 410px;
        display: flex;
        flex-direction: column;
        position: relative;
    }
    
    .device-card:hover {
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        transform: translateY(-3px);
    }
    
    .device-image-container {
        height: 150px;
        background: #f5f5f5;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
        flex-shrink: 0;
    }
    
    .img-dispositivo {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        transition: transform 0.3s ease;
    }
    
    .device-card:hover .img-dispositivo {
        transform: scale(1.05);
    }
    
    .no-image-placeholder {
        color: #ccc;
        font-size: 40px;
    }
    
    .device-actions {
        position: absolute;
        top: 5px;
        right: 5px;
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 1000;
    }
    
    .device-card:hover .device-actions {
        opacity: 1;
    }
    
    .device-actions button {
        cursor: pointer;
        z-index: 1001;
    }
    
    .device-info {
        padding: 15px;
        text-align: center;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }
    
    .device-name {
        margin: 0 0 10px 0;
        font-size: 16px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .device-controls {
        display: flex;
        justify-content: center;
        gap: 5px;
        margin-top: auto;
    }
    
    .device-prices {
        margin: 10px 0;
        padding: 5px;
        background: #f9f9f9;
        border-radius: 4px;
        flex-grow: 1;
    }
    
    .device-colors {
        margin: 5px 0;
        padding: 5px;
        background: #e6f3ff;
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .color-label {
        font-weight: bold;
        color: #555;
        margin-right: 5px;
    }
    
    .color-value {
        color: #3c8dbc;
        display: flex;
        align-items: center;
        gap: 5px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .color-swatch-container {
        display: inline-flex;
        align-items: center;
        margin-right: 10px;
        margin-bottom: 5px;
    }
    
    .color-swatch {
        width: 16px;
        height: 16px;
        border-radius: 50%;
        display: inline-block;
        border: 1px solid #ccc;
        box-shadow: 0 1px 3px rgba(0,0,0,0.2);
        vertical-align: middle;
    }
    
    .color-name {
        font-size: 10px;
        color: #333;
        margin-left: 5px;
        vertical-align: middle;
    }
    
    .price-item {
        display: flex;
        justify-content: start;
        margin-bottom: 8px;
        min-height: 24px;
        align-items: center;
    }
    
    .price-label {
        font-weight: bold;
        color: #555;
        margin-right: 5px;
    }
    
    .price-value {
        color: #3c8dbc;
        font-weight: bold;
    }
    
    .btn-google {
        background-color: #4285F4;
        color: white;
        border-color: #357ABD;
        padding: 10px;
        font-weight: bold;
    }
    
    .btn-google:hover {
        background-color: #357ABD;
        color: white;
    }
    
    .btn-tiktok {
        background-color: #000000;
        color: white;
        border-color: #000000;
        padding: 10px;
        font-weight: bold;
    }
    
    .btn-tiktok:hover {
        background-color: #222222;
        color: white;
    }
    
    .price-details .price-item, .color-details {
        padding: 10px 0;
        border-bottom: 1px solid #eee;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .price-details .price-item:last-child {
        border-bottom: none;
    }
    
    .price-details .price-label {
        font-weight: bold;
        color: #555;
        font-size: 15px;
    }
    
    .price-details .price-value {
        color: #3c8dbc;
        font-weight: bold;
        font-size: 16px;
    }
    
    #coloresDispositivo .color-swatch-container {
        display: inline-flex;
        align-items: center;
        margin-right: 10px;
        margin-bottom: 5px;
    }
    
    #coloresDispositivo .color-name {
        font-size: 12px;
        color: #333;
        margin-left: 5px;
        vertical-align: middle;
    }
    
    #contenedorDispositivos {
        overflow-y: auto;
        max-height: calc(100vh - 250px);
    }
    
    #contenedorDispositivos::-webkit-scrollbar {
        width: 10px;
    }
    
    #contenedorDispositivos::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 5px;
    }
    
    #contenedorDispositivos::-webkit-scrollbar-thumb {
        background: #3c8dbc;
        border-radius: 5px;
    }
    
    #contenedorDispositivos::-webkit-scrollbar-thumb:hover {
        background: #367fa9;
    }
    
    #modalCambiarImagen,
    #modalProductosAsociados,
    #modalAmpliarImagen {
        z-index: 1060 !important;
    }
    
    
    
    /* Estilos para el modal de productos asociados */
    #modalProductosAsociados .modal-body {
        padding: 15px;
    }
    
    #modalProductosAsociados .table-responsive {
        border: 1px solid #ddd;
        border-radius: 4px;
    }
    
    #modalProductosAsociados th {
        background-color: #f5f5f5;
        position: sticky;
        top: 0;
        z-index: 10;
    }
    
    #modalProductosAsociados .editable {
        background-color: #fff8e1;
        transition: background-color 0.3s;
    }
    
    #modalProductosAsociados .editable:focus {
        background-color: #fff1c2;
        outline: 2px solid #ffc107;
    }
    
    #modalProductosAsociados .pagination {
        margin: 10px 0;
    }
    
    #modalProductosAsociados .pagination > li > a {
        color: #3c8dbc;
        cursor: pointer;
    }
    
    #modalProductosAsociados .pagination > .active > a {
        background-color: #3c8dbc;
        border-color: #3c8dbc;
    }
    
    #modalProductosAsociados .pagination > li > a:hover {
        background-color: #e1e1e1;
    }
    
    /* Estilo para el botón de guardar cambios */
    #btnGuardarCambiosPrecios {
        display: none;
        margin-right: 10px;
    }